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

Recommended Answers

can you show the code?

Jump to Post

All 3 Replies

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.


 echo "hello world";



Be a part of the DaniWeb community

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