PDA

View Full Version : PhP and apache


Cmrdrv
08-03-2003, 07:14 PM
It say i have to put this

ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"

in to apache httpd.conf file where in that file to i place it or does it matter

CrAzYCoDeR969
08-03-2003, 07:36 PM
You can put it where you like, if you plan on editing that file more you should organize it though.

Cmrdrv
08-03-2003, 07:54 PM
It says scriptalias takes 2 arguments a fake name and a real name wth does that mean

CrAzYCoDeR969
08-03-2003, 10:27 PM
If you need help on Apache directives you can go here (http://httpd.apache.org/docs/mod/directives.html) .

the ScriptAlias arguments mean that if you put:

ScriptAlias /php/ "C:/php/"

all requests for /php/ would make apache look in C:/php/