Date: 06/29/00
- Next message: Scott Fagg: "[PHP-INST] php + ldap"
- Previous message: Barry Brown: "[PHP-INST] Install of PHP4, DSO, and several extensions under Solaris 7"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have been trying to get PHP4 working on PWS running on NT4 (SP5) without
success.
I have:
- copied all the files to C:\Program Files\PHP
- copied php.ini-dist to C:\WINNT\php.ini
- copied all dlls to C:\WINNT\SYSTEM32
- Added to my registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Script
Map
name = .php
data = "C:\Program Files\PHP\php4isapi.dll"
- Added a virtual directory in PWS with Execute checked.
At this point PWS does not seem to have the "built-in PHP support" promised
by the installation instructions.
.php pages are returned to the browser without preprocessing.
So I edited the php.ini file lines:
doc_root =D:\Inetpub\wwwroot ; yes its on drive D
extension_dir =C:\Program Files\PHP
Then I added to my registery:
HKEY_CLASSES_ROOT\.php
name = (Default)
Data = "phpfile"
HKEY_CLASSES_ROOT\phpfile\Shell\open\command\
name = (Default)
Data = "C:\PROGRA~1\php\php.exe -q %1"
And still no preprocessing in PWS.
I can run php successfully to process my test file from a DOS command line.
But through the browser I just get the page without modification.
I am accessing my test page through my personal web server (not from a file)
and have no problem running perl scripts in the same directory. (perl has a
nice one-click install by the way).
So now I don't know what to try next.
I am new to PHP and it looks like just what I need but my first impression
is
Is installing PHP3 a pre-requisite for PHP4 ?
Please somebody suggest something I can try to get this working.
Adam.
-- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-install-unsubscribe <email protected> For additional commands, e-mail: php-install-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Scott Fagg: "[PHP-INST] php + ldap"
- Previous message: Barry Brown: "[PHP-INST] Install of PHP4, DSO, and several extensions under Solaris 7"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

