0

hi gurus, had tried to install apache and php.
apache seems to run and work fine and no error displayed during startup.
but when i tried to do some testing for the php file.

like: http://localhost/test.php

the whole php code is displayed not the expected output.

i had already load the php5 module on httpd.conf, anything i'm missing?

please help. thanks :)

4
Contributors
3
Replies
5
Views
5 Years
Discussion Span
Last Post by rotten69
0

Alright. try this code and see if it works.

Copy this into a file with the extension .php and put it in the www directory in your wamp. If It doesn't work, then post your code.

<?php 

 echo "hello world";

?>

Cheers

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.