Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
PHP Beginer help ---PHP code is not excuting return source code
[size=5][b]hi friends , i have just started php self learning ..i m using apache server , mysql, and php4 and even tried 5..problem is when i type local host in my browser it shows apache is working fine but when i excute localhostphpinfo.php file or any other php file it return me my own source code which i have written on notepaid.i dont know why php is not excuting on my system ?
see i have just made simple file
echo("this is first php file ");
and saved it with name "first.php" to make sure it will get php extention as well then
i saved it at
[size=2]C:Program FilesApache GroupApachehtdocs[/size][color=Blue][/color]
then execute it
out put suppose to come
[size=5]this is first php file[/size]
but instead of this
[size=5]i got my source file back as a result. i dont know why php is not processing my file ?
[/size][color=Purple][/color]can anyone help me please
i would be really thankful[/b][/size]