note 20700 added to installation
| From: | php-general at lists dot php dot net | Date: | Fri, 12 Apr 2002 22:34:10 +0000 |
| Subject: | note 20700 added to installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-29180@lists.php.net to get a copy of this message | ||
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.
--
http://www.php.net/manual/en/installation.php
http://master.php.net/manage/user-notes.php?action=edit+20700
http://master.php.net/manage/user-notes.php?action=delete+20700
http://master.php.net/manage/user-notes.php?action=reject+20700