Click to See Complete Forum and Search --> : PHP installation doesn't work


michibk
03-13-2004, 12:29 PM
Hi,
I have mysql, apache 1,3,x and php 4.x.
i installed apache and everything worked properly.
i installed php, copied php.ini to c:/winnt and php4ts.dll to
c;/winnt/system32.
I edited smoothly in the http.conf file:
LoadModule php4_module c:/php/sapi/php4apache.dll
and apache started without error - but php code wasn't interpreted. i edited AddModule mod_php4.c and AddType application/x-httpd-php.php
and when starting apache i get the error
Module mod_php4.c is already added
and AddType requires at least two aruments ....

I have an older versaion of php. an older version of apache and an older version of mysql running on my desktop.

i am trying to install newser versions on my compaq armada 1700
laptop with win2000 and received this error messages? what i am doing wrong?

please help ---


mike

xphoenixx
03-14-2004, 08:57 AM
"AddType application/x-httpd-php.php"

AddType DOES require 2 arguments.

needs to be this:
AddType application/x-httpd-php .php
note the 2 spaces in the above line

michibk
03-15-2004, 06:04 AM
thank you very much for this. it was the blank!

mi