View Full Version : PHP Not Working in a Single Directory

09-18-2009, 07:40 AM
For some reason a few minutes ago my PHP stopped being interpreted, but only in one directory (and its subdirectories). In all other directories it seems to be working fine. Also, HTML in the troubled directory still displays. On pages with a mix of HTML and PHP the output just stops once a <?php ...?> tag is hit.

There was a (seemingly harmless) .htaccess file in that folder, but I deleted it and still nothing.

I am running XAMPP on a Mac.

Any ideas? I'm about to throw my computer through the window.


09-18-2009, 10:53 AM
If output has stopped at <?php, probably you have an error there but the error output is suppressed.

I would add the following lines at the very top some of the scripts which contains PHP code and which stopped working:


Of course you would need to comment or remove these lines in the Production environment when debugging is over.