We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
HHVM instead of PHP5
HHVM instead of PHP5
Hi,
Have anyone success to use HHVM instead of PHP5 ?
Have anyone success to use HHVM instead of PHP5 ?
Re: HHVM instead of PHP5
I have.
Follow one of these installations:
https://github.com/facebook/hhvm/wiki/P ... s-for-HHVM
After you installed hhvm run:
/usr/share/hhvm/install_fastcgi.sh
After you executed the above command edit the file:
/usr/local/vesta/data/templates/web/nginx/default.tpl
And add above the:
the following code:
if you've done that run:
service hhvm start && service nginx restart
And then you're ready to run HHVM.
Follow one of these installations:
https://github.com/facebook/hhvm/wiki/P ... s-for-HHVM
After you installed hhvm run:
/usr/share/hhvm/install_fastcgi.sh
After you executed the above command edit the file:
/usr/local/vesta/data/templates/web/nginx/default.tpl
And add above the:
Code: Select all
location / {
proxy_pass http://%ip%:%web_port%;
the following code:
Code: Select all
location ~ \.(hh|php)$ {
fastcgi_keep_conn on;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME %docroot%$fastcgi_script_name;
include fastcgi_params;
}
service hhvm start && service nginx restart
And then you're ready to run HHVM.
Re: HHVM instead of PHP5
Hi ludalabs,
When I run commend in /usr/share/hhvm/install_fastcgi.sh, and It's shows :
I don't get it why HHVM can't configuration the fcgid either Nginx.
When I run commend in /usr/share/hhvm/install_fastcgi.sh, and It's shows :
Code: Select all
Checking if Apache is installed
Detected Apache installation
Looking for custom proxy configuration
No custom proxy configuration found
Checking for enabled proxy_fcgi.load
Not found
Checking for enabled fastcgi.load
Not found
Checking for enabled fcgid.load
Found, checking for loading directives
Detected enabled fcgid.load configuration, setting up integration
Force enabling module hhvm_fcgid.conf
WARNING: Unsupported hhvm_fcgid, not configuring
Restarting apache
Apache is running, restarting
Finished restarting
Finished restarting apache
Checking if Nginx is installed
Detected Nginx installation
Checking for custom Nginx configuration
grep: /etc/nginx/sites-enabled/: No such file or directory
Enabling hhvm Nginx module
sed: can't read /etc/nginx/sites-enabled/default: No such file or directory
/usr/share/hhvm/install_fastcgi.sh: line 170: /etc/nginx/sites-enabled/default: No such file or directory
Finished enabling module
Restarting Nginx
Nginx is running, restarting
Restarted nginx
Finished restarting Nginx