tar -zxvf mysql-standard-5.0.16-linux-i686-glibc23.tar.gz
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /PATH/TO/MYSQL-VERSION-OS.tar.gz | tar xvf -
shell> ln -s FULL-PATH-TO-MYSQL-VERSION-OS mysql
shell> cd mysql
shell> scripts/mysql_install_db --user=mysql
shell> chown -R root .
shell> chown -R mysql data
shell> chgrp -R mysql .
shell> bin/mysqld_safe --user=mysql &
mkdir /var/log/mysql
root@lnx498:/usr/local/mysql# ln -s /usr/local/mysql/data/lnx498.err /var/log/mysql/
cp support-files/mysql.server /etc/rc.d/rc.mysqld
tar -zxvf apache_1.3.34.tar.gz
tar -jxvf php-4.4.1.tar.bz2
cd apache_1.3.34
./configure --enable-module=so
make
make install
cd ../php_XXX
env CFLAGS="-DEAPI" ./configure --with-mysql=/usr/local/mysql --with-openssl=/usr/local/ssl --with-apxs=/usr/local/apache/bin/apxs --enable-mbstring --with-mm=/usr/local
make
make install
modifica /usr/local/lib/php.ini
metti register_global = On
##############mod_php.conf#####################################################
#
# mod_php - PHP Hypertext Preprocessor module
#
# Load the PHP module:
LoadModule php4_module libexec/libphp4.so
# Tell Apache to feed all *.php files through the PHP module:
AddType application/x-httpd-php .php
# This will display PHP files in colored syntax form. Use with caution.
#AddType application/x-httpd-php-source .phps
################################################################################
da aggiungere in fondo a httpd.conf
ricordati di agg /usr/local/apache/bin:/usr/local/mysql/bin alla PATH
tar -jxvf phpMyAdmin-2.7.0.tar.bz2
mv phpMyAdmin-2.7.0 phpMyAdmin
root@lnx498:/Dati/Software/Linux/phpmyadmin# mv phpMyAdmin phpmyadmin
root@lnx498:/Dati/Software/Linux/phpmyadmin# mv phpmyadmin/ /usr/local/apache/htdocs/