php.ini
Submitted by Bram Schoenmakers on 27 May, 2009 - 09:35.
I tried to create a local API reference of the Zend Framework on our local network, with the PhpDocumentor tool. However, along the process it stops with the following error:
FAILED: Bad environment variable: $PHP (set to "/usr/bin/php")
Submitted by Bram Schoenmakers on 22 November, 2007 - 22:25.
While upgrading the PEAR port from 1.6.2 to 1.6.2_1 in FreeBSD, I got the following error:
Submitted by Bram Schoenmakers on 25 October, 2007 - 11:42.
On a webserver where suexec is active, each website has it's own php-cgi wrapper. The contents are quite simple:
#!/bin/sh
exec /usr/local/bin/php-cgi
exec /usr/local/bin/php-cgi
Unfortunately, since PHP runs in CGI mode and not as an Apache module, overriding PHP settings is not possible within a .htaccess file. But there's another way of doing this.