/
thegraal
/
sniphint
Обзор
Документация
Войти
/
thegraal
/
sniphint
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
phpbrew.sh
85 строк
3 KB
thegraal
Update phpbrew.sh
20 сен 2017, 14:04
20 сен 2017, 14:04
0e5f689
Код
Авторство
О чём код?
apt-get install libssh-dev phpbrew install php-5.3.28 +default+fpm +openssl=shared -- --with-openssl-dir=/usr/bin/openssl phpbrew install php-5.3.29 +default+fpm+iconv+curl+cgi+apxs2 +openssl=shared -- --with-openssl-dir=/usr/bin/openssl #ALL PREREQS AT TIME # debian 7 apt-get install build-essential apache2-threaded-dev libxml2-dev libcurl4-openssl-dev pkg-config libssl-dev libbz2-dev libmcrypt-dev libreadline-dev libxslt-dev zlib1g-dev libssl-dev libicu-dev # debian 9 apt-get install build-essential apache2-dev libxml2-dev libcurl4-openssl-dev pkg-config libssl-dev libbz2-dev libcurl4-gnutls-dev libmcrypt-dev libreadline-dev libxslt-dev zlib1g-dev libssl1.0-dev ln -s /usr/include/x86_64-linux-gnu/curl /usr/local/include/curl #FOR VIRTUALMIN ln -s /root/.phpbrew/php/php-5.3.29/bin/php /usr/bin/php-cgi5.3 #ERRORS Exception: apxs binary is not executable: apt-get install apache2-dev checking libxml2 install dir... no checking for xml2-config path... configure: error: xml2-config not found. Please check your libxml2 installation. apt-get install libxml2-dev checking for Kerberos support... no checking for DSA_get_default_method in -lssl... no checking for X509_free in -lcrypto... no checking for pkg-config... /usr/bin/pkg-config configure: error: Cannot find OpenSSL's <evp.h> apt-get install libcurl4-openssl-dev pkg-config apt-get install libssl-dev checking if the location of ZLIB install directory is defined... no checking whether to enable bc style precision math functions... yes checking for BZip2 support... yes checking for BZip2 in default path... not found configure: error: Please reinstall the BZip2 distribution apt-get install libbz2-dev checking for cURL support... yes checking if we should use cURL for url streams... no checking for cURL in default path... not found configure: error: Please reinstall the libcurl distribution - easy.h should be in <curl-dir>/include/curl/ apt-get install libcurl4-gnutls-dev ln -s /usr/include/x86_64-linux-gnu/curl /usr/local/include/curl checking for alloca... (cached) yes checking for 8-bit clean memcmp... yes checking for stdarg.h... (cached) yes checking for mcrypt support... yes configure: error: mcrypt.h not found. Please reinstall libmcrypt. install libmcrypt-dev checking for utsname.domainname... yes checking for PSPELL support... no checking for libedit readline replacement... no checking for readline support... yes configure: error: Please reinstall readline - I cannot find readline.h apt-get install libreadline-dev checking whether to enable XMLWriter support... yes checking for xml2-config path... (cached) /usr/bin/xml2-config checking whether libxml build works... (cached) yes checking for XSL support... yes configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution apt-get install libxslt-dev checking for XSL support... yes checking for EXSLT support... found checking for zip archive read/writesupport... yes checking pcre install prefix... no checking for the location of zlib... configure: error: zip support requires ZLIB. Use --with-zlib-dir=<DIR> to specify prefix where ZLIB include and library are located apt-get install zlib1g-dev /usr/include/openssl/rand.h:47:1: note: declared here DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num)) ^ Makefile:577: recipe for target 'ext/openssl/openssl.lo' failed make: *** [ext/openssl/openssl.lo] Error 1 apt-get install libssl1.0-dev Exception: apxs binary is not executable: apt-get install apache2-dev