PHP
説明 [#a8a80b00] ソースからのPHPのインストールです。
手順 [#k8e619b0] [PHP5.1.6] [#f9fed8aa] # yum install gcc make libxml2-devel openssl-devel # cd /usr/local/src/ # wget
http://museum.php.net/php5/php-5.1.6.tar.gz
# tar xfvz php-5.1.6.tar.gz # mkdir /root/src # mv php-5.1.6 /root/src/ # cd /root/src/php-5.1.6 必要なものを有効化&パスは確認が必要 # ./configure \ –prefix=/usr/local/php-5.1.6 \ –with-config-file-path=/usr/etc \ –with-apx2=/usr/local/apache2/bin/apxs \ –enable-mbstring \ –with-gd \ –enable-gd-native-ttf \ –with-t1lib \ –with-ttf \ –enable-zend-multibyte \ –with-pgsql=/usr/local/pgsql/lib/ \ –with-pdo-pgsql=/usr/local/pgsql/lib/ \ –enable-xml \ –with-xpm-dir=/usr/lib64 \ –with-zlib \ –libdir=/usr/lib64 \ –with-libdir=lib64 # cd /usr/lib64/httpd/modules/ # mv libphp5.