Review Web
Installing and Configuring Apache server, PHP and MySQL

This tutorial will detail how to install a web server on your PC and host your own website at home. The server is based on the freely distributed Apache program, known the world over for its quality. This tutorial will also present the methods used to install the PHP language files as well as the MYSQL database manager.

Installing and Configuring Apache server, PHP and MySQL

July 15th, 2003 - 06:00 pm ET by Michel-GNT

Installing PHP


Definition :

A free server programming language under the GPL license. A very powerful Scripting language that is used in the development of the Internet. The PHP code is integrated into the HTML source code. The languages syntaxes are C, Java or Perl, with a small number of edited functions. The interest of PHP is because it allows web developers to quickly write dynamic web pages. Also compatible with Asp or CGI.

Source:

http://www.webcom-agency.net/modules.php'name=Encyclopedia&op=content&tid=711

Installation :

To install Php, you should first of all download the “zip package” version.

Once this has been downloaded, unzip the file into the d:\Server\PHP\ directory and also take the time to create a D:\Server\temp folder which will be used for sent files.

Replace the D:\Server\PHP\php4ts.dll file in C:\Winnt\system if you are using NT 4 or 2000 or C:\Windows\System32 under Windows XP. Copy the D:\Server\PHP\php.ini-dit file into C:\windows and rename it to php.ini. This is the file that contains all our PHP configuration information.

There is nothing left to do but edit the d:\Server\Apache\conf\httpd.conf configuration file as we did for the PHP:

Add to the end of the file, or in the correct location (recommended), the following lines:

 

LoadModule php4_module "D:/Serveur/PHP/sapi/php4apache2.dll"
AddType application/x-httpd-php .php .php3

At this time, you will need to right click on the “Apache” icon in the system tray and chose Open Apache Monitor. Next, click on “Restart” to reinitialise the server with the new settings.

To test this you just need to create a new text document in the server folder and enter the following lines:

Save this file and give it the name of test.php or test.php3.

To see if everything worked fine, open your browser and enter this address http://localhost/test.php3 and you should see your page.

 


next page » Page 3 / 5 « previous page Post a comment
Previous review Next review
Creating/configuring a Windows XP local area network Configuring an ATI video card with TV output