If I were you, I would start over.  Install Apache httpd 2.0.49 "with php:"

http://httpd.apache.org/docs-2.0/install.html

Install PHP 4.3.7 and make sure you follow the specific directions for PHP
with Apache2:

http://us3.php.net/manual/en/install.apache2.php.  
http://us3.php.net/manual/en/install.windows.php#install.windows.manual

There's not much difference, but it's crucial.  Finally, make sure your
httpd.conf file (in /apache2/conf/) contains the following lines:

LoadFile "C:/Apache2/bin/php4ts.dll"
LoadModule php4_module modules/php4apache2.dll
AddType application/x-httpd-php .php
DirectoryIndex index.php


Worst-case scenario: 
http://www.apachefriends.org/xampp-en.html

Cheers,
Mark


-----Original Message-----
From: Matthew Deeks [mailto:[EMAIL PROTECTED]
Sent: Monday, June 14, 2004 9:37 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INSTALL] PHP4 with Apache 2 on windoows


PLEASE can some one help, I have installed apache 2 on  my win XP laptop.
Apache runs fine and I can use all the virtual severs, but when I try a PHP
page it does not run properly. I have run the test script to see how PHP is
set-up and that works, but if I try a more complex script it does not.I have
Apache 2.0.47(win32) and PHP 4.3.1.

Reply via email to