Page 1 of 1

Мультиверсионность PHP

Posted: Wed Feb 27, 2019 9:25 am
by MrConstantine
Пожалуйста, помогите. Кто сталкивался с подобной проблемой? PHP выше версии 7.0 не компилируются.

OS: Ubuntu 16.04
OpenSSL 1.0.2g 1 Mar 2016

Команда:

Code: Select all

phpbrew install 7.3 +default +openssl=/usr/local/sslnew -- --with-openssl-dir=/usr/local/sslnew --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-mysql=mysqlnd --with-mysqli=mysqlnd --enable-pdo --with-pdo-mysql=mysqlnd --enable-exif --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --with-zlib-dir=/usr --with-mcrypt=/usr --with-mhash --with-xsl=/usr --enable-zip --enable-cgi --with-curl --with-gd --enable-pcntl --enable-mbregex --enable-gd-native-ttf --with-libdir=lib64 --enable-dba=shared --enable-intl --with-readline=/usr --enable-simplexml \--enable-soap --enable-zip --with-mhash=yes --enable-shmop --enable-sockets --enable-wddx --enable-calendar --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-bcmath --with-bz2 --enable-ctype --with-cdb --with-iconv --enable-exif --enable-ftp --with-gettext --with-pic 
Ошибка:

Code: Select all

*WARNING* You're runing phpbrew as root/sudo. Unless you're going to install
system-wide phpbrew or this might cause problems.
===> phpbrew will now build 7.3.2
===> Loading and resolving variants...
Checking distribution checksum...
Checksum matched: 946f50dacbd2f61e643bb737021cbe8b1816e780ee7ad3e0cd999a1892ab0add
===> Distribution file was successfully extracted, skipping...
===> Checking patches...
Checking patch for replace apache php module name with custom version name
Found existing build.log, renaming it to /root/.phpbrew/build/php-7.3.2/build.log.1551257346
===> Configuring 7.3.2...


Use tail command to see what's going on:
   $ tail -F /root/.phpbrew/build/php-7.3.2/build.log


Error: Configure failed:
The last 5 lines in the log file:
checking for Kerberos support... no

checking whether to use system default cipher list instead of hardcoded value... no

checking for RAND_egd... no

checking for pkg-config... /usr/bin/pkg-config

configure: error: Cannot find OpenSSL's <evp.h>

Please checkout the build log file for more details:
         tail /root/.phpbrew/build/php-7.3.2/build.log

Re: Мультиверсионность PHP

Posted: Wed Feb 27, 2019 11:50 am
by grayfolk
MrConstantine wrote:
Wed Feb 27, 2019 9:25 am
error: Cannot find OpenSSL's
Установите/обновите OpenSSL.