Инструменты пользователя

Инструменты сайта


wiki:technical:soft:php

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слеваПредыдущая версия
Следующая версия
Предыдущая версия
wiki:technical:soft:php [2022/07/11 17:26] Dimanwiki:technical:soft:php [2022/07/11 17:39] (текущий) Diman
Строка 14: Строка 14:
  
 Для того, чтобы собрать php на ubuntu 16.04 со своими настройками, действуем так: Для того, чтобы собрать php на ubuntu 16.04 со своими настройками, действуем так:
 +<code>
 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://www.php.net/distributions/php-7.2.34.tar.gz
 +
 +tar xfz php-7.2.34.tar.gz & cd  php-7.2.34
 +
 +./configure \
 +    --prefix=/usr \
 +    --with-config-file-path=/etc \
 +    --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=/usr \
 +    --with-png-dir=/usr \
 +    --with-zlib-dir=/usr \
 +    --with-xpm-dir=/usr \
 +    --with-freetype-dir=/usr \
 +    --with-openssl \
 +    --with-pdo-mysql=/usr \
 +    --with-gettext=/usr \
 +    --with-zlib=/usr \
 +    --with-bz2=/usr \
 +    --with-recode=/usr \
 +    --with-mysqli=/usr/bin/mysql_config
 +
 +
 +make -j4 
 +make install
 +
 +</code>
  
 ==== Ссылки ==== ==== Ссылки ====
wiki/technical/soft/php.txt · Последнее изменение: 2022/07/11 17:39 — Diman

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki