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).
Hi! First time wanna be user of phpbrew here. Only used php from brew so far.
I thought phpbrew works similar in providing pre-compiled binaries for OSX alas I was wrong, I learned that :-)
I tried to compile the 7.2 version and get an error that libxml was missing but I've it installed via brew
and also ensured that the brew
path is define ..
I just, I'm not sure if I'm doing something fundamentally wrong? I thought phpbrew takes away the work of figuring these things out (dependencies, proper set up upfront, all the little requirements), otherwise it feels not so much different then trying to compile PHP from source…
Sorry maybe I just got off the wrong foot, would appreciate some insights.
Main reason is I want to try 7.4 beta on OSX but I couldn't find that version either 🤷♀️