intro |  html |  css |  design |  scripting |  dhtml |  server 

intro
html
css
design
scripting
dhtml
server



This page covers:
   Download Apache, MySQL, PHP
   Install Apache, MySQL, PHP
   Additional Notes

This is not a comprehensive tutorial. That will come later. This is a quick overview to get started. These instructions are for installation on a RedHat LINUX system.

Download Apache, MySQL, PHP

Install Apache, MySQL, PHP

Apache:
     gunzip apache_1.3.23.tar.gz | tar xvf -
     cd apache_1.3.23
     ./configure --with-layout=RedHat --enable-module=so
     make
     make install

MySQL:
     rpm -Uvh MySQL-devel-3.23.49-1_i386.rpm
     rpm -Uvh MySQL-3.23.49-1_i386.rpm
     rpm -Uvh MySQL-client-3.23.49-1_i386.rpm

PHP:
     gunzip php-4.1.1.tar.gz | tar xvf -
     cd php-4.1.1
     ./configure --with-apxs=/usr/sbin/apxs --with-mysql
     make
     make install

Additional Notes

The above steps will install Apache with module support, install the client, server and devel packages for MySQL, and install PHP as an Apache module.

For PHP, make sure your /etc/httpd/conf/srm.conf file has the following line uncommented:

AddType application/x-httpd-php3 .php3

This tells Apache that .php3 files are this mime type. You can add also repeat this line for other file extensions (for example .php).



 
hardCoder.com © 1999-2011. all rights reserved. // site created and maintained by kathy ahn