I've installed the apache server on my win98 system. Apache starts and doesn't report any errors. I can run php scripts using the http://myserver/cgi-bin/php.exe/<alias directory>/myphpscript.php URL. However, I want to run the scripts directly from the <alias directory> (http://myserver/<alias directory>/myphpscript.php). I can browse the <alias directory> but whenever I click on a .php file they browser wants to down load it. My current setup has: Action application/x-http-php "/php/php.exe" AddType application/x-httpd-php .php AddType application/x-httpd-php .php3 AddType application/x-httpd-php .phtml AddType application/x-httpd-php-source .phps ScriptAlias /php/ "D:/Php402/" Alias /fake name/ "D:/real name/" <Directory "D:/real name"> Options Indexes ExecCGI FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all </Directory> Does anyone know the httpd.conf configuration setup for this?
Thanks
hi,
You can check the extension of your .php file, the extension is hidden in Windows based on your setting,
Here is anohter link having the steps of the conf.
http://www.devshed.com/
see the forum for apache
hope it help
Lorence
In you httpd.conf file:
use
ScriptAlias /php/ "C:/php/"
I am no expert, but php works in all my directories and with all my virtual servers.
I use a win98 standalone for web dev.
Kevin