i downloaded e-novative wamp server from the net and installed it...i tried to run my script...but i cannot get the output..it just displays the code which i typed in the notepad...i stored my script coding in www folder in wamp...can anyone guide me ..

Suggestions:
Make sure that Apache is running. If you're not sure if it's running check the processes section of the task manager. Some versions of WAMP require you to manually start Apache.
Also make sure you are previewing the file under localhost in the browser.
Should look something like http://localhost/wamp/ or just http://localhost/

Are you saving you script with a .php extension?

If you are only seeing the code you wrote, then apache is running, but its not seeing the .php extension. If you are using a text editor like note pad, when you save as, make sure file type is set to All Files and save your script with a .php extension like this: "example.php". Let me know if you are doing this, if you are then the problem lies in your apache httdp.config file. If it is this, then I will guide you through the steps to configure it properly:)

i downloaded e-novative wamp server from the net and installed it...i tried to run my script...but i cannot get the output..it just displays the code which i typed in the notepad...i stored my script coding in www folder in wamp...can anyone guide me ..

di you make changes in the httpd.conf file of apache to support .php extensions? if not then edit the httpd.conf file of apache server to support .php etension files

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.