Jump to content

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/54366-solved-setting-up-a-test-server-locally/
Share on other sites

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.

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.

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.

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.

 

 

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.

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.

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!

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.