Automatically adding #! to all PHP scripts

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




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

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux