Ok… i’m a dumb.
=== Preamble ===
Yesterday a svn up updated my project with a massive number of changes.
The first thing was security schema that act as PHP/CGI protection, a sort of URL filtering (GPC) and some layer of extra security.
The new system required a totally new .htaccess but since I’m a very lazy programmer I used the same on my Windows-development machine. This .htaccess had AddHandler and Action commented so the project was instable. Why? Because from my panel the PHP version was the 4.x!
I didn’t noticed it and I supposed that something incompatible was with DreamHost server and my code. So i started handling PHP.ini and some other fine-tuning on my own code.
When I see the fault with .htaccess I correct this lovely-file and … and …
=== The trouble ===
I got php-js.cgi working but I noticed that all files was unreachable except the ones in the same folder of the website.
Yesterday i slept at 05:00am, not fine! Absolutely not fine. Today I started adding a lot of debugging code to my project: nothing.
=== The solution ===
After tons of top, kill, chgrp i realized that something wrong was with my script. But where? Just watching the php.ini I see a strange line that I forgot to remove. The line was:
The option was set because I was absolutely sure that i was running on PHP5, but in the fact I was with 4.x! ARGH!
Deleting that line solved everything. Now it’s time to