How to use WAMP5
Posted by: felicia (---.124.in-addr.arpa.tm.net.my)
Date: November 14, 2007 10:02AM

Hi,

I just installed WAMP5 but I do not know how to use it.

after installing, I created a simple php file and save as test.php (in the "suan" folder that i created in www folder).

i tried to open in browser by typing [localhost] but page not found.

Did my steps correct or do i need to edit any config files?

please advise.

thanks



Post Edited (11-14-07 10:36)

Options: ReplyQuote
Re: How to use WAMP5
Posted by: toivo (203.19.130.---)
Date: November 14, 2007 10:44AM

Hi,

Try this: click the WAMP icon in the System Tray, select from the popup menu 'AliasdDirectories' - 'Add an alias' and add your subfolder as an alias directory. Your php script should now be accessible.

Regards,



toivo
Sydney, Australia

Options: ReplyQuote
Re: How to use WAMP5
Posted by: yfastud (72.236.169.---)
Date: November 14, 2007 01:22PM

You don't really need to create alias, but first thing first, your php scripts can only run when parsed by apache, which means that your apache must work first. Check it by point your mouse at wamp tray icon, not click on it, and it will show you how many service running; it's only good when stated "...all services running...". If only 1 service running, click on wamp tray icon and check apache and mysql to see which one has right triangle or square in front of it; the one has triangle is good and the other is not working.

BTW, I hope you use full tag <?php ... ?> instead short tag <? ...?> which will result a blank page

Have fun,

[test.jlbn.net] (Sample Test Codes for PHP, MySQL, SQLite, ASP.net, SQL, JSP)
[www.jlbn.net] (Basic Guide for WAMP & Add-ons)

Options: ReplyQuote
Re: How to use WAMP5
Posted by: felicia (60.53.227.---)
Date: November 15, 2007 10:22AM

hi toivo and yfastud,

thanks for the solutions.
I try to add alias but still cannot.
I have checked, the apache service is ok and i use full tag as well.

But finally I found the reason why it cannot work. My .php file is still text file, it is not .php extension file. So I add " AddType application/x-httpd-php-source .phps" in apache config file. and then I can run the php file in the browser at last. smiling smiley

regards,
Felicia Chua
Malaysia

Options: ReplyQuote
Re: How to use WAMP5
Posted by: xbenson (24.244.159.---)
Date: November 22, 2007 11:11PM

I am experiencing the exact problem. Where EXACTLY did you insert "AddType application/x-httpd-php-source .phps" in apache config file because my script will only execute the html portion and not php .( I double checked my tags.) Using Vista on a lap top.
Thanks much

Xbenson-newbie

Options: ReplyQuote
Re: How to use WAMP5
Posted by: yfastud (---.cable.mindspring.com)
Date: November 23, 2007 03:25AM

It should be httpd.conf in c:/wamp/apache2/conf if using version 1.7.x or so

Have fun,

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

Options: ReplyQuote
Re: How to use WAMP5
Posted by: xbenson (24.244.159.---)
Date: November 27, 2007 01:00AM

Okay , so i edited the conf file by inserting the code just below AddType application/x-gzip.gz.tgz and AddType application/x-http-php.php etc. Saved it, restarted the wamp server then nothing not even the html is loaded. sad smiley

Help please.

Options: ReplyQuote
Re: How to use WAMP5
Posted by: yfastud (Moderator)
Date: November 27, 2007 08:58PM

Since wamp should work w/o any problem right after installing, so make sure to check these:

First, wamp has all services running, no matter off-line or on-line; off-line for your own access only while on-line for both local and global access

Second, disable hidden known extension to see your real extension of your files because they must be php/html in order to work and access them as follows:

If saving in c:/wamp/www
[localhost] (or .html)

If saving in c:/wamp/www/your_folder
[localhost] (or .html)

Third, you don't have any other apache, php or web server such as iis, so on; if you did had them before, after uninstalling them, you still need to completely clean them in both windows and registry

Have fun,

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

Options: ReplyQuote
Re: How to use WAMP5
Posted by: xbenson (24.244.159.---)
Date: November 27, 2007 10:15PM

Thanks a mill smiling smiley

Options: ReplyQuote
Re: How to use WAMP5
Posted by: yfastud (Moderator)
Date: November 28, 2007 01:11AM


Options: ReplyQuote
Re: How to use WAMP5
Posted by: beni_peja (80.80.172.---)
Date: November 29, 2007 05:41PM

Hello,

I'm newbie in php, I installed Wamp5, it's really user-friendly but I got a problem when I try to test one php web-site
I copied website folder (named "site"winking smiley in C:/wamp/www foler, I opened Firefox and writing locahost/site but nothig displayed..
I already created database using phpmyadmin by importin .sql file
Wamp saying that all services running - server online

Any help from you ??

P.S. Sorry for my english.

Best Regards,

Beni



Edited 1 time(s). Last edit at 11/29/2007 05:45PM by beni_peja.

Options: ReplyQuote
Re: How to use WAMP5
Posted by: yfastud (Moderator)
Date: November 29, 2007 08:02PM

Make sure it's localhost/site, not the typo like yours locahost/site

Better, click localhost through wamp tray icon, then access your folder from there

Have fun,

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

Options: ReplyQuote
Re: How to use WAMP5
Posted by: beni_peja (91.187.112.---)
Date: November 29, 2007 10:04PM

Sorry for miss-typing
Actually I follow your procedure like going in localhost through wamp

I tryed another php website and worked perfect,
problem is with web-site I think??
Doesn't connect to local database..

Options: ReplyQuote
Re: How to use WAMP5
Posted by: RZMazter (78.146.221.---)
Date: January 19, 2009 01:56PM

Hi, i hope this helps.

When you start WAMP5 click on the button on the toolbar and click put server online. Then click again and click start all services. Go to C:Wamp/www and then create the file. Open up the browser and put in localhost/test.php. It should open.

Options: ReplyQuote
Re: How to use WAMP5
Posted by: goysar (---.211.177.2.bb-static.vsnl.net.in)
Date: June 18, 2009 03:21PM

I installed wamp5 and the installation was also successful but the problem is server is also is online but non of the services are started. I even tried it my clicking the "start all services" in the menu of the wamp icon in tray. Even now the services are not started.

At first the server did not even go online, i that could be because of the tomcat that i have installed in my system already. So i uninstalled tomcat and now wamp goes online but no services are started. Can any one help me in fixing this problem.

Options: ReplyQuote
Re: How to use WAMP5
Posted by: toumimi (---.100.116-78.rev.gaoland.net)
Date: June 18, 2009 04:28PM

He guy !

First post is from November 2007.
Wamp5 is no longer supported.
You should prefer install WampServer, available on the download page of this website... winking smiley

Florian

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

Options: ReplyQuote
Re: How to use WAMP5
Posted by: Pak (---.sub-75-215-134.myvzw.com)
Date: September 15, 2010 08:11PM

I may have iis, mysql, and tomcat already on my computer. I tried to remove them but when I go to the wamp on command line to mysql it still shows all the old databases so I know it isn't cleared off.
First how do I search my computer to find these since I already deleted the directories and second how do I clean them from windows and registry?

(same post is under need help)

Options: ReplyQuote
Re: How to use WAMP5
Posted by: gursahib (---.138.177.122.airtelbroadband.in)
Date: June 10, 2011 08:40AM

hello guys! i just started learning php
i don't know how to start it!
the above instructions are not well defined
can somebody explain in detail.

Options: ReplyQuote


Sorry, only registered users may post in this forum.