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....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |