21 03 2021
Centos + PHP5.6 수동설치
1.Download
cd /app/install
wget http://kr1.php.net/distributions/php-5.6.17.tar.gz
tar xzvf php-5.6.17.tar.gz
2.Library install
yum install -y libxml2-devel libcurl-devel gd-devel libmcrypt-devel
3.Compile & install
cd /usr/local/php-5.6.17
./configure –prefix=/usr/local/php –with-apxs2=/usr/local/apache/bin/apxs –with-mysql=/usr/local/mysql –with-mysqli=/usr/local/mysql/bin/mysql_config –with-pdo-mysql=/usr/local/mysql –disable-debug –enable-sigchild –enable-inline-optimization –enable-sysvsem –enable-sysvshm –enable-bcmath –enable-ftp –enable-sockets –enable-exif –enable-soap –with-zlib-dir=/usr –with-zlib –with-gd –with-jpeg-dir=/usr –with-png-dir=/usr –with-freetype-dir=/usr –with-iconv –enable-mbstring –with-curl –with-openssl –enable-zip
make && make install
Comments are currently closed.