Click to See Complete Forum and Search --> : Cannot understand it...


pfchin
05-18-2003, 11:20 AM
Dear all,

I hav a problem while installing apache 2.0.45, php 4.3.1 in Win XP Pro (it is not service package 1), i followed the steps to install php then i tested the configuration of apache, it came out an error stated "mod_php4.c" could not b found (some kinds like this)... so i comment the line mod_php4.c in httpd.conf then it runs smooth....

however, i discovered there is an issue with it.... when i type http://localhost/testing.php in the browser it shows all the codes inside the testing.php eg. <? echo "testing 123"; ?>
whereas when i type http://127.0.0.1/testing.php it shows php code neatly like "testing 123"....

i would like to know the causes, is it caused by the mod_php4.c? or becoz of my XP is not SP1? how could i solve it so that it can display out the code no matter in http://127.0.0.1... or http://localhost....




thanks & regards,
pf