I have upgraded my php from 5.3.3 to 5.4.45.
After the install, the server still served up html, but merely downloaded php scripts to my client machine.
I think I have narrowed down the issue, but I need help from this community.
I have found that switching Virtualmin/Server-Configuration/Website-Options/PHP script execution mode from the Virtualmin default of “FCGId” to “Apache mod_php (run as Apache’s user)” will allow the script to be run, even though it only serves up a blank page.
The approach I would prefer to take would be to use the Virtualmin default of “FCGId”. I suspect the php is producing blank pages due to some permissions error, and using the permissions structure created by the original Virtualmin virtual server install would bypass the need to reset permissions manually. (Ugh.)
Can you please let me know what the issue with FCGid might be? (ie. What the code should look like, and where in the Virtualmin system it should be located?)
System deets:
CentOS release 6.9 (Final)
2.6.32-696.1.1.el6.x86_64
PHP Version 5.4.45
Let me know if you need more info.
Thanking you in advance.