Re: php4 and apache

From: Date: Wed, 07 Jun 2000 15:13:29 +0000
Subject: Re: php4 and apache
Groups: php.windows 
Request: Send a blank email to php-windows+get-282@lists.php.net to get a copy of this message
Ralph Birden wrote: > > ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/" > ScriptAlias /php "C:/php4/" > > AddType application/x-httpd-php .phtml .php > AddType application/x-httpd-php-source .phps > > Action application/x-httpd-php /php4/php.exe Ok, here's your problem(s): This ScriptAlias line: ScriptAlias /php "C:/php4/" should at least have a trailing slash after the alias: ScriptAlias /php/ "C:/php4/" Then, the Action line you use: Action application/x-httpd-php /php4/php.exe should match the first part of /alias/php.exe with what you created in the ScriptAlias line. So, if you REALLY meant the ScriptAlias to be /php/ then the Action line should read: Action application/x-httpd-php /php/php.exe But, assuming you meant to have the ScriptAlias be /php4/, just make THAT change, restart Apache, and all should be right with the world. - Julie +------------------------------------------------+ | Julie Meloni | | Tech. Director, i2i Interactive (www.i2ii.com) | | e-mail: jcm@i2ii.com | | | | "PHP Essentials" ... http://www.thickbook.com/ | +------------------------------------------------+

« previous php.windows (#282) next »