stunner21 Posted December 30, 2008 Share Posted December 30, 2008 Hello there i need some help. This is my problem; i am setting up A . M. P on my system, but i am having a problem when the PHP files are parsed. When the PHP files are parsed the entire code is appearing in the browser. This is what i see when i open the PHP file in the browser. <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>My First PHP Program</title> </head> <body> <?php echo " I'm a lumberjack."; ?> </body> </html> can anyone help me with this please. thankz. Quote Link to comment https://forums.phpfreaks.com/topic/138909-help/ Share on other sites More sharing options...
Maq Posted December 30, 2008 Share Posted December 30, 2008 Hmm... I just tested it and it works fine for me. ??? Maybe it's something with your installation. Did you follow the instructions precisely and do all the little tests they have for you? Read the FAQ? Quote Link to comment https://forums.phpfreaks.com/topic/138909-help/#findComment-726397 Share on other sites More sharing options...
kenrbnsn Posted December 30, 2008 Share Posted December 30, 2008 What string are you entering to bring up the page. If it starts with file:// that is your problem. For PHP to work, it needs to be processed via the web server and that is accessed via http://localhost/ Ken Quote Link to comment https://forums.phpfreaks.com/topic/138909-help/#findComment-726399 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.