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?



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to