summaryrefslogtreecommitdiff
path: root/win32/install.txt
diff options
context:
space:
mode:
authorDaniel Beulshausen <dbeu@php.net>2001-04-27 17:48:11 +0000
committerDaniel Beulshausen <dbeu@php.net>2001-04-27 17:48:11 +0000
commitc1f4144665fffefada7980a0b1903a301eb86f10 (patch)
treea96407dfffda8adaa70b09c8b7abaeea820ccbb6 /win32/install.txt
parent1b279d34777d441dad613f86f513d5135582d104 (diff)
downloadphp-git-c1f4144665fffefada7980a0b1903a301eb86f10.tar.gz
add instructions for Netscape/iPlanet servers
Diffstat (limited to 'win32/install.txt')
-rw-r--r--win32/install.txt39
1 files changed, 38 insertions, 1 deletions
diff --git a/win32/install.txt b/win32/install.txt
index 303c094376..f1f07fd343 100644
--- a/win32/install.txt
+++ b/win32/install.txt
@@ -95,4 +95,41 @@ for example:
3. In the PWS Manager, right click on a given directory you want to add PHP
support to, and select Properties. Check the 'Execute' checkbox, and
confirm.
-4. At this point, PWS should have built-in PHP support. \ No newline at end of file
+4. At this point, PWS should have built-in PHP support.
+
+NETSCAPE SERVERS, PHP as CGI (for Netscape Enterprise Server, iPlanet, perhaps Fastrack..)
+1. Copy the php.ini-dist to your systemroot (the directory where you installed windows), and edit it to fit your needs
+2. Copy php4ts.dll to your systemroot (the directory where you installed windows)
+3. Make a file assocition from the command line (type the 2 following lines)
+ assoc .php=PHPScript
+ ftype PHPScript=d:\php4\php.exe %1 %*
+4. In the Netscape Enterprise Administration Server create a dummy shellcgi directory and remove it just after
+ (this step creates 5 important lines in obj.conf and allow the web server to handle shellcgi scripts)
+5. In the Netscape Enterprise Administration Server create a new mime type
+ (Category:type,Content-Type:magnus-internal/shellcgi,File Suffix:php)
+6. Do it for each web server instance you want php to run
+7. More details http://benoit.noss.free.fr/php/install-php.html
+
+
+NETSCAPE SERVERS, PHP as NSAPI (for Netscape Enterprise Server, iPlanet, perhaps Fastrack..)
+1. Copy the php.ini-dist to your systemroot (the directory where you installed windows), and edit it to fit your needs
+2. Copy php4ts.dll to your systemroot (the directory where you installed windows)
+3. Make a file assocition from the command line (type the 2 following lines)
+ assoc .php=PHPScript
+ ftype PHPScript=d:\php4\php.exe %1 %*
+4. In the Netscape Enterprise Administration Server create a new mime type
+ (Category:type,Content-Type:magnus-internal/x-httpd-php,File Suffix:php)
+5. Stop your web service and edit obj.conf
+6.1 At the end of the Init section, place this 2 lines (necessarely after mime type init!)
+ Init fn="load-modules" funcs="php4_init,php4_close,php4_execute,php4_auth_trans" shlib="d:/php4/sapi/php4nsapi.dll"
+ Init fn="php4_init" errorString="Failed to initialise PHP!"
+6.2 In The < Object name="default" > section, place this line necessarely after all 'ObjectType' and before all 'AddLog' lines!
+ Service fn="php4_execute" type="magnus-internal/x-httpd-php"
+6.3 At the end of the file, create a new object called x-httpd-php, by inserting this lines
+ <Object name="x-httpd-php">
+ ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
+ Service fn=php4_execute
+ </Object>
+7. Restart your web service and apply changes
+8. Do it for each web server instance you want php to run
+9. More details http://benoit.noss.free.fr/php/install-php4.html \ No newline at end of file