RE: Help with Apache + PHP4 + Win98SE.
| From: | Nold, Mark | Date: | Fri, 03 Nov 2000 01:35:12 +0000 |
| Subject: | RE: Help with Apache + PHP4 + Win98SE. | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-3655@lists.php.net to get a copy of this message | ||
----------------------------------------------------------------------------
-----------------
Disclaimer: The information contained in this email is intended only for the
use of the person(s) to whom it is addressed and may be confidential or
contain legally privileged information. If you are not the intended
recipient you are hereby notified that any perusal, use, distribution,
copying or disclosure is strictly prohibited. If you have received this
email in error please immediately advise us by return email at
postmaster@normandy.com.au and delete the email document without making a
copy.
----------------------------------------------------------------------------
-----------------
Your httpd.conf is probably to big to attach.
Basically you need something like
ScriptAlias /php4/ "C:/web/php4.0.3/"
AddType application/x-httpd-php4 .php4 .php .inc .htm
Action application/x-httpd-php4 "/php4/php.exe"
For PHP to works as a CGI.
the php executable in this example must be in c:\web\php4.0.3\
mn
Mark Nold
markn@enspace.com <mailto:markn@enspace.com>
Senior Consultant
Change is inevitable, except from vending machines.
-----Original Message-----
From: Greg "Deuce" Slinn [mailto:gslinn@clara.co.uk]
Sent: Friday, November 03, 2000 7:05 AM
To: php-windows@lists.php.net
Subject: Help with Apache + PHP4 + Win98SE.
Hey there,
I followed the instructions from
http://hotwired.lycos.com/webmonkey/00/44/index4a_page7.html
<http://hotwired.lycos.com/webmonkey/00/44/index4a_page7.html>
but I only
see the literal code when I do the phpinfo test. It gives the following
reasons for why this may happen :
* Your phpinfo.php file is really called phpinfo.php.txt and you just
can't see the hidden file extension.
* Your phpinfo.php file is not in the Apache document root.
* Your ScriptAlias and Action lines in httpd.conf don't match up, or
PHP4 isn't installed in the place you think it is.
* Your AddType lines are incorrect.
Now I know it's definately not the first two but I was hoping if I attached
my httpd.conf that one of you would take a browse through it and see if you
can spot the mistake and correct it for me.
Thx in advance
Greg.