colin olkowski wrote:
> 
> hi all,
> 
> my question is this, how would one install PHP4 as a module and as a cgi?
> 
> somewhere in the install notes for php4 (redhat) the docs clearly say do not
> install both, yet my old hosting company was able to do it.
> 
> btw, i just moved from the world of virtual hosting on a FreeBSD box to my
> own RedHat server.
> 
> is this a linux vs. freebsd issue?

No. I've had php3 running as both, anyways...
It does require some work on the httpd.conf file.

You have to set the directives properly for the directory containing the
php dependant upon wether you want cgi to handle it or php to handle it.

I have to ask, though, why would you want to run it as a cgi?

Its slower as cgi and runs more security risks.
I'd only run it as a cgi if that was my only choice.

It works very well as a DSO, I believe you can only use the Zend
Optimizer if its built as a DSO (I could be wrong on that)- I can't
think of why you want to.

> 
> colin olkowski - [EMAIL PROTECTED]
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-
Michael A. Peters
Abriasoft Senior Developer

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to