Click to See Complete Forum and Search --> : Badly needing help with my installation/configuration(nt 4.0, apache 2.0.39)!?!?!


jmccann
09-03-2002, 12:45 PM
This is my first post made out of frustration and desperation. I have not been able to find any help with how i can troubleshoot this issue. I have installed php manually on my machine. I have gotten so far as that when i run "php -i" from the windows command prompt i get all the html garble that tells me php is running correctly. When I try to run the test script from my browser I get the error 500 message with a premature header. I have no idea how to troubleshoot this error. I checked the http.conf and php.ini files and everything looks good. I also cant find any detailed help online after hours of searching. Where do I start, what do I check? Any help is graciously appreciated.

Im running NT4, Apache 2.0.39, latest version of php.

jerdo
09-03-2002, 03:21 PM
First thing to do is reboot. Then create a file called test.php (or something) that contains this:
<?php
phpinfo();
?>
If this shows ok then you have the server set fine and just have an error in your file. If it doesn't show that means your apache/php setup has a flaw somewhere. This will just help narrow the scope of your troubleshooting.

jmccann
09-03-2002, 04:37 PM
ok i found the problem and thought i would put up the info in case anyone else has it happen. in the php.ini file i needed to change the doc_root parameter. by default it was set to point to the "\apache" directory but when i installed apache it created the directory "\apache2". so after about 10+ hours i added the 2 and everything works!