Re: PHP5.2.4 setup problems....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



IIRC Apache development releases have an odd numbered suffix. The latest releases have an even numbered suffix.

2.2.6 is the latest stable release of Apache.


On Wed, 14 Nov 2007, Bryan C wrote:

To: php-install@xxxxxxxxxxxxx
From: Bryan C <bac512@xxxxxxxxxxx>
Subject:  PHP5.2.4 setup problems....

I've installed the newest version of Apache (2.2.3, I believe), and the newest version of PHP5 (5.2.4), and Apache works fine, though I have the localhost defined as 127.0.0.1 (since I have no domain name or server), any html page I set up will display fine, but if I add an PHP code in it (just a simple <?php phpinfo(); ?>) it displays nothing. I can even add the same come in the middle of an html document, and it'll display the html but not the php.... my apache error.log says:

[Wed Nov 14 00:28:00 2007] [notice] Apache/2.2.6 (Win32) PHP/5.2.4 configured -- resuming normal operations [Wed Nov 14 00:28:00 2007] [notice] Server built: Sep 5 2007 08:58:56 [Wed Nov 14 00:28:00 2007] [notice] Parent: Created child process 2988 [Wed Nov 14 00:28:00 2007] [notice] Child 2988: Child process is running [Wed Nov 14 00:28:00 2007] [notice] Child 2988: Acquired the start mutex. [Wed Nov 14 00:28:00 2007] [notice] Child 2988: Starting 250 worker threads. [Wed Nov 14 00:28:00 2007] [notice] Child 2988: Starting thread to listen on port 80.

so I ASSUME php started right... From a command prompt, php -i gives me all sorts of information, I donno if that means it's running or not, but Apache is in C:\apache2_2 and php is in c:\php5, and as far as I can see, I have configured the php.ini, and httpd.conf properly...

following the php5 manual, I have the php.ini file ONLY in the c:\php5 directory (and the php -i info says 'loaded ini file -> c:\php5\php.ini)


any ideas???

Are you using the http://localhost/ protocol to access the page?

Is the php module being loaded by Apache? Is there some way of checking on Windows what Apache modules are loaded?

Don't forget that the php command is a standalone php CLI program. That is *not* the same as the php module that Apache uses to parse php documents. Well not on Linux anyway.

http://www.php.net/manual/en/install.windows.apache2.php

Kind Regards

Keith

------------------------------------------------------------
http://www.karsites.net
http://www.raised-from-the-dead.org.uk

This email address is challenge-response protected with
http://www.tmda.net
------------------------------------------------------------

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux