cvs: php4 /win32 install.txt

From: Date: Fri, 27 Apr 2001 17:48:12 +0000
Subject: cvs: php4 /win32 install.txt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-5336@lists.php.net to get a copy of this message
dbeu Fri Apr 27 10:48:12 2001 EDT Modified files: /php4/win32 install.txt Log: add instructions for Netscape/iPlanet servers Index: php4/win32/install.txt diff -u php4/win32/install.txt:1.2 php4/win32/install.txt:1.3 --- php4/win32/install.txt:1.2 Mon Apr 16 02:44:21 2001 +++ php4/win32/install.txt Fri Apr 27 10:48:11 2001 @@ -95,4 +95,41 @@ 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

« previous php.cvs (#5336) next »