yes, I've configured the PHP.ini and httpd.conf acccording to all the instructions as far as I could tell. I should say, I have CHECKED the php.ini and httpd.conf files, and based on the instrutions, they were set up correctly. (I used the msi install files for both apache and php5...)
Date: Wed, 14 Nov 2007 20:25:16 +0530 From: sunilbhatia79@xxxxxxxxx To: bac512@xxxxxxxxxxx Subject: Re: PHP5.2.4 setup problems.... CC: php-install@xxxxxxxxxxxxx
Have you configued apache to execute PHP files.
Read install notes here: http://www.sunilb.com/php/php-tutorials/how-to-configure-php-on-apache-windows
Hope this helps: http://www.sunilb.com - Programming Tutorials / Articles - PHP, C, etc http://www.careercurry.com - Career Articles
On Nov 14, 2007 12:11 PM, Bryan C < bac512@xxxxxxxxxxx> wrote:
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???
Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power. Play Now!
|