error mesage -configure php on wind98 +apache1.3
| From: | p13zo | Date: | Thu, 20 Dec 2001 17:22:33 +0000 |
| Subject: | error mesage -configure php on wind98 +apache1.3 | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-11060@lists.php.net to get a copy of this message | ||
i cant configure php to work on my window98 +apache 1.3
i stop apache and edit httpd.conf with notepad and add this line (i read
this on some tutorial books) ;
#for the apache module
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php.php4
#for the cgi binary (you can use that one compiled with force cgi redirect
too)
ScriptAlias /php4/ "C:/php/"
Action application/x-httpd-php4 "/php4/php.exe"
AddType application/x-httpd-php4.php
*please note that i dont have any clue on writing a php code, so i just type
anything the book suggest. so it could be a misstype.
anyway, i put those line after the last line of the codes inside httpd.conf.
then i move php4ts.dll to c/windows/system and copy php.ini-dist into
sysroot C:/windows/ and rename it php.ini
when done, starting apache came up with this error;
Syntax error on line 1035 of c:/apache/conf/httpd.conf:
AddType requires at least two arguments, a mime type followed by one or mo
e extensions
any idea what i did wrong?