About a week ago, I was doing some upgrades on my development machine and came across a rather nasty issue when it comes to how .php(s) files are associated with PHP in Apache.
It seems that a number of distros including Gentoo (which is what I was using) are using the following configuration directive to make the PHP module parse PHP files:
<IfModule mod_mime.c>
AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php-source .phps
</IfModule>
The non-obvious problem...
Ilia Alshanetsky's Blog: Beware of the default Apache...
Ilia Alshanetsky has a suggestion for those setting up PHP and Apache2 for the first time - beware of the default configuration! About a week ago, I was doing some upgrades on my...
PHPMaster.com: MongoDB Revisited
In this new post to PHPMaster.com today Ahmed Shreef continues on from his previous introduction to MongoDB and gets into more detail on things like cursors, query operators, queries on...
PHPMaster.com: Introduction to PhpDoc
On PHPMaster.com today there's a new post from Moshe Teutsch about working with docblock comments in PHP scripts and how to use the phpDocumentor tool to generate the documentation from...
Post new comment