Virtualmin / Server Configuration / Website Options / PHP Script Execution Mode

The options under the "PHP Script Execution Mode" on the GPL version leave out "Apache mod_php (run as Apache's user)" which means you can't revert the change to FCGId.
Even though I may be the only person in the world that ever does it, I had to manually remove the suexec from the httpd.conf file, and now the server validate tool is angry at me :) BTW, FCGId without suexec works fine.

Status: 
Active

Comments

Howdy -- well, it should only leave that option out if it doesn't think mod_php is available on your system.

Is mod_php one of the modules being loaded into Apache on your system?

okay, went the wrong way with the bug report.

mod_php isn't loaded, so the bug isn't that. This part of httpd.conf handles php

AddHandler fcgid-script .php
AddHandler fcgid-script .php5
FCGIWrapper /usr/local/home/fcgi-bin/php5.fcgi .php
FCGIWrapper /usr/local/home/fcgi-bin/php5.fcgi .php5

so it works correctly.

The bug is in "virtualmin/Limits and Validation/Validate Virtual Servers"

The error shows up after validate: "Apache website : PHP is configured to run as the domain owner, but SuExec is not enabled!"

FCGId apparently doesn't require SuExec, so the domain should validate correctly (its working just fine), and I should be able to turn off SuExec on the original screen.