son.of.the.morning Posted September 8, 2010 Share Posted September 8, 2010 I have tryied to install this twice and both times i havnt got it working or am just not using it right, any idears or tips? Quote Link to comment https://forums.phpfreaks.com/topic/212913-installing-wampserver/ Share on other sites More sharing options...
petroz Posted September 8, 2010 Share Posted September 8, 2010 Get a mac! Are you getting any errors? Quote Link to comment https://forums.phpfreaks.com/topic/212913-installing-wampserver/#findComment-1108931 Share on other sites More sharing options...
Rifts Posted September 8, 2010 Share Posted September 8, 2010 Dont get a mac!! :-) it should be SUPER easy to install download from here http://www.wampserver.com/en/download.php run the exe thats all you have to do what is wrong with you installation? Quote Link to comment https://forums.phpfreaks.com/topic/212913-installing-wampserver/#findComment-1108935 Share on other sites More sharing options...
son.of.the.morning Posted September 8, 2010 Author Share Posted September 8, 2010 Well i am trying to run a site which i built by using a hosting site with out any apache or anything like that on my computer, i copied all the site files to the folder wamp/www/... opened the local host and ran the page and it keeps coming up that there is a error connecting to the db host, which is the host site i have been using. Maybe this is extremely stupid but i am new to the whole server side thing and i have never used anything like wamp/apache before ( in my defence ). Quote Link to comment https://forums.phpfreaks.com/topic/212913-installing-wampserver/#findComment-1108950 Share on other sites More sharing options...
petroz Posted September 8, 2010 Share Posted September 8, 2010 Copy and paste that error... Quote Link to comment https://forums.phpfreaks.com/topic/212913-installing-wampserver/#findComment-1108951 Share on other sites More sharing options...
wildteen88 Posted September 8, 2010 Share Posted September 8, 2010 and it keeps coming up that there is a error connecting to the db host, which is the host site i have been using. Your host most probably doesn't accept remote database connections. You will be better of extracting your database(s) from your host and importing them locally. Quote Link to comment https://forums.phpfreaks.com/topic/212913-installing-wampserver/#findComment-1108955 Share on other sites More sharing options...
pornophobic Posted September 9, 2010 Share Posted September 9, 2010 I like XAMPP for makings it easy to have a WAMP server. I don't know how a mac would make things easier? I'd just install Linux (CentOS, personally) and use that if I needed a nix platform. Quote Link to comment https://forums.phpfreaks.com/topic/212913-installing-wampserver/#findComment-1108975 Share on other sites More sharing options...
Rifts Posted September 9, 2010 Share Posted September 9, 2010 wamp server is 100x better then xamp Quote Link to comment https://forums.phpfreaks.com/topic/212913-installing-wampserver/#findComment-1108976 Share on other sites More sharing options...
petroz Posted September 9, 2010 Share Posted September 9, 2010 fanboi Check your db configuration on your scripts.. make sure its connecting to your local server and not the old server.... Quote Link to comment https://forums.phpfreaks.com/topic/212913-installing-wampserver/#findComment-1108979 Share on other sites More sharing options...
fortnox007 Posted September 9, 2010 Share Posted September 9, 2010 I have xampp really easy to install, even with a few beers : ) Just install it in C:/ and not in programs Just make sure you do secure it, very easy also and you can do it without any knowledge. Quote Link to comment https://forums.phpfreaks.com/topic/212913-installing-wampserver/#findComment-1109034 Share on other sites More sharing options...
pornophobic Posted September 9, 2010 Share Posted September 9, 2010 wamp server is 100x better then xamp I use xampp because it installs itself quickly, then I update the binaries to the latest myself. I'm using "xampp" with PHP 5.3.3, Apahce 2.2.15, MySQL 5.1.50. I use it basically for it's directory structure and do the rest myself. I prefer LLAMP (lighttpd the second L) with proxying requests when needed for static files. Quote Link to comment https://forums.phpfreaks.com/topic/212913-installing-wampserver/#findComment-1109039 Share on other sites More sharing options...
son.of.the.morning Posted September 9, 2010 Author Share Posted September 9, 2010 If i was to exstract my data bases and store them localy, when i have finished developinging the site i would i have to put them back on to the server and chance the local host to my web host on every page that has a connection? Quote Link to comment https://forums.phpfreaks.com/topic/212913-installing-wampserver/#findComment-1109105 Share on other sites More sharing options...
wildteen88 Posted September 9, 2010 Share Posted September 9, 2010 and chance the local host to my web host on every page that has a connection? You should change the way you're connecting to mysql. Rather than type out this $conn = mysql_connect('localhost', 'user', 'pass') or die('MySQL Error: ' . mysql_error()); mysql_select_db('database') or die('MySQL Error: ' . mysql_error()); each time to connect to mysql, take those lines and place them into a seperate PHP file, for example call this new file dbconn.php Now whenever you want to connect to mysql you just need to include that file include 'dbconn.php'; That way if you need to make a change to your database credentials all you need to do is edit just that one file. But to answer your question yes you will need to alter your database credentials in each file. However if you do as I said above then it'll save you alot of time. If i was to exstract my data bases and store them localy, when i have finished developinging the site i would i have to put them back on to the server Yeah once you have finished developing then you'll transfer your database over to your site. Quote Link to comment https://forums.phpfreaks.com/topic/212913-installing-wampserver/#findComment-1109111 Share on other sites More sharing options...
son.of.the.morning Posted September 9, 2010 Author Share Posted September 9, 2010 Sound! Thanks again dude, alwayss storming in with the answers! Quote Link to comment https://forums.phpfreaks.com/topic/212913-installing-wampserver/#findComment-1109117 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.