php.ini
Tagged:  •    •  

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")
Tagged:  •    •    •  

While upgrading the PEAR port from 1.6.2 to 1.6.2_1 in FreeBSD, I got the following error:

Tagged:  •    •    •  

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

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.

Syndicate content