nginx - Phpbrew on ubuntu – how to change version? -


i have ubuntu 12.04 lts "precise", php 5.3.10 (from apt-get), fresh phpbrew 1.17.2, , php 5.4.35 installed phpbrew. works cli.

$ php -v # 5.3.10-1ubuntu3.11 $ phpbrew install 5.4.35 +default +fpm $ phpbrew switch 5.4.35 $ nginx -s reload $ service php5-fpm restart $ php -v // php 5.4.35 $ curl -il example.com | grep powered # still 5.3.10-1ubuntu3.11 ! why? 

than i've tried new fpm brew bind pid /var/run/php54-fpm.pid , reconfigure servers fastcgi_pass unix:/var/run/php54-fpm.pid;. $ phpbrew fpm start works correclty, example page phpinfo(); returns 5.3 version.

how really switch php version in case?

thanks in advance!

this issue explained here:

https://github.com/phpbrew/phpbrew/issues/226

basically have link php *.so files within apache config hand.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -