After changing anything in the regestry database (regarding PWS) you need to stop and 
start all PWS servises. it is not enough to stop and start the web server. The easiest 
way on Win 98 would be to reboot the system.

The regestry database is only read when the service starts.


You dont need to edit the registry manually. You should be able to double-click on the 
reg file you edited to match yor system and it willl be installed in the database.

You dont need to copy any php files to windows\system32. It is ok to keep all php 
files in e:\php4, execpt for php.ini. This way it is easier to update.

- Frank

> Hi,
> The reason I'm mailing is because I can't get PHP 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
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> 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]
> 
> 
> 




-- 
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