Hi guys, I am receiving HTTP ERROR 500 for only PHP files. I tested this by deleting all my current files and uploading a basic PHP file containing just text and I still receive this error. It works fine for .html files but not .php. Any solutions? I have deleted my .htaccess file
I am running into the same problem myself. I tried adjusting the file permissions but to no avail. I last tried "5755". Do I need to investigate the posts dealing with .htaccess file? Did deleting the .htaccess file do the trick?
I think I found a temporary solution - I created a new .php file to my home directory and that worked. Before, I had created a nested subdirectory using File Manager. e.g. I created /pract/a/index.php ; My intent was just to go straight there just to house code practice pages. Nothing polished or public. Is that paramount to creating a "subdomain"? I may have violated some permissions doing that. I created a separate .php file in my root www directory and it worked. No, not index.php, or default.php; just a dummy.php name ;
- PHP files should have permissions of [ 0644 ] folders below folder [ public_html ] - that have PHP files in them- should have permissions of [ 0755 ] folder [ public_html ] should have permissions of [ 0750 ] ###