Confused on how PHP is run by default in Virtualmin GPL

I can’t seem to figure out how PHP is being executed by default in Virtualmin GPL.

The permissions for the php files are 750, and apache is able to read them. However when running an infinite loop PHP script to check how it is being executed, I see no processes being ran by the owner of the script.

Help!

By default, Virtualmin GPL uses mod_php.

Only Virtualmin Pro uses suexec out of the box.

Virtualmin GPL can use suexec to change the users who execute the scripts, but you’ll need to set that up manually – you can read about how to do that here:

http://www.virtualmin.com/node/8462