newbie needs help setting up PHP4 with win98 SE and PWS

From: Date: Wed, 18 Apr 2001 21:03:22 +0000
Subject: newbie needs help setting up PHP4 with win98 SE and PWS
Groups: php.windows 
Request: Send a blank email to php-windows+get-6842@lists.php.net to get a copy of this message
Hi, The reason I'm mailing is because I can't get PHP4 to work! Here are the specifics, AFAIK, of my situation. - OS is win98 SE - PHP version 4 - installed MS PWS via the NT 4 option pack steps followed 1. Unpacked the PHP4 distribution successfully to e:\php4 2. copied the proper ini file to c:\windows and renamed to php.ini 3. edited php.ini as follows include_path = f:\phpstuff ; where i'll store my php scripts! doc_root = user_dir = f:\phpstuff extension_dir = e:\php4\ enable_dl = On 4. checked the windows\system directory and found "mscvrt.dll", so I just copied "php4ts.dll" to c:\windows\system 5. edited the appropriate .reg file in \php4\sapi. Since I intend to use php.exe with pws the line is [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Sc ript Map] ".php"="E:\\PHP4\\php.exe" 6.THIS I'm not sure of. I ran regedit.exe and navigated to the above location, I.e. "hkey_local_macine...\script Map" and then created a string value ".php"="E:\\PHP4\\php.exe" 7. finally loaded PWS manager and in the 'advanced' section selected "f:\phpstuff" and set execute permission on. By all aacounts I must have php support via PWS right? So I created 2 copies of the same file in f:\phpstuff ===== <html> <?php echo("hello world"); ?> </html> ===== files are "1.htm" and "1.php" (contents are same) - made sure PWS was running - Loaded internet explorer 5.5 loaded "1.htm" and got a blank page with the exact same source code! - tried "1.php" and got a dialog asking what APP to associate with .php extension? Where have I gone wrong? Your help would be greatly appreciated. Regards RJ

« previous php.windows (#6842) next »