NOTE: please skip to comment #3 - i've started over again with a complete fresh install. Thanks.
Hi, I've been trying to upgrade the version of PHP-FPM to v7.0 or preferably v7.2.
I started by uninstalling PHP 5.4.16 (default version bundled in Virtualmin), then
yum install rh-php70-php-fpm, but all I got in the virtual server was server error 503. Tried to debug but didn't really get very far.
So I searched the internet and the forums for answers and came across a post which suggested running the following command..
virtualmin modify-web --mode fcgid --all-domains
Which I don't think I should have run!
Now when I do
virtualmin check-config I get
PHP-FPM support was not detected : No FPM configuration directory found.
systemctl status rh-php70-php-fpm shows that it is active and running, so I'm guessing I deleted some config somewhere.
First, I guess I need to fix the missing config issue, as currently I can't select PHP-FPM as the execution mode on the VS.
Then, I guess I need to try and work out why the 503 error was being thrown.
Can anyone help me try and restore the correct config for php-fpm, and possibly even help me install php-fpm v7.2 please rather than 7.0?
Thanks in advance.