Re: PHP5.2.4 setup problems....

From: Date: Thu, 15 Nov 2007 01:00:45 +0000
Subject: Re: PHP5.2.4 setup problems....
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-18363@lists.php.net to get a copy of this message
yes, 2.2.6 is the version I'm using (I just checked.. sorry about that :) ) is there any way to turn on a debug log or any kind of log for php? the apache error.log says it configured it, but never says weither it's actually running it or not.... "Keith Roberts" <keith@karsites.net> wrote in message news:Pine.LNX.4.64.0711141759560.12801@www.karsites.net... > 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@lists.php.net >> From: Bryan C <bac512@hotmail.com> >> Subject: [PHP-INSTALL] 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 > ------------------------------------------------------------

« previous php.install (#18363) next »