Re: php binary not being invoked

From: Date: Tue, 03 Oct 2000 14:06:31 +0000
Subject: Re: php binary not being invoked
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-2914@lists.php.net to get a copy of this message
Kevin: You don't need to set the doc_root setting in php.ini, because what you set it to is the default. I would recomend to modify the following setting from httpd.conf: AddType application/x-httpd-php4 .php .php3 to include the .php3 extension as well. Everything else seems OK. Did you restarted Apache after all these changes ? Saludos, Pablo Vera _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Tuesday, October 03, 2000, 8:52:44 AM, kevin wrote: k> I have installed apache_1_3_12_win32, which works fine, and k> php4.0.3-dev-win32-20000917, I have updated the httpd.conf as per readme k> instructions and added doc_root and extension_dir paths to the php.ini file, k> however when I try to run a php script all i get is the text of the script k> displayed to the browser page. I have included the changed httpd.conf file k> changes and all relevant info below. k> php.ini file changes: k> doc_root = c:/Program Files/Apache Group/Apache/htdocs k> extension_dir = c:/php4 k> (I have tried including these with inverted commas and leaving them blank) k> httpd.conf file changes: k> ServerAdmin kevin@unison.ie k> ServerName localhost k> <Directory "C:/Program Files/Apache Group/Apache/htdocs"> k> DirectoryIndex index.html index.php3 index.php k> ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/" k> ScriptAlias /php4/ "C:/php4/" k> AddType application/x-httpd-php4 .php k> (I have tried combinations of different varients of the above line as k> suggested in a few online tutorials to no success) k> Action application/x-httpd-php4 "/php4/php.exe" k> I have also copied the appropriate dll's to there folders. k> If anyone has encountered this problem or has a solution I would be very k> greatful to hear from you k> Regards k> Kevin k> Kevin Hickey k> Software Engineer k> Internet Ireland k> 3050 Lake Drive, k> Citywest Business Park k> Co. Dublin k> Tel: 4112598

« previous php.windows (#2914) next »