hhvm-repo icon indicating copy to clipboard operation
hhvm-repo copied to clipboard

Any plan on 3.10.1 prebuilt HHVM for Centos 7?

Open zoglun opened this issue 10 years ago • 15 comments
trafficstars

https://github.com/facebook/hhvm/wiki/Prebuilt-Packages-on-Centos-7.x

zoglun avatar Oct 24 '15 17:10 zoglun

Sorry I have moved on from HHVM. I forgot to remove this page.

@jrobeson, you want to take over this page. Or shall I remove it?

Thanks

paulm17 avatar Oct 24 '15 17:10 paulm17

there should be a prebuilt one, but untested at https://copr.fedoraproject.org/coprs/jrobeson/hhvm/

jrobeson avatar Oct 24 '15 19:10 jrobeson

Thank you!

zoglun avatar Oct 25 '15 01:10 zoglun

i always get 504 Gateway Timeout. i run hhvm via fastcgi using nginx Can you help me ?

efriandika avatar Oct 31 '15 02:10 efriandika

if it's a centos7 specific error , then probably not. I don't even have Centos7. If i can replicate it on Fedora 22 out of the box, then maybe.

jrobeson avatar Oct 31 '15 02:10 jrobeson

Ohh.. I Got it. My port (9001) is conflict with phyton. i would like to suggest you to keep use in hhvm port (9000).

Thanks @jrobeson :dancer:

efriandika avatar Oct 31 '15 02:10 efriandika

well in reality.. I'd like to switch it to use unix sockets by default, but it needs a patch on the hhvm side, because CentOS doesn't do the nice thing like debian does and have a shared webserver user like www-data

jrobeson avatar Oct 31 '15 02:10 jrobeson

if we used unix sockets, there'd never be a port conflict.

jrobeson avatar Oct 31 '15 02:10 jrobeson

Greatt!.. :D

but, I get next problem now.. it always return 404 File Not Found in my nginx.. :( i use your config file from hhvm-nginx

efriandika avatar Oct 31 '15 02:10 efriandika

my config doesn't change anything in the main nginx config . so you still have to write something in there. Just try with a plain html file.

jrobeson avatar Oct 31 '15 02:10 jrobeson

Could you help me? :(

server {
        server_name efriandika.com www.efriandika.com;
        listen 128.199.162.203 default;
        listen [2400:6180:0000:00D0:0000:0000:046E:7001] default ipv6only=on;

        root /home/efriandika/public_html;

        # include /etc/nginx/default.d/hhvm.conf;

        index index.php index.hh index.html index.htm;
        location ~ \.(php|hh)$ {
            try_files $uri =404;
            fastcgi_intercept_errors on;
            fastcgi_index index.php;
            include fastcgi_params;
            fastcgi_param SCRIPT_FILENAME /home/efriandika/public_html$fastcgi_script_name;
           fastcgi_pass hhvm;
        }

    }

is it wrong config ?

Thnks you very much bro..

efriandika avatar Oct 31 '15 02:10 efriandika

please try to make a regular html page work first.

jrobeson avatar Oct 31 '15 03:10 jrobeson

It works with the html regular file.

I have solved this problem. It caused by permission of doc root. i use virtualmin, and doc root is /home/someuser/public_html hhvm cannot access to the doc root, so by changing hhvm user or change permission can solve this problem

i'm sorry before.. my english is bad.. :dancers: :D

efriandika avatar Oct 31 '15 03:10 efriandika

sounds like you knew enough english to get the job done. good luck!

jrobeson avatar Oct 31 '15 03:10 jrobeson

Sounds great if you build hhvm with unix sockets. so, this small problem will not happen for virtualmin's user and the other.

Thanks you so much.. :D Your package is very usefull

efriandika avatar Oct 31 '15 03:10 efriandika