Current time: 12-19-2017, 06:23 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.
Find all posts by this user
Quote this message in a reply
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/
Visit this user's website Find all posts by this user
Quote this message in a reply
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!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)