Submitted by denisr on Sat, 10/06/2018 - 10:40
After removing default php54 and install PHP72 from remi, I got a file: /etc/httpd/conf.d/php72-php.conf which containt this things
<FilesMatch \.(php|phar)$>
SetHandler application/x-httpd-php
</FilesMatch>
which breaks FCGi in virtualmin, so it start to output php source file.
If you have this issue, you must comment this 3 lines.
Proposal to developers of Virtualmin - please comment it automatically while virtualmin check-config (Re-Check configuration), like you has in old php.conf from php54.
Status:
Active
Comments
Submitted by JamieCameron on Sun, 10/07/2018 - 01:57 Comment #1
We do comment these out, but only during the Virtualmin install process - the config check intentionally doesn't make any config changes.
Submitted by andreychek on Sun, 10/07/2018 - 07:46 Comment #2
Also note that we've experienced issues when using the REMI repo... the only third party repo we recommend is the SCL repo. Details for installing packages from it are available here:
https://www.virtualmin.com/documentation/web/multiplephp
Submitted by denisr on Sun, 10/07/2018 - 09:56 Comment #3
Where are the list of issues with REMI ?
Submitted by andreychek on Sun, 10/07/2018 - 10:31 Comment #4
We see a number of stability and configuration issues when using third party repositories... the only one we feel works in a stable and predictable way for a Virtualmin environment, is the SCL repo.
If you have additional questions, as it looks like you're using Virtualmin GPL there -- it's no problem to get support, but you'd want to use the Forums for asking questions. We monitor the Forums, along with lots of wonderful folks in the community. Thanks!