PHP scripts run only in webroot directory,and return 500 error in other dirs

Posted by a44 on Server Fault See other posts from Server Fault or by a44
Published on 2011-03-19T13:51:26Z Indexed on 2011/03/19 16:11 UTC
Read the original article Hit count: 210

Filed under:
|
|

I have uploaded a folder with php scripts and they run only when they are in the webroot directory,Everytime i try to execute php script in some internal dir,i get internal server error,even if it works in the parent directory

EDIT:So,i it's apache 2 server,nothing is logged in my error log about the errors in the internal directory , permissions for php file and for the direcory are


-rw-r--r--    drwxrwxr-x

© Server Fault or respective owner

Related posts about php

Related posts about error