Submitted by DaveOverton on Thu, 12/08/2011 - 13:10 Pro Licensee
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
Submitted by andreychek on Thu, 12/08/2011 - 13:14 Comment #1
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?
Submitted by DaveOverton on Thu, 12/08/2011 - 15:21 Pro Licensee Comment #2
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.