WebPagetest Forums
500 Error Due to PHP - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: 500 Error Due to PHP (/showthread.php?tid=922)

500 Error Due to PHP - ebo488 - 07-13-2011 11:30 PM

When I place this code in my httpd.conf file in order to connect apache with php i keep getting a 500 server error.

LoadModule php5_module "c:/php/php5apache2_2.dll"

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
PHPIniDir "C:/php"

If i were to remove the last line "PHPIniDir "C:/php"" then the server returns a blank white screen but the tab says webpagetest.

Also, I am positive that my php.ini file is in the C:/php directory.

RE: 500 Error Due to PHP - pmeenan - 07-13-2011 11:45 PM

Did you check you error logs to see if there is anything useful in there? Since it looks like you're on windows, you might want to look at WAMP which is an installer that has apache, php and mysql all bundled and configures them automatically: http://www.wampserver.com/en/

RE: 500 Error Due to PHP - ebo488 - 07-13-2011 11:51 PM

Issue Solved, for some reason copying over new files form www in webpagetest fixed the issue. Thanks and I think I will check out wamp!