====== Ошибки при сборке PHP через phpbrew ======
Exception: apxs binary is not executable:
apt-get install apache2-dev apache2-prefork-dev
find / -name "apxs*"
phpbrew install 5.6 +default +mysql +pdo +apxs2=/usr/bin/apxs2 +icu +intl
configure: error: xml2-config not found. Please check your libxml2 installation.
apt-get install libxml2-dev
checking for BZip2 in default path... not found
apt-get install libbz2-dev
configure: error: Please reinstall the libcurl distribution
apt-get install libcurl4-gnutls-dev
checking for location of ICU headers and libraries... not found
apt-get install -y libicu-dev
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
apt-get install g++
configure: error: mcrypt.h not found. Please reinstall libmcrypt.
apt-get install libmcrypt-dev
configure: error: Please reinstall readline - I cannot find readline.h
apt-get install libreadline-dev
configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
apt install libxslt-dev
sh: 1: make: not found
apt-get install make
checking whether to enable JIS-mapped Japanese font support in GD... no
apt-get install libjpeg62-dev
checking whether to enable JIS-mapped Japanese font support in GD... no
apt-get install libjpeg62-dev libpng-dev libfreetype6-dev