In this post, I will tell you how you can upgrade to PHP-fpm on an existing server with Apache. To make it easier, I wrote a script for centos 6.7.

First install PHP-FPM with the Vesta config files.

Edit the Vesta config file.

Edit vesta domain config files (templates).

Remove existing config files (/home/username/conf/web/)

Rebuild users

Remove apache

Tip:�First take backups of your configuration files!After the upgrade, I noticed that PHP version has been decreased from 5.4 to 5.3. phpMyAdmin and RoundCube also stopped working.I have PHP upgraded to 5.6 and reinstalled phpMyAdmin and RoundCube.

Attention! This does not always work correctly. There may be a lot of bugs. Run at your risk. First take backups !!

thebestblackh
Reviewed by thebestblackh on
22nd May 2016.
VestaCP upgrade instructions for apache to php-fpm CentOS - KWWHOSTING.COMIn this post, I will tell you how you can upgrade to PHP-fpm on an existing server with Apache. To make it easier, I wrote a script for centos 6.7.
First install PHP-FPM with the Vesta config files.
Edit the Vesta config file.
Edit vesta domain config files (templates).
Remove existing config files (/home/username/conf/web/)
Rebuild users
Remove apache
Rating: 5