Install PHP 7 on Ubuntu 14 with Apache2

Install PHP 7 on Ubuntu 14 with Apache2

Chris Medina

9 лет назад

4,434 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@deerfeeder
@deerfeeder - 20.11.2015 01:41

You`re the man mate! I`ve tried 10 different setups, including puPHPet but nothing worked until your video. great job!

Ответить
@jrmontteiro
@jrmontteiro - 08.04.2016 00:12

command instruction offline :(

Ответить
@valoninc.2115
@valoninc.2115 - 18.07.2020 14:18

apt-get update && apt-get install -y \
libcurl4-openssl-dev \
libmcrypt-dev \
libxml2-dev \
libjpeg-dev \
libfreetype6-dev \
libmysqlclient-dev \
libt1-dev \
libgmp-dev \
libpspell-dev \
libicu-dev \
librecode-dev \
libxpm4

Ответить
@valoninc.2115
@valoninc.2115 - 18.07.2020 14:31

./configure --prefix=/opt/php7 \
--with-config-file-path=/etc/php7 \
--with-config-file-scan-dir=/etc/php7/conf.d \
--disable-short-tags \
--enable-mbstring \
--enable-zip \
--enable-bcmath \
--enable-pcntl \
--enable-ftp \
--enable-exif \
--enable-calendar \
--enable-sysvmsg \
--enable-sysysem \
--enable-sysyshm \
--enable-wddx \
--with-curl \
--with-mcrypt \
--with-iconv \
--with-pspell \
--with-gd \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-zlib-dir=/usr \
--with-xpm-dir=/usr \
--with-freetype-dir=/usr \
--enable-gd-native-ttf \
--enable-gd-jis-conv \
--with-openssl \
--with-imap \
--with-imap-ssl \
--with-pdo-mysql=/usr \
--with-gettext=/usr \
--with-zlib=/usr \
--with-bz2=/usr \
--with-kerberos=/usr \
--with-mysql=/usr/bin/mysql_config \
--enable-fpm

Ответить