Novice PHP install: WinNT/WebSitePro
| From: | Dale McDiarmid | Date: | Fri, 12 Sep 2003 19:13:25 +0000 |
| Subject: | Novice PHP install: WinNT/WebSitePro | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-11865@lists.php.net to get a copy of this message | ||
Hello...
Trying www.mysite.com\forums\script.php gets me the "Security Alert! The PHP CGE cannot be accessed directly."
WinNT4SP6 with Visnetic(O'Reilly) WebSite Pro 3.5
-Unzipped the php-4.3.3-Win32 and copied the contents to c:\php
-Copied the php.ini-dist to c:\Winnt and renamed it php.ini (only one php.ini file on server)
-Copied php4isapi.dll to c:\winnt\system32
-Copied php4ts.dll to c:\winnot\system32
-include_path = ".;c:\php\includes"
-extension_dir = "c:\php"
-cgi.force_redirect = 1
-cgi.recirect_status_env = "yes"
-In WebSitePro | Mappings, set association .php to c:\php\php.exe, and Content Types set .php to wwwserver/shellcgi
-From command prompt c:\php>php.exe -i, I do not get an error. I get userdomain, username, userprofile and other info.
Any suggestions?
Thx,
D.