Comments (13)
Hi!
can you add an +fpm variant, I think this should work?
from phpbrew.
Just to make sure, the +default
doesn't already comes with php-fpm
?
I should test the +fpm
variant later today.
from phpbrew.
I just made a clean installation of php-brew with php-5.4.8 +default +fpm
.
☁ ~ which php
/Users/Arthur/.phpbrew/php/php-5.4.8/bin/php
☁ ~ php -v
PHP 5.4.8 (cli) (built: Nov 13 2012 11:22:52)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
☁ ~ which php-fpm
/usr/sbin/php-fpm
☁ ~ php-fpm -v
PHP 5.3.15 (fpm-fcgi) (built: Aug 24 2012 17:45:59)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
As you can see, the PHP versions of php
and php-fpm
diverge. I also couldn't find another php-fpm
binary inside phpbrew's PHP installation. Am I getting something wrong ?
from phpbrew.
Ah, the php-fpm should be located in
/Users/c9s/.phpbrew/php/php-5.4.6/sbin
but not in /Users/c9s/.phpbrew/php/php-5.4.6/bin
I think the phpbrew bash script should be modified to support this kind of
path.
2012/11/13 Arthur Corenzan [email protected]
I just made a clean installation of php-brew with php-5.4.8 +default +fpm.
☁ ~ which php
/Users/Arthur/.phpbrew/php/php-5.4.8/bin/php☁ ~ php -v
PHP 5.4.8 (cli) (built: Nov 13 2012 11:22:52)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies☁ ~ which php-fpm
/usr/sbin/php-fpm☁ ~ php-fpm -v
PHP 5.3.15 (fpm-fcgi) (built: Aug 24 2012 17:45:59)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend TechnologiesAs you can see, the PHP versions of php and php-fpm diverge. I also
couldn't find another php-fpm binary inside phpbrew's PHP installation.
Am I getting something wrong ?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/28#issuecomment-10326328.
Best Regards,
Yo-An Lin
from phpbrew.
Nailed! It should be moved to bin
or sbin
should be included in $PATH
as well.
I made a link:
sudo rm /usr/bin/php-fpm
sudo ln -s ~/.phpbrew/php/php-5.4.8/sbin/php-fpm /usr/bin/php-fpm
from phpbrew.
Non, it's installed by php's installation system, I wonder whether an
option for this or not ?
2012/11/14 Arthur Corenzan [email protected]
Nailed! It should be moved to bin or sbin should be included in $PATH as
well.I made a link: sudo rm /usr/bin/php-fpm; sudo ln -s
~/.phpbrew/php/php-5.4.8/sbin/php-fpm /usr/bin/php-fpm—
Reply to this email directly or view it on GitHubhttps://github.com//issues/28#issuecomment-10331695.
Best Regards,
Yo-An Lin
from phpbrew.
Any update on this? I'm experiencing the same thing.
from phpbrew.
Hi, you may do this to get the fpm binary path
echo which php
| sed -e 's/bin/sbin/`
PHPBrew adds the bin directory to the path, but the fpm binary is located in sbin directory.
from phpbrew.
I added it manually now, but if the php installation system is doing this, shouldn't phpbrew expect that and add it as well?
from phpbrew.
Yes, we may add a symbol link or add it to the path, but right now I don't have time to implement it.
from phpbrew.
Cool, we'll do it manually in the mean time. Thanks!
from phpbrew.
Thanks for your understanding. :-)
On Thu, Apr 25, 2013 at 1:24 AM, Fred Calsen [email protected]:
Cool, we'll do it manually in the mean time. Thanks!
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/28#issuecomment-16950072
.
Best Regards,
Yo-An Lin
from phpbrew.
Hi @sjelfull,
The FPM support is added! you may use phpbrew fpm
to manage fpm process now, please see the README file! :D
Regards,
Pedro
from phpbrew.
Related Issues (20)
- php deprecated creation of dynamic property warning HOT 11
- I cannot compile with +fpm argument on Ubuntu 22.04 with 2.1.0 HOT 2
- No package 'libsystemd' found HOT 2
- Unable to install intl extension on ubuntu 22.0.4 with php 7.2 compiled from phpbrew HOT 16
- installing/enabling imagick leads to segmentation fault on Kubuntu 23.04 HOT 5
- Can't install on php 8.2.4 HOT 4
- Php 8.2 not supported? HOT 9
- PHP Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array HOT 5
- When will PHP 8.2 be supported? HOT 6
- Centos8 install php 8 error
- Cannot switch to PHP v8.2.8 HOT 1
- PHP 8.1.11 (or 12) pgsql pg_config... not found … Cannot find libpq-fe.h HOT 2
- "patch for fix readline detection" is broken HOT 3
- Release workflow may have some problems
- Problems with 2.2.0 HOT 6
- Was 2.2.0 retagged? HOT 1
- bad pattern issue with phpbrew in macos HOT 1
- RuntimeException: Can't decode release json, invalid JSON string: [] HOT 2
- Failed to install php 7.4.33 on Mac HOT 7
- Abnormal termination (Segfaults) when running compiled php 8.2 as FPM process HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpbrew.