Home > Archive > PHP Installation > June 2004 > Re: [PHP-INSTALL] PHP4 with Apache 2 on windoows
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: [PHP-INSTALL] PHP4 with Apache 2 on windoows
|
|
| Jeffrey N Dyke 2004-06-14, 3:57 pm |
|
>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.
What exactly happens when you run a more complex script. the problem is
most likely elsewere, b/c if php is running, its running, it doens't matter
if its complex or simple.
HTH
Jeff
| |
| Mark A Galbreath 2004-06-14, 3:57 pm |
| 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/instal....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 D s [mailto:matt@d s.biz]
Sent: Monday, June 14, 2004 9:37 AM
To: php-install@lists.php.net
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.
|
|
|
|
|