View Full Version : Installing Apache, PHP and MySql

01-19-2012, 06:23 PM
Im looking at installing all the above on my PC at home (Mostly just cause ive never tried it and i like messing about :p).

I was curious thought if theres a best method on which order to install them in?

01-19-2012, 06:28 PM
If you're looking to install them all manually, it can be done if you use the installers but if you want to manually install and configure I wouldn't bother - it takes ages and if you're wanting to stick it on a usb drive then good luck! It took me 3 months of tinkering to get Apache 1.3, PHP and MySQL to work like that.

Instead it's far easier to download one of the WAMP kits (Windows Apache, MySQL & PHP) such as XAMPP or the UniformServer.

I prefer the Uniform Server as its smaller but XAMPP dos have other features (like an FTP server) but it's rather bloated.

01-19-2012, 06:31 PM
Ahh okay, i have Uniform Server set up atm and its what i use. I think im best of just sticking with that then :p. Thanks for the advice :)

01-20-2012, 07:51 AM
If you want to install and configure them yourself, install in this order: apache, mysql, php. It isn't too hard to do yourself, I've done it at least a dozen times on Linux servers. If you are interested in more of the server admin side of things, it is a good thing to learn how to do.

01-20-2012, 10:34 AM
After a bit of debating with myself im trying to install them, Ive installed Apache and PHP but im having some trouble configuring them

I've read i need to add these lines to httpd.conf

LoadModule php5_module "c:/php-5.2.13/php5apache2_2.dll"

which i put after all these
#LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule version_module modules/mod_version.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so

Then i needed
AddType application/x-httpd-php .php

Which i put just before the closing tag for <IfModule mime_module>

And lastly they said put
PHPIniDir "c:\php-5.2.13"

at the very end of the file. I did all this and it caused Apache to fail to start. The paths to the files are correct, can anyone see a problem with any of this?

01-22-2012, 03:14 PM
I'll toss this in here for completeness:

If you really don't care at all for the initial configuration, AppServ (http://www.appservnetwork.com/) is another good package for WAMP.

I've always used AppServ for basic Windows installs, but you'll get a whole lot more useful experience installing and configuring each part separately. Good luck!

01-22-2012, 06:28 PM
I managed to find my problem (cant remember what it was :p, but its working now).