Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
Search found 2 matches
- Fri Oct 31, 2014 1:30 pm
- Forum: Web Server
- Topic: HHVM instead of PHP5
- Replies: 2
- Views: 6382
Re: HHVM instead of PHP5
I have.
Follow one of these installations:
https://github.com/facebook/hhvm/wiki/Prebuilt-Packages-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 ...
Follow one of these installations:
https://github.com/facebook/hhvm/wiki/Prebuilt-Packages-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 ...
- Mon Jun 02, 2014 3:27 pm
- Forum: Modification & Patches
- Topic: [Tutorial] CronJob Prevent Email
- Replies: 0
- Views: 4659
[Tutorial] CronJob Prevent Email
File: /usr/local/vesta/web/add/cron/index.php
Find:
$v_cmd = escapeshellarg($_POST['v_cmd']);
Replace with:
$v_preventemail = isset($_POST['v_preventemail']);
$v_cmd = escapeshellarg($_POST['v_cmd'] . ($v_preventemail ? ' &> /dev/null' : '' ));
File: /usr/local/vesta/web/templates ...
Find:
$v_cmd = escapeshellarg($_POST['v_cmd']);
Replace with:
$v_preventemail = isset($_POST['v_preventemail']);
$v_cmd = escapeshellarg($_POST['v_cmd'] . ($v_preventemail ? ' &> /dev/null' : '' ));
File: /usr/local/vesta/web/templates ...