Page 1 of 1
php installtion
Posted: Wed May 14, 2003 8:26 pm
by Lonewolf
hi im installing PHP onto my apache web server and i have to do it manually, the version of apache is 1.3. it says this you need to insert these lines to your Apache configuration file to set up the CGI binary:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php .phtml
Action application/x-httpd-php "/php/php.exe"
which file is my apache config file
Posted: Wed May 14, 2003 8:26 pm
by Lonewolf
and then where do my php files go
Posted: Thu May 15, 2003 1:33 am
by volka
a win32-system?
When you install apache you chose an installation path (
c:\program files\apache group\apache is default IIRC). There you have a directory
conf containing
httpd.conf.
Where to install php is up to you. The install.txt assumes you put it in c:\php, if you change this you have to substitute the new path.
btw: why cgi and not the apache-module. Just curious

Posted: Thu May 15, 2003 3:36 am
by Gleeb
A much friendlier way to get at APACHE without touching any command prompt or explorer is to use the Start Menu items created at install time. It has a link to open the httpd.conf, test it, and restart it, as well as start and stop it.
Also, the man makes a good point. Even the README state that they consider your chosen PHP installation method to be 'suicidal'.