You need to add the following lines to the apache httpd file make sure you have set the dir that you have php in and not just add what is here.. also i noticed under Win98 SE i needed to add the 2 files into the system and system32 folder for php to work with out crashing my system you might want to try this as well.....
to run as a module in apache
LoadModule php4_module c:/php/sapi/php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php
or to run as cgi use
ScriptAlias /php/ "c:/php/" AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php.exe"
Before installing as CGI read the docs on http://www.cert.org/advisories/CA-1996-11.html
your best bet is it install as a module it is the way most people use php
Dean "The Insane Guy" Hayes Mystical Web Designs http://www.mystical-sector.com
<-- I design and i redesign but still i never designed true beauty like you -->
From: "Muhammad Imran" <imran@sdpi.org> To: <php-windows@lists.php.net> Subject: [PHP-WIN] installation problem in win98 system Date: Tue, 12 Aug 2003 05:21:29 +0500
Dear Professional,
I have try to install Apache 1.3.22 and PHP 4.3.2 on my win98 system. First I have edit the "php.ini" file as
doc_root ="c:\phpweb" //my folder where .php files will be placed.
extension_dir = "c:\php4win" // php4win is my folder, where i have install my php
and copy these two files in c:\windows directory.
In Apache conf.httpd file I have make changes as
DocumentRoot "C:/phpweb".
But despite of all these changes, when I excess any my php files, php file not complile and code looks as they typed. Please help me, I will very thankful.
Thank you, Imran
_________________________________________________________________
ninemsn Extra Storage is now available. No account expiration - no need to worry about losing your Hotmail account. Click here http://join.msn.com/
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php