Archive

Posts Tagged ‘Apache’

How to Install Apache, PHP And MySQL In 10 Minutes!

December 9th, 2008

Are you thinking of setting up your own web server for hosting your site or just play around a little? This is not hard and in this article we are going to install Apache, PHP and MySQL with the open source bundle WAMP.

First off we need to download the Windows package. Do that here.

Once the download is finished, we need to install the package.

When you run the setup, make sure that you check the Autostart option, this can be a nice feature which spares you the time to launch it from the start menu everytime you reboot. Except that, stick to the defaults unless you know what you are doing.

When the installation is completed, head to http://localhost. If you see the WAMP welcome page, everything went successful!


After that we succeeded the installation, we need to configure MySQL in order to make it secure. Click on the PhpMyAdmin link on the Wamp welcome screen or head your browser to http://localhost/phpmyadmin.
Click on the “Privilegies” link on the PhpMyAdmin welcome screen and then edit the privilegies for the user root.

Scroll down to the pane “Change Password” and set a new password for your root account. After we have set a password for the MySQL root account, we need to edit the PhpMyAdmin configuration file. This file can be found (in a default installation) under C:/wamp/apps/phpmyadmin2.*/config.inc.php. Open this file with Notepad or any other text editor and scroll down to the line $cfg['Servers'][$i]['password']      = ”;

Type in the password that you’ve set for the root account, for example:
$cfg['Servers'][$i]['password']      = ‘thisismysafepassword’;

You are now ready to start playing around with your very own web server.
Stay tuned for an article in how you install and configure your own WordPress weblog.

Software, Web development , , ,