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...»)
 
 
(не показана 1 промежуточная версия этого же участника)
Строка 7: Строка 7:
 
  # apt-get install libxml2 libxml2-dev libssl-dev libbz2-dev libcurl4-openssl-dev libjpeg-dev libpng12-dev libfreetype6-dev libmcrypt-dev libmysqlclient-dev make
 
  # 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
 
  # ./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
 
  # make && make install

Текущая версия на 19:11, 15 марта 2016

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