CentOS 7 - сборка PHP 7.3.x: различия между версиями
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Admin iph (обсуждение | вклад) (Новая страница: «=== CentOS 7 - сборка PHP 7.3.x === # yum install libxml2-devel bzip2-devel curl-devel libjpeg-devel libpng-devel libX11-devel gd-devel libc-client libc-…») |
Admin iph (обсуждение | вклад) |
||
Строка 3: | Строка 3: | ||
# yum install libxml2-devel bzip2-devel curl-devel libjpeg-devel libpng-devel libX11-devel gd-devel libc-client libc-client-devel libmcrypt-devel mysql-devel gcc libzip-devel | # yum install libxml2-devel bzip2-devel curl-devel libjpeg-devel libpng-devel libX11-devel gd-devel libc-client libc-client-devel libmcrypt-devel mysql-devel gcc libzip-devel | ||
+ | |||
+ | Сборка php 7.3.11: | ||
+ | |||
# wget -c https://www.php.net/distributions/php-7.3.11.tar.gz | # wget -c https://www.php.net/distributions/php-7.3.11.tar.gz | ||
# tar -xzvf php-7.3.11.tar.gz | # tar -xzvf php-7.3.11.tar.gz |
Версия 16:30, 19 ноября 2019
CentOS 7 - сборка PHP 7.3.x
# yum install libxml2-devel bzip2-devel curl-devel libjpeg-devel libpng-devel libX11-devel gd-devel libc-client libc-client-devel libmcrypt-devel mysql-devel gcc libzip-devel
Сборка php 7.3.11:
# wget -c https://www.php.net/distributions/php-7.3.11.tar.gz # tar -xzvf php-7.3.11.tar.gz # cd php-7.3.11 # ./configure --prefix=/opt/php73new --with-zlib-dir --with-freetype-dir --enable-mbstring --with-libxml-dir=/usr --enable-soap --enable-calendar --with-curl --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-libdir=lib64 --with-pdo-mysql --with-mysqli --with-jpeg-dir=/usr --with-png-dir=/usr --with-openssl --enable-ftp --with-imap-ssl --with-kerberos --with-gettext --enable-cgi # make # make install