Install question

This is a discussion on Install question within the PHP General forums, part of the PHP Programming Forums category; I have just started with a clean install on a Windows XP Pro system, Apache 2.24 and PHP 5....


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-15-2007
Paul K
 
Posts: n/a
Default Install question

I have just started with a clean install on a Windows XP Pro system,
Apache 2.24 and PHP 5.2.3

Apache Monitor reports Apache/2.24(Win32)PHP/5.2.3.

I can access html files just fine but I can't even run a test program

<?php
phpinfo();
?>

Nothing displays.

Where do I look to see whats wrong?

Paul
Reply With Quote
  #2 (permalink)  
Old 06-15-2007
Daniel Brown
 
Posts: n/a
Default Re: [PHP] Install question

On 6/15/07, Paul K <dvd@bbhservices.com> wrote:
> I have just started with a clean install on a Windows XP Pro system,
> Apache 2.24 and PHP 5.2.3
>
> Apache Monitor reports Apache/2.24(Win32)PHP/5.2.3.
>
> I can access html files just fine but I can't even run a test program
>
> <?php
> phpinfo();
> ?>
>
> Nothing displays.
>
> Where do I look to see whats wrong?
>
> Paul
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


The server logs, your php.ini, your httpd.conf.... just to name a
few. Make sure you have your AddHandler and AddType lines done
correctly in httpd.conf, make sure that PHP is turned on in your
php.ini file, make sure you restart Apache after any changes are made,
and make sure you consult your logs for any issues that may not
display to the screen.

--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107
Reply With Quote
  #3 (permalink)  
Old 06-15-2007
Jim Lucas
 
Posts: n/a
Default Re: [PHP] Install question

Paul K wrote:
> I have just started with a clean install on a Windows XP Pro system,
> Apache 2.24 and PHP 5.2.3
>
> Apache Monitor reports Apache/2.24(Win32)PHP/5.2.3.
>
> I can access html files just fine but I can't even run a test program
>
> <?php
> phpinfo();
> ?>
>
> Nothing displays.
>
> Where do I look to see whats wrong?
>
> Paul
>


Look at the source returned to you in your browser. If you see the actual php code, then you need
the AddHandler and AddType settings in your Apache conf file. First, make sure that the php module
is being loaded.

--
Jim Lucas

"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."

Twelfth Night, Act II, Scene V
by William Shakespeare
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:11 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0