Automatically adding #! to all PHP scripts

From: Date: Tue, 03 Jul 2007 19:12:26 +0000
Subject: Automatically adding #! to all PHP scripts
Groups: php.install 
Request: Send a blank email to php-install+get-18105@lists.php.net to get a copy of this message
I have just finished installing Apache 2.2.4 and PHP 5.2.2 on a Solaris 10 machine. I've compiled PHP to run as a CLI to take advantage of Apache's suexec feature. Everything appears to work just fine but requires me to add in a #!/usr/local/php5/bin/php to all my PHP scripts in order to get them to execute properly. Is there a way to get this added into my PHP scripts automatically? A php.ini variable perhaps? Jesse Santana Project Lead - Enterprise Services Group Information Technology Services California State University, Long Beach 1250 Bellflower Blvd. Long Beach, CA 90840 Office: (562)985-8511 Fax: (562)985-8855

« previous php.install (#18105) next »