akreider2
07-08-2009, 03:17 PM
PHP only works in some directories on my (Centos) VPS.
When it doesn't work, it gives me the Apache "Internal Server Error" page.
PHP 5.2.5
Apache 1.3.41
I have a test.php file that does echo "test". It has permissions 0755.
It works in my public_html/map/ subdirectory (0755). But doesn't
work in the main public_html directory (0755).
Both directories have the same php.ini file.
The server is not hitting any resource limits.
The .htacces file isn't the problem (removing it didn't improve matters).
What could the problem be?
When it doesn't work, it gives me the Apache "Internal Server Error" page.
PHP 5.2.5
Apache 1.3.41
I have a test.php file that does echo "test". It has permissions 0755.
It works in my public_html/map/ subdirectory (0755). But doesn't
work in the main public_html directory (0755).
Both directories have the same php.ini file.
The server is not hitting any resource limits.
The .htacces file isn't the problem (removing it didn't improve matters).
What could the problem be?