wiki:technical:soft:php
Различия
Показаны различия между двумя версиями страницы.
Предыдущая версия справа и слеваПредыдущая версияСледующая версия | Предыдущая версия | ||
wiki:technical:soft:php [2022/07/11 17:26] – Diman | wiki:technical:soft:php [2022/07/11 17:39] (текущий) – Diman | ||
---|---|---|---|
Строка 14: | Строка 14: | ||
Для того, чтобы собрать php на ubuntu 16.04 со своими настройками, | Для того, чтобы собрать php на ubuntu 16.04 со своими настройками, | ||
+ | < | ||
apt-get install git apache2 mysql-server make autoconf gcc bison libxml2 \ | apt-get install git apache2 mysql-server make autoconf gcc bison libxml2 \ | ||
libxml2-dev libcurl4-openssl-dev pkg-config libssl-dev \ | libxml2-dev libcurl4-openssl-dev pkg-config libssl-dev \ | ||
Строка 24: | Строка 24: | ||
mkdir /root/php7 & cd /root/php7 | mkdir /root/php7 & cd /root/php7 | ||
+ | wget https:// | ||
+ | |||
+ | tar xfz php-7.2.34.tar.gz & cd php-7.2.34 | ||
+ | |||
+ | ./configure \ | ||
+ | --prefix=/ | ||
+ | --with-config-file-path=/ | ||
+ | --enable-mbstring \ | ||
+ | --enable-zip \ | ||
+ | --enable-bcmath \ | ||
+ | --enable-pcntl \ | ||
+ | --enable-ftp \ | ||
+ | --enable-exif \ | ||
+ | --enable-calendar \ | ||
+ | --enable-sysvmsg \ | ||
+ | --enable-sysvsem \ | ||
+ | --enable-sysvshm \ | ||
+ | --enable-wddx \ | ||
+ | --enable-gd-jis-conv \ | ||
+ | --enable-fd-setsize=10240 \ | ||
+ | --with-curl \ | ||
+ | --with-iconv \ | ||
+ | --with-gmp \ | ||
+ | --with-pspell \ | ||
+ | --with-gd \ | ||
+ | --with-jpeg-dir=/ | ||
+ | --with-png-dir=/ | ||
+ | --with-zlib-dir=/ | ||
+ | --with-xpm-dir=/ | ||
+ | --with-freetype-dir=/ | ||
+ | --with-openssl \ | ||
+ | --with-pdo-mysql=/ | ||
+ | --with-gettext=/ | ||
+ | --with-zlib=/ | ||
+ | --with-bz2=/ | ||
+ | --with-recode=/ | ||
+ | --with-mysqli=/ | ||
+ | |||
+ | |||
+ | make -j4 | ||
+ | make install | ||
+ | |||
+ | </ | ||
==== Ссылки ==== | ==== Ссылки ==== |
wiki/technical/soft/php.1657549577.txt.gz · Последнее изменение: 2022/07/11 17:26 — Diman