Dragen Posted June 5, 2007 Share Posted June 5, 2007 Could someone please send me in the right direction to setting up a local server or whatever it's called on my computer so that I can test sites locally, before uploading them onto the internet? I've no idea where to start... just heard bits about it. It'd just be helpfull to test my code, before putting it out for people to see. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/54366-solved-setting-up-a-test-server-locally/ Share on other sites More sharing options...
dbillings Posted June 5, 2007 Share Posted June 5, 2007 Here's an easy source that I use personally after discovering it. It installs PHP, MYSQL, PHPmyadmin and mysql lite. http://www.wampserver.com/en/download.php Happy coding. Quote Link to comment https://forums.phpfreaks.com/topic/54366-solved-setting-up-a-test-server-locally/#findComment-268864 Share on other sites More sharing options...
Dragen Posted June 6, 2007 Author Share Posted June 6, 2007 Thanks! I think that's exactly what I need.. I'll try it tomorrow.. too tired now Thanks Quote Link to comment https://forums.phpfreaks.com/topic/54366-solved-setting-up-a-test-server-locally/#findComment-268873 Share on other sites More sharing options...
suess0r Posted June 6, 2007 Share Posted June 6, 2007 WAMP = for windows MAMP = for mac Quote Link to comment https://forums.phpfreaks.com/topic/54366-solved-setting-up-a-test-server-locally/#findComment-268875 Share on other sites More sharing options...
Caesar Posted June 6, 2007 Share Posted June 6, 2007 Linux + PHP = your friend. Quote Link to comment https://forums.phpfreaks.com/topic/54366-solved-setting-up-a-test-server-locally/#findComment-268882 Share on other sites More sharing options...
Dragen Posted June 6, 2007 Author Share Posted June 6, 2007 Thanks, I've just downloaded wamp, but I'm not sure how to use it. Do I just put everything in the www folder? Quote Link to comment https://forums.phpfreaks.com/topic/54366-solved-setting-up-a-test-server-locally/#findComment-269098 Share on other sites More sharing options...
trq Posted June 6, 2007 Share Posted June 6, 2007 Do I just put everything in the www folder? Define everything. Quote Link to comment https://forums.phpfreaks.com/topic/54366-solved-setting-up-a-test-server-locally/#findComment-269126 Share on other sites More sharing options...
Dragen Posted June 6, 2007 Author Share Posted June 6, 2007 sorry.. all of my php files. Basically is the 'www' folder acting as the root directory where I put my php, .htaccess, css etc files to test them and see if they work. Quote Link to comment https://forums.phpfreaks.com/topic/54366-solved-setting-up-a-test-server-locally/#findComment-269130 Share on other sites More sharing options...
trq Posted June 6, 2007 Share Posted June 6, 2007 is the 'www' folder acting as the root directory I believe so. Quote Link to comment https://forums.phpfreaks.com/topic/54366-solved-setting-up-a-test-server-locally/#findComment-269166 Share on other sites More sharing options...
per1os Posted June 6, 2007 Share Posted June 6, 2007 You know you never truly learn from those wamp, xamp etc installations. If I were you I would download Apache 2.0 PHP 4.4 or PHP 5 (whichever you want to code in) MySQL 3.x or MySQL 4 MySQL ODBC Driver And manually set it up. It is a great learning experience that will cause frustration but is well worth it. Quote Link to comment https://forums.phpfreaks.com/topic/54366-solved-setting-up-a-test-server-locally/#findComment-269171 Share on other sites More sharing options...
spooke2k Posted June 6, 2007 Share Posted June 6, 2007 personally i use abyss they have custom php ready to go straight on and its a simple easy install for both Quote Link to comment https://forums.phpfreaks.com/topic/54366-solved-setting-up-a-test-server-locally/#findComment-269185 Share on other sites More sharing options...
Dragen Posted June 6, 2007 Author Share Posted June 6, 2007 You know you never truly learn from those wamp, xamp etc installations. If I were you I would download Apache 2.0 PHP 4.4 or PHP 5 (whichever you want to code in) MySQL 3.x or MySQL 4 MySQL ODBC Driver And manually set it up. It is a great learning experience that will cause frustration but is well worth it. hmm.. thanks frost. I might do that. didn't realise you could install them individually on a qlocal computer, thought it was only doable on an online server. Quote Link to comment https://forums.phpfreaks.com/topic/54366-solved-setting-up-a-test-server-locally/#findComment-269189 Share on other sites More sharing options...
trq Posted June 6, 2007 Share Posted June 6, 2007 Seriously... unless you really want / need to get into server administration then installing indivdually is pointless. You should be able to configure WAMP or whatever to your liking without needing to go to the trouble of installing manually. If you really wanted to get into server administration, you would be much better of installing Linux and going from there anyway. IMO, Windows blows, especially in the server field. Quote Link to comment https://forums.phpfreaks.com/topic/54366-solved-setting-up-a-test-server-locally/#findComment-269192 Share on other sites More sharing options...
per1os Posted June 6, 2007 Share Posted June 6, 2007 Nope not at all. www.php.net/downloads www.apache.org Just remember if you use php 4.x you have to use apache 2.0, not 2.2 as 2.2 only works with PHP 5, found that out after some frustration was let out. Than once you mastered that part you goto Linux and try to compile them all on your own =) Thats the really fun part! Reply-to: Thorpe; I would have to disagree, if you just use a on-click installation to get it up and running you really truly do not know any of the working parts, so if he wanted to install a new extension, well it would be tougher. But I guess I am a person who likes to know how parts of systems works. But that it just my take. Quote Link to comment https://forums.phpfreaks.com/topic/54366-solved-setting-up-a-test-server-locally/#findComment-269193 Share on other sites More sharing options...
trq Posted June 6, 2007 Share Posted June 6, 2007 But I guess I am a person who likes to know how parts of systems works. But that it just my take. I am that type of person too. (I run serveral gentoo servers / desktops, and I'm currently developing my own distro from scratch) The thing is though, alot of php developers and especially people just wanting to learn to program php are never going to need to know the ins and outs of how there servers are configured. While I'll agree it can't hurt to know, it can bog down a learner. In the real world, most php devs will work on shared servers, so any additional configuration is out of there hands. If they ever do work on a VPS or dedicated server, they either need to really know there stuff, or hire a server admin. Quote Link to comment https://forums.phpfreaks.com/topic/54366-solved-setting-up-a-test-server-locally/#findComment-269240 Share on other sites More sharing options...
per1os Posted June 6, 2007 Share Posted June 6, 2007 I am that type of person too. (I run serveral gentoo servers / desktops, and I'm currently developing my own distro from scratch) The thing is though, alot of php developers and especially people just wanting to learn to program php are never going to need to know the ins and outs of how there servers are configured. While I'll agree it can't hurt to know, it can bog down a learner. In the real world, most php devs will work on shared servers, so any additional configuration is out of there hands. If they ever do work on a VPS or dedicated server, they either need to really know there stuff, or hire a server admin. Agreed, I guess the main reason I do it is because I do run a dedicated server, and not shared. I guess it all depends on what you want to learn. Quote Link to comment https://forums.phpfreaks.com/topic/54366-solved-setting-up-a-test-server-locally/#findComment-269265 Share on other sites More sharing options...
Dragen Posted June 6, 2007 Author Share Posted June 6, 2007 hehe, thanks for all the advice guys! really appreciated. I think for now I'm gonna stick with wamp as I simply want to test some stuff and not set up a whole server, but I'll keep in mind doing it individually if needs be. I just think it'll take too long when I don't need to do so at the moment. Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/54366-solved-setting-up-a-test-server-locally/#findComment-269275 Share on other sites More sharing options...
Caesar Posted June 6, 2007 Share Posted June 6, 2007 In the real world, most php devs will work on shared servers, so any additional configuration is out of there hands. If they ever do work on a VPS or dedicated server, they either need to really know there stuff, or hire a server admin. I have to say that setting up Apache/PHP/MySQL on my own Linux server was an extremely great learning experience that has yielded so much in the last couple of years in terms of the benefits and knowledge it brought. It's made troubleshooting some things extremely easy. And I know my employers love the fact I know what I'm talking about when I'm working with the server administrators about server related issues that affect PHP directly/indirectly. Quote Link to comment https://forums.phpfreaks.com/topic/54366-solved-setting-up-a-test-server-locally/#findComment-269362 Share on other sites More sharing options...
dbillings Posted June 6, 2007 Share Posted June 6, 2007 I think dealing with the frustration of setting up a server may make some beginners lose interest before they actually get into the fun part, the programming. If after you get your feet wet programming then by all means go for the manual install. Quote Link to comment https://forums.phpfreaks.com/topic/54366-solved-setting-up-a-test-server-locally/#findComment-269577 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.