星期五, 3月 24, 2006

Step by step :
apache2, mysql(4/5), php(4/5), gd2

It can be used fedora and CentOS(redhat linux like).

gd2

./configure --prefix=/usr/local/gd2
make;make install


php5
./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-config-file-path=/usr/local/php5 --enable-mbstring=tw --enable-ftp --with-zlib --with-regex=php --with-mysqli=/usr/local/mysql/bin/mysql_config --with-gd=/usr/local/gd2

php5.1
--with-zlib --enable-pdo=shared
php.ini
extension=pdo.so


php4
./configure --prefix=/usr/local/php4 --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-config-file-path=/usr/local/php4 --enable-mbstring=tw --enable-ftp --with-zlib --with-regex=php --with-mysqli=/usr/local/mysql/bin/mysql_config --with-gd=/usr/local/gd2

make;make install
 
↗ online | Total: