theremin_ Posted March 6, 2007 Share Posted March 6, 2007 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 More sharing options...
s0c0 Posted March 6, 2007 Share Posted March 6, 2007 I would post this to the installation section, it's about to moved by a mod. Link to comment https://forums.phpfreaks.com/topic/41361-php5-is-not-parsing/#findComment-200401 Share on other sites More sharing options...
theremin_ Posted March 6, 2007 Author Share Posted March 6, 2007 Sorry about that, really tired and must have missed that section Link to comment https://forums.phpfreaks.com/topic/41361-php5-is-not-parsing/#findComment-200406 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.