RE: [PHP] how to change from php Apache module to php CGI?

From: Date: Sun, 18 Mar 2001 09:35:49 +0000
Subject: RE: [PHP] how to change from php Apache module to php CGI?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-44431@lists.php.net to get a copy of this message
If you can't modify apache to do what you need, you could always write a perl script to open up every file named *.php and add the line to the top....it wouldn't be that hard, especially if you have any experience with perl... -----Original Message----- From: Chris Chan [mailto:chris@hkseek.com] Sent: Sunday, March 18, 2001 4:34 AM To: php-general@lists.php.net Subject: [PHP] how to change from php Apache module to php CGI? I need the suexec feature. so i recompile the php4 to cgi. but i have hundreds of php scripts under the existing web site. it's not a easy task to add the line #!/usr/local/bin/php to each php file. Anyone know is there any easy way to configure the httpd.conf without modify hundreds of php files? Thanks in advance ---- Chris Chan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#44431) next »