Click to See Complete Forum and Search --> : php+win98+apache 1.3.11: error 400?


Anon
02-02-2001, 06:55 AM
LS.

I have been browsing the forum for 1 hour now, and can't find the answer...

Here's the problem. I can't have PHP (4.0) running on Apache 1.3.11 on a Windows 98 machine. The problem is, as soon as i run a php document in a browser window, the www-server responds with a Bad Request Error (400).


Does anyone know what probable causes this can have? I'm pretty eager to get it running, and have had it running before, so i'm sure the package CAN work!

Some httpd.conf info included below

By the way, i'm only running the WWW server offline for php-testing, so i'm not concerned with security problems, Apache is always shut down when going online.


drm

-------------------------------->8-----------------------------------------

AddType application/x-httpd-php3 .phtml
AddType application/x-httpd-php3-source .phps

AddType application/x-tar .tgz
AddType application/x-httpd-php .php .php3

AddHandler cgi-script .cgi

Action application/x-httpd-php d:/apache/php/php.exe
--------------------------------8<-----------------------------------------

If you need more information to know what the problem is, please mail me

Anon
02-03-2001, 04:53 AM
I'm starting on PHP but I managed to run php 4.0, win98 and apache 1.3.12.

I'm no expert and turned it on at first try so I guess it should be easy!

Bye,

TC

ame12
02-04-2001, 06:26 AM
If you're having installation or stability problems with Apache, give BadBlue a try:

http://badblue.com/helpphps.htm

It can be downloaded, installed and configured for PHP in literally about a minute. Also has an option to run as a Win9X service.

Anon
02-04-2001, 08:54 AM
Take a look at
http://shanx.com/php/install_win32.txt

or get "PHP Triad" from www.sourceforge.net.

Hope this helps,

Anon
02-07-2001, 03:53 PM
The Clue is in your original post.

AddType application/x-httpd-php3 .phtml
AddType application/x-httpd-php3-source .phps

AddType application/x-tar .tgz
AddType application/x-httpd-php .php .php3

AddHandler cgi-script .cgi

Action application/x-httpd-php d:/apache/php/php.exe

All references to x-httpd-php3 should be x-httpd-php

You are running version 4 and not 3!