phpbrew init
???
openssl
in the requirements section... could that be the cause
Warning: Refusing to link: openssl
Linking keg-only openssl means you may end up linking against the insecure,
deprecated system OpenSSL while using the headers from Homebrew's openssl.
Instead, pass the full include/library paths to your compiler e.g.:
-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib
phpinfo();
from a site hosted by apache; Configuration File (php.ini) Path /etc
; so I symlinked /etc/php.ini
to /usr/local/etc/php/5.6/php.ini`
phpbrew install -j $(nproc) --stdout --name=php70 7.0 +default +gd +apxs2 +pdo +mysql +sqlite +openssl=/usr -- --with-libdir=lib64 --with-gd --with-pdo-mysql
If yes phpbrew can manage this version as the phpbrew installed versions?
PhpBrew cannot manage the system PHP version. You can only switch PhpBrew off to start using the PHP version.
phpbrew bash
or phpbrew zsh
). This way, you won't have to keep all build names in mind.
php-fpm
instead of a module. This way, your single Apache instance can use multiple PHP backends for different URLs (e.g. you can test the same website with multiple PHP versions depending on the hostname).