php4
| From: | Tom Mac | Date: | Fri, 12 Jul 2002 17:23:12 +0000 |
| Subject: | php4 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-7705@lists.php.net to get a copy of this message | ||
Hi All,
I've been trying to configure PHP4.2.1 to work
with Apache 1.3.2 on Windows 98. I tried both as a
SAPI module or as a CGI setup, but had no luck. Can
someone help please? Thanks. I have the snippets
from my conf files below:
PHP Installation Directory --> c:\php
1. SAPI Setup:
c:\windows\php.ini:
extension_dir = "c:\php"
cgi.force_redirect = 1
httpd.conf:
ClearModuleList
LoadModule php4_module
c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
* When i start apache, it saids the php4 mod has
been loaded but i get a HTTP 404 when I browse to any
.php page *
2. CGI Setup:
c:\windows\php.ini:
extension_dir = "c:\php"
;cgi.force_redirect = 1
httpd.conf:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php
"/php/php.exe"
* When i start apache, everything seems normal,
but i get a blank page when I browse to any .php page
*
Tom
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com