Win xp, Apache2.x, PHP4.x, problems testing php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ronanmckibbin
Forum Newbie
Posts: 1
Joined: Thu Mar 13, 2003 8:30 am
Location: Belfast

Win xp, Apache2.x, PHP4.x, problems testing php

Post by ronanmckibbin »

I have installed Apache2.x on windows XP and PHP-4.3.1-win32 the server starts Ok (I think)and I'm able to view html files but when I try my PHP test file containing:
<?php
phpinfo();
?>
saved as a .php file.
I enter my IP address, eg.172.183.203.136/test.php
and up pops a dialog box asking me if I want to save the file "test.tar"
Iwas thinking posibly my: doc_root ="c:\ProgramFiles\ApacheGroup\Apache2\htdocs" is wrong or I have put the test.php in the wrong folder, it is in the htdocs.
Can you help me?
Thanks
Ronan
Post Reply