problems with PHP, showing code trying to "run" a php file?
i've been trying to learn php but i can't find a way to get started, i have mysql,php...etc i have the daemons running and if i go to http://localhost it says IT WORKS!! but if i try to "run" a php file like..
http://localhost/test.php all i get is the source code showing in my browser..lets say i want to output a simple message:
echo "Hello world";
well.. that's what i get in my browser i don't see the message but the code itself.
what is the problem??
Well i really hate when this happen but.. already found the solution, i had to uncomment Include /etc/httpd/mod_php.conf at the end of htppd.conf(yeah i know stupid me blah blah..xD) anyway.. sorry.
Nice to see you worked it out.
Thanks for posting the solution.
|All times are GMT -5. The time now is 07:57 AM.|