Free Web Hosting by Netfirms
Web Hosting by Netfirms | Free Domain Names by Netfirms





How I installed PHP+Apache+Mysql+GD on Redhat 8
Just follow these instructions:
# Move to /usr/local
cd /usr/local
# Get this source: ---------------------------------------------------->



# Decompress the sources:
tar -xvzf httpd-2.0.43.tar.gz
tar -xvzf php-4.3.0.tar.gz
tar -xvzf mysql-3.23.55.tar.gz
tar -xvzf gd-2.0.11.tar.gz
# Compile the sources:
For GD
cd gd-2.0.11
./configure
make
For MySQL
cd ../mysql-3.23.55
./configure
make
make install
scripts/mysql_install_db
adduser mysql
# In the file /etc/login.access add this line: -:mysql:ALL
# So the user mysql never actualy logs in
# Do this -----> chown mysql.mysql /usl/local/var

#safe_mysqld --user=mysql &
# Hit
mysqladmin -u root password 'yourpasswordhere'
For Apache
cd ../apache-x
./configure --prefix=/usr/local/apache --enable-module=most (or 'so', whatever you like)--enable-shared=max
make
For PHP
cd ../php-4.3.0
./configure
\ --with-apxs2=/usr/local/apache/bin/apxs
\ --with-config-file-path=/usr/local/apache/conf
\ --enable-versioning
\ --with-mysql=/usr/local
\ --enable-ftp
\ --with-gd=/usr/local/gd-2.0.11
\ --enable-bcmath
\ --disable-debug
\ --enable-memory-limit=yes
\ --enable-track-vars make make install

Read these instructions ------------------------------------------------------------------------------->

How I did it Articles Downloads Help me Home


Download the source:

httpd-2.0.43.tar.gz
php-4.3.0.tar
mysql-3.23.55.tar.gz
gd-2.0.11.tar.gz

 

 

 

 

 

 

 

Read these instructions -----

Make sure you have the following lines in the file /usr/local/apache/conf/httpd.conf -

LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c

DirectoryIndex index.html index.php index.php3 index.phtml

AddType application/x-httpd-php .php .php3 .phtml
AddType application/x-httpd-php-source .phps

 

Author: vishal@web.de