PDA

View Full Version : Is PHP installed as an Apache module or CGI?



isis
05-02-2004, 10:33 AM
Which one is installed by default with DA?

Also does it include phpSuExec?

Protollix
05-03-2004, 12:11 PM
By default it is installed as module, thus no suExec support.

I have not investigated if there is an easy way to enable suExec in the custom apache build process (as I have not had to do that yet)

isis
05-04-2004, 11:59 PM
When you say you have not had to do that yet, do you mean that DA servers are already configured similar to suExec machines (e.g. CGI and PHP processes are already running as users rather than nobody, etc.)

Protollix
05-05-2004, 06:47 AM
No, it is configured to run as an Apache module, not a cgi.

What I meant was, DA provides an automatic Apache recompile script, which also recompiles PHP. I have not run this yet, so I do not know if this script asks you if you wish to build as a module or cgi. It might not ask, and just build the Apache module, but I don't know.