GithubHelp home page GithubHelp logo

php-fpm binary is missing about phpbrew HOT 13 CLOSED

phpbrew avatar phpbrew commented on July 21, 2024
php-fpm binary is missing

from phpbrew.

Comments (13)

c9s avatar c9s commented on July 21, 2024

Hi!

can you add an +fpm variant, I think this should work?

from phpbrew.

haggen avatar haggen commented on July 21, 2024

Just to make sure, the +default doesn't already comes with php-fpm ?

I should test the +fpm variant later today.

from phpbrew.

haggen avatar haggen commented on July 21, 2024

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.

c9s avatar c9s commented on July 21, 2024

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 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 ?


Reply to this email directly or view it on GitHubhttps://github.com//issues/28#issuecomment-10326328.

Best Regards,

Yo-An Lin

from phpbrew.

haggen avatar haggen commented on July 21, 2024

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.

c9s avatar c9s commented on July 21, 2024

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.

sjelfull avatar sjelfull commented on July 21, 2024

Any update on this? I'm experiencing the same thing.

from phpbrew.

c9s avatar c9s commented on July 21, 2024

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.

sjelfull avatar sjelfull commented on July 21, 2024

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.

c9s avatar c9s commented on July 21, 2024

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.

sjelfull avatar sjelfull commented on July 21, 2024

Cool, we'll do it manually in the mean time. Thanks!

from phpbrew.

c9s avatar c9s commented on July 21, 2024

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.

c9s avatar c9s commented on July 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.