Re: [PHP-INSTALL] Automatically adding #! to all PHP scripts

2007-07-03 Thread Keith Roberts
Something like this may do it. *** from php.ini auto_prepend_file string Specifies the name of a file that is automatically parsed before the main file. The file is included as if it was called with the include() function, so include_path is used. The special value none disables aut

[PHP-INSTALL] Automatically adding #! to all PHP scripts

2007-07-03 Thread Jesse Santana
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

[PHP-INSTALL] PHP Installation problem

2007-07-03 Thread Omer Korner
Hello, I'm having a problem while installing PHP 5.2.3. ../configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --disable-cgi Outputs the debug log attached, and I do not know how to solve this error. Regards, Omer Korner CONFIGURE: './configure' '--with-apxs2=/