Just got the following error after running Virtualmin > Re-Check Configuration
“SuExec cannot be used to run PHP scripts in CGI or FCGId modes : The Suexec command on your system is configured to only run scripts under /var/www, but the Virtualmin virtual server home directory is /home. CGI scripts run as domain owners will not be executed.”
As long as you’re ok with PHP-FPM that message is more of an announcement than an error.
It’s better explained in older posts…
I’ve rolled out version 6.1.1 of the install.sh Virtualmin install script. This has some pretty big changes, and so it got a version bump (from 6.0.x to 6.1.x). It’s possible I broke older distros with my changes, but nothing showed up in my testing.
Anyway, this includes beta support for CentOS 8. I suspect you’ll probably still find problems, but nothing that can’t be worked around, if you are technically savvy and need to run Virtualmin on CentOS 8 today.
The biggest change in C…
We decided to drop support for custom Apache builds and thus. default Apache package from CentOS 8 repos compiled and hardcoded with suexec pointing to /var/www. There is nothing you should do really, just use FPM, it should cover all your needs, and it runs as server owner. Theoretically, mount binding /home to /var/www, could make things work but could require additional re-configuration.
How can I fix AWStats?
You can disable it in System Settings/Features and Plugins for now or ins…
Thank you, I was searching for the custom apache build in the repo
So that is why git repo does not work anymore?
I haven’t been using Virtualmin long enough to be familiar with its Git repos. AFAIK, Debian is the only supported distro offering custom Apache with suexec pointing to /home.
There is a
work-around though, if there is a great need.
PHP-FPM is all I need but that’s a clever hack worth bookmarking. Personally, I like the direction Virtualmin is going with Apache and CentOS.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.