oknz
July 22, 2020, 1:23pm
1
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.”
Any ideeas?
Thank you.
ramin
July 22, 2020, 3:17pm
2
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…
Howdy all,
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…
Hi,
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…
1 Like
oknz
July 22, 2020, 3:33pm
3
Thank you, I was searching for the custom apache build in the repo
So that is why git repo does not work anymore?
ramin
July 22, 2020, 3:52pm
4
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.
Ilia
July 23, 2020, 1:31pm
5
There is a work-around though, if there is a great need.
ramin
July 23, 2020, 2:41pm
6
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.
system
Closed
August 22, 2020, 2:41pm
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.