PHP
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:  •    •    •    •    •    •  

QMail is quite a challenge to set up right, this will take you hours if you don't install it on a weekly basis. When you closed all holes from the outside to prevent acting like a open relay, there is the security on the localhost itself. It happened a few times already that a PHP script had an impromper loop condition which had a mail() call inside. This will guarantee you for having 10.000s of mails in your queue. Or think of a leak in a contact form abused by spammers.

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.

Tagged:  •  

After a login attempt at the Squirrelmail page I got the following error:

Could not create initial preference file!
/var/spool/squirrelmail/pref/ should be writable by user httpd
Please contact your system administrator and report this error.
Syndicate content