Keywords: General - Windows - How to - OtherDescription: As Title mentioned I have a .php file and i cannot get it to run, I placed it into "..../apache2/htdocs/" and attempting to use localhost/myfile.php returns a HTTP Error 500
Have you checked if the PHP file has syntax errors?
php -l myfile.php
Apart from that, the error_log file of Apache (installdir/apache2/logs/)should show the error message when trying to open that file, could you please check it?
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.