Scott,

Did you copy the php4ts.dll file into your c:\%WINDIR%\system32 dir? I'm not
sure what PHP does without that file, but it's one place to look.

I've been using Apache 2 lately (2.0.40 works with 4.2.3 with no problems,
but Apache2 support in 4.2.x is "experimental". PHP 4.3.x shouldn't be but
it's still beta) on Win32 (Haven't ventured into Apache2 land on Linux
yet...) and it seems to work fine for small development stuff. Apache 1.3
was never a problem.

You may also want to see if the following PHP.ini paramater is set (php.ini
should be in c:\%WINDIR%)

short_open_tag = On

or replace <? with <?php in your file.

-Dash

-----Original Message-----
From: Scott Trosper [mailto:strosper@;worldnet.att.net] 
Sent: Thursday, November 14, 2002 11:01 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Windows XP setup problem with Apache 1.3 and PHP


I have installed Apache 1.3.27 and PHP 4.2.3 and can not get it to run php
scripts.  I have gone through the install readme a couple of times to
confirm everything is as indicated.  When I call a script with php tags:  <?
phpinfo(); ?>   it does not launch php.  When I view the source, the text
for the file is all that is shown.  I am currently running the modules
configuration with the following lines in httpd.conf

LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c

AddType application/x-http-php .phtml .php
AddType application/x-http-php-source .phps

I have added the registry settings for php4isapi.dll , although I am not
sure if this is needed.  I tried with and without and it performs the same.

I do not get any sort of error message from Apache, the entry in the access
log file is:

127.0.0.1 - - [14/Nov/2002:11:32:21 -0700] "GET /phpinfo.php HTTP/1.1" 200
99

I am at a loss on this one.  I have even tried using Apache 2.0.43, but
could not get it to perform the LoadModule part correctly.  Gave up and went
back to 1.3.27

Are there any diagnostic tools I can use to see where this is going wrong?
I do not believe it is even calling php.  I did confirm the php installation
using php -i and piping this to an HTML  file that I could open.

The system I am using is running Windows XP professional with SP1 installed.

Thanks in Advance,
Scott Trosper
[EMAIL PROTECTED]





-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to