500 Error Due to PHP
|
07-13-2011, 11:30 PM
Post: #1
|
|||
|
|||
500 Error Due to PHP
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. |
|||
07-13-2011, 11:45 PM
Post: #2
|
|||
|
|||
RE: 500 Error Due to PHP
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/
|
|||
07-13-2011, 11:51 PM
Post: #3
|
|||
|
|||
RE: 500 Error Due to PHP
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!
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)