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