Hello, I operate a site using an Apache server. I have tried to install and change joomla cms and I think I accidently ruined some things their. Now the situation is that no php file can be opened in a subfolder, while it works fine in the root folder. meaning, if I open a folder called test01, and create a file test.php, it won't work, it will show - 500 Internal Server Error (with the number 257 above). but if the file is in the root, it will work fine. Does anybody have any idea what is the problem and how can I solve it? Thank you.
Has the server got suphp/suexec enabled? Either way, what are the permissions of the folders in which the php files won't work, and what are the permissions of your files that do and don't work? It could simply be a permission error.
What is suphp/suexec and where can I check it? I have setted the permissions, all of them, just to be sure, to 777. how can I check if it is a .htaccess error? and how to solve it? Thanks.
OK, try setting the folders permissions to 755. If suphp/suexec is installed, that would be the error, since they don't require you to have the folders at 777 (which is a security risk).
Also check File Handlers. Make sure .php file handler is not being overwritten in a .htaccess statement.