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
- Follow-Ups:
- Re: Automatically adding #! to all PHP scripts
- From: Keith Roberts
- Re: Automatically adding #! to all PHP scripts
- Prev by Date: Memory Issue
- Next by Date: Re: Automatically adding #! to all PHP scripts
- Previous by thread: Memory Issue
- Next by thread: Re: Automatically adding #! to all PHP scripts
- Index(es):