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 :)

can you show the code?

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.