Re: PHP5.2.4 setup problems....
| From: | Sunil Bhatia | Date: | Wed, 14 Nov 2007 14:55:16 +0000 |
| Subject: | Re: PHP5.2.4 setup problems.... | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-18360@lists.php.net to get a copy of this message | ||
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@hotmail.com> 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???
>