Click to See Complete Forum and Search --> : PHP Problems


Banjo
04-04-2003, 05:57 PM
I've installed PHP4 on my aAache server, and whenever I try to access a php document, i get the following error:

Bad Request
Your browser sent a request that this server could not understand.
Invalid URI in request GET /test.php HTTP/1.1

Anyone know why this is happening and how I can fix it? :confused:

Rune
04-04-2003, 07:21 PM
Did you get through the install procedure and test it with a test.php page that gives you this?:

http://www.wowwebdesigns.com/power_guides/killer_trio_images/phpinfo.gif

Also, did you add "index.php" to the following line in the httpd.conf file?:
DirectoryIndex index.html index.html.var index.php

If you're still having problems, give this tutorial a shot. It's the only one I've found that works if you follow everything step by step:

http://www.wowwebdesigns.com/power_guides/killer_trio_part_2.php

Banjo
04-04-2003, 07:48 PM
Thanks! Got it going :)