Debian 7 - компиляция php 5.3
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Debian 7 - компиляция php 5.3
# cat /etc/debian_version 7.8
# apt-get install libxml2 libxml2-dev libssl-dev libbz2-dev libcurl4-openssl-dev libjpeg-dev libpng12-dev libfreetype6-dev libmcrypt-dev libmysqlclient-dev make
# cd /tmp/ && wget -c http://ua2.php.net/get/php-5.3.29.tar.gz/from/this/mirror -O php-5.3.29.tar.gz && tar -xzvf php-5.3.29.tar.gz && cd php-5.3.29
# ./configure --prefix=/opt/php53 --with-zlib-dir --with-freetype-dir --enable-mbstring --with-libxml-dir=/usr --enable-soap --enable-calendar --with-curl --with-mcrypt --with-zlib --with-gd --disable-rpath --enable-inline-optimization --with-bz2 --with-zlib --enable-sockets --enable-sysvsem --enable-sysvshm --enable-pcntl --enable-mbregex --with-mhash --enable-zip --with-pcre-regex --with-mysql --with-pdo-mysql --with-mysqli --with-jpeg-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --with-openssl --enable-ftp --with-imap-ssl --with-kerberos --with-gettext --enable-cgi # make && make install