Re: PHP4 Install script

From: Date: Mon, 30 Oct 2000 11:50:00 +0000
Subject: Re: PHP4 Install script
Groups: php.general 
Request: Send a blank email to php-general+get-22662@lists.php.net to get a copy of this message
Here is the install script as it will not allow attachments on the list: ================================================= Hi I want to recompile PHP4 with for example mcrypt etc.... I compiled PHP4, MySQL, apache and Open SSL etc from a script however we now need to add mcrypt. Is there an easy way without recompiling all the above as we have a number of virtual hosts on the server? I could not get to php.net to research this as the site appeared to have stopped. Thanks in advance Tony PS If anyone improves the script - please email me a copy at tony@hotchilli.co.uk ================================================= #!/bin/bash # # # Author: Anthony Turner # # Copyright Hotchilli Internet Solutions # # To Install Apache 1.3.12 / PHP4 /MySQL 3.2.32 # rpm -e php rpm -e mod_perl rpm -e apache rm -f -r /usr/local/apache rm -f -r /usr/local/mysql rm -f -r /usr/local/ssl cd src/ rm -f -r mysql-3.23.27-beta rm -f -r apache_1.3.12 rm -f -r php4.0.1pl2 rm -f -r php-4.0.3pl1 rm -f -r openssl-0.9.5a rm -f -r mod_ssl-2.6.4-1.3.12 gunzip < mysql-3.23.27-beta.tar.gz | tar xvf - cd .. cd /home/HOTspecial/src/mysql-3.23.27-beta/ ./configure --prefix=/usr/local/mysql make make install mysql_install_db /usr/local/mysql/bin/safe_mysqld & /usr/local/mysql/bin/mysqladmin -u root password test cd .. gunzip < apache_1.3.12.tar.gz | tar xvf - cd /home/HOTspecial/src/apache_1.3.12 ./configure --prefix=/usr/local/apache cd .. tar zxvf php-4_0_3pl1_tar.tar cd /home/HOTspecial/src/php-4.0.3pl1 ./configure --with-mysql=/usr/local/mysql \ --with-xml \ --with-apache=../apache_1.3.12 \ --enable-track-vars make make install cp php.ini-dist /usr/local/lib/php.ini cd .. gunzip < openssl-0.9.5a.tar.gz | tar xvf - cd /home/HOTspecial/src/openssl-0.9.5a ./config --prefix=/usr/local/ssl \ make make test make install cd .. gunzip < mod_ssl-2.6.6-1.3.12.tar.gz |tar xvf - cd /home/HOTspecial/src/mod_ssl-2.6.6-1.3.12 ./configure --with-apache=../apache_1.3.12 cd .. cd /home/HOTspecial/src/apache_1.3.12 #SSL_BASE=../openssl-0.9.5a \ #RSA_BASE=../rsaref-2.0/local \ ./configure \ --enable-module=ssl \ --activate-module=src/modules/php4/libphp4.a \ --enable-module=php4 \ --prefix=/usr/local/apache \ --enable-shared=ssl make make certificate TYPE=custom make install cd /usr/local/apache/bin ./apachectl configtest ./apachectl start -----Original Message----- From: php@hotchilli.com <php@hotchilli.com> To: php-general@lists.php.net <php-general@lists.php.net> Date: 30 October 2000 11:52 Subject: [PHP] PHP4 Install script Hi I want to recompile PHP4 with for example mcrypt etc.... I compiled PHP4, MySQL, apache and Open SSL etc from a script however we now need to add mcrypt. Is there an easy way without recompiling all the above as we have a number of virtual hosts on the server? Thanks in advance Tony PS If anyone improves the script - please email me a copy at tony@hotchilli.co.uk

« previous php.general (#22662) next »