Please help. Made a test.php but wont show in webbrowser
Posted by: wzd (41.219.150.---)
Date: June 09, 2009 12:08PM

Sorry guys but a newbie question.

I made a test.php file and i put it into the root folder. But when i go to the web browser it wont display anything.
When i go to local address it say "IT WORKS" and not the index.php what come with wamp2 what you see in those guides.

What am i doing wrong here?

I tried different things

Options: ReplyQuote
Re: Please help. Made a test.php but wont show in webbrowser
Posted by: toumimi (---.84.114-78.rev.gaoland.net)
Date: June 09, 2009 01:16PM

Hi,

Wamp does not show "It works" on localhost.
You got another web server installed and running on your PC.
It can be LAMP, XAMPP, or a standalone apache...

Please make sure and uninstall this program and there won't be anymore conflicts...

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: Please help. Made a test.php but wont show in webbrowser
Posted by: yfastud (Moderator)
Date: June 09, 2009 01:48PM

you're running IIS

IIS and Apache/Wamp are both web server and might conflict in some way, so you have to disable IIS in order for Wamp to work

Disable IIS in Vista:

Control Panel, Uninstall Programs, Turn Widows Features On or Off, uncheck Internet Information Services

Disable IIS in XP:

Control Panel, Add/Remove Programs, Add/Remove Windows Components, uncheck Internet Information Services (IIS)

Restart computer, then restart Wamp

Also, open file hosts in folder C:\WINDOWS\System32\drivers\etc and make sure you have only this line and nothing else

127.0.0.1 localhost

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Please help. Made a test.php but wont show in webbrowser
Posted by: toumimi (---.84.114-78.rev.gaoland.net)
Date: June 09, 2009 02:35PM

I haven't use IIS at all, but I thought it doesn't show "It works" on localhost..
But at least, we are sure there is a webserver installed.. winking smiley

I found a small freeware which displays all active ports and linked process and application..

Try to download CurrPorts.
Unzip file into c:\cports
Launch it in run field (or cmd, as you want) c:\cports\cports.exe /filter include:local:port:80

It will display the exact program using port 80...
I hope it will be useful for you, and anyone having port conflicts.. smiling smiley

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: Please help. Made a test.php but wont show in webbrowser
Posted by: wzd (41.219.150.---)
Date: June 09, 2009 02:44PM

Thanks Guys,

It worked! grinning smiley

Finally i can start learning how to use PHP & SQL as this is something i never done before.

Cheers

wzd

Options: ReplyQuote


Sorry, only registered users may post in this forum.