note 20700 deleted from installation by betz

From: Date: Wed, 09 Jun 2004 21:46:54 +0000
Subject: note 20700 deleted from installation by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-70602@lists.php.net to get a copy of this message
Note Submitter: ---- This is how I easily set up PHP 4.1.2 with Sambar Server 5.0: 1.) I downloaded the smaller (920k?) CGI-only distribution and installed it. 2.) I then opened the Sambar System Administration page, (the default index.htm when Sambar is installed) went to System Configuration, and scrolled down to CGI Extensions. 3.) In the box, I added *.php, and updated the configuration. 4.) Then I opened c:\windows\php.ini, and turned off the cgi.force_redirect variable, since my PHP executable would not be accessable to the general public. 5.) Now all that needs to be done is add a "#!c:\PHP\php.exe" (change "c:\PHP" to whatever directory you installed the executable in) line to the beginning of each of your .php files. The Sambar server will recognize .php files as CGI files and execute them automatically due to the actions in steps 2 and 3. This is probably not the most optimized way to run PHP, but it works fine for me.

« previous php.notes (#70602) next »