Jump to content

PHP5 is not parsing


theremin_

Recommended Posts

So for about 10 hours I've been trying to install PHP 5 on an Apache 2.0 server on Window XP Professional.  I have been looking at many tutorials on how to configure and install PHP 5, and as a basis I have used this tutorial as my prime example.

 

http://www.expertsrt.com/tutorials/Matt/install-apache.html

 

The .php file that I am using as my test to make sure PHP is working has the following code.

 

<?php phpinfo() ?>

 

Now when I open the file through the local host nothing is displayed but the source code of the page is:

 

<?php phpinfo() ?>

 

Now from what I understand right now, PHP isn't parsing anything.  Going to the command prompt and running: php indexTest.php gives the following output:

 

C:\Documents and Settings\cn000081927.CAMPUS\My Documents\Senior Project\Website

>php indexTest.php

■< ? p h p  p h p i n f o ( ) ;  ? >

 

PHP seems to be installed correctly by running this command:

 

>php -v

PHP 5.2.1 (cli) (built: Feb  7 2007 23:11:26)

Copyright © 1997-2007 The PHP Group

Zend Engine v2.2.0, Copyright © 1998-2007 Zend Technologies

 

Any help to resolve this issue would be greatly appricated.  I have searched this forum and google and have found nothing useful to the resolution of this problem.

Link to comment
https://forums.phpfreaks.com/topic/41361-php5-is-not-parsing/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.