php-fpminstead 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 🤷♀️
I'm trying to run a website using PHP 7.1 (7.4 installed by default). It took a while but I finally got 7.1 installed system-wide using
phpbrew install 7.1 +default +mysql +openssl=shared -- --with-libdir=lib64
I suspect this build doesn't include php-fpm which I'm thinking I'm going to need for
Nginx to access 7.1
Does anyone have a link to a cookbook recipe of getting
Nginx to recognize the version of PHP in phpbrew?
php-7.1.33/include -I/Users/xvilo/.phpbrew/build/php-7.1.33/main -I/Users/xvilo/.phpbrew/build/php-7.1.33 -I/Users/xvilo/.phpbrew/build/php-7.1.33/ext/date/lib -I/usr/local/Cellar/libxml2/2.9.10_1/include/libxml2 -I/usr/local/opt/zlib//include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Users/xvilo/.phpbrew/build/php-7.1.33/TSRM -I/Users/xvilo/.phpbrew/build/php-7.1.33/Zend -I/usr/local/opt/zlib/include -no-cpp-precomp -g -O2 -fvisibility=hidden -DZEND_SIGNALS -c /Users/xvilo/.phpbrew/build/php-7.1.33/main/reentrancy.c -o main/reentrancy.lo /Users/xvilo/.phpbrew/build/php-7.1.33/main/reentrancy.c:139:23: error: too few arguments to function call, expected 3, have 2 readdir_r(dirp, entry); ~~~~~~~~~ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/dirent.h:110:1: note: 'readdir_r' declared here int readdir_r(DIR *, struct dirent *, struct dirent **) __DARWIN_INODE64(readdir_r); ^ 1 error generated. make: *** [main/reentrancy.lo] Error 1