php binary not being invoked
| From: | kevin | Date: | Tue, 03 Oct 2000 14:56:10 +0000 |
| Subject: | php binary not being invoked | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-104@lists.php.net to get a copy of this message | ||
-----Original Message-----
From: kevin [mailto:kevin@unison.ie]
Sent: Tuesday, October 03, 2000 2:53 PM
To: php-windows@lists.php.net
Subject: php binary not being invoked
I have installed apache_1_3_12_win32, which works fine, and
php4.0.3-dev-win32-20000917, I have updated the httpd.conf as per readme
instructions and added doc_root and extension_dir paths to the php.ini file,
however when I try to run a php script all i get is the text of the script
displayed to the browser page. I have included the changed httpd.conf file
changes and all relevant info below.
php.ini file changes:
doc_root = c:/Program Files/Apache Group/Apache/htdocs
extension_dir = c:/php4
(I have tried including these with inverted commas and leaving them blank)
httpd.conf file changes:
ServerAdmin kevin@unison.ie
ServerName localhost
<Directory "C:/Program Files/Apache Group/Apache/htdocs">
DirectoryIndex index.html index.php3 index.php
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/"
ScriptAlias /php4/ "C:/php4/"
AddType application/x-httpd-php4 .php
(I have tried combinations of different varients of the above line as
suggested in a few online tutorials to no success)
Action application/x-httpd-php4 "/php4/php.exe"
I have also copied the appropriate dll's to there folders.
If anyone has encountered this problem or has a solution I would be very
greatful to hear from you
Regards
Kevin
Kevin Hickey
Software Engineer
Internet Ireland
3050 Lake Drive,
Citywest Business Park
Co. Dublin
Tel: 4112598