[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

/usr/lib/cgi-bin/php4 ?



Was looking over a new server install and I see:

php4-cgi for DEBIAN
----------------------

This package contains both runtime and cgi versions of php4.

php4-cgi and apache
-------------------

If you want to use php4-cgi in apache
1) activate mod_action
2) add
Action application/x-httpd-php /cgi-bin/php4
   into apache config file

Problem with php4-cgi
---------------------

Q: PHP Fatal error: Unable to start session mm module in Unknown on line 0

A: Remove /tmp/session_mm.sem or give access permission to the user running php4.


Wouldn't having the php4 binary in the CGI-BIN be as dangerous as having the Perl binary there ?
What be the advantage of having enabled php4-cgi anyway?


???
-Sx-
_________________________________________________________
"Well, in general, the thing I don't like about other
computer languages is that they're not Perl." -Larry Wall



Reply to: