vagrant-lamp icon indicating copy to clipboard operation
vagrant-lamp copied to clipboard

How to change PHP version

Open bruno-barros opened this issue 10 years ago • 7 comments

A tried to change PHP version...

default['php']['version'] = '5.4.27'

but no change happened. The PHP version is always 5.3.10. Is it possible? How would I accomplished that?

bruno-barros avatar Apr 11 '14 01:04 bruno-barros

bump - Having the same issue here...

EwanValentine avatar May 07 '14 19:05 EwanValentine

+1

zot24 avatar May 15 '14 09:05 zot24

+1

jfrubiom avatar May 30 '14 17:05 jfrubiom

+1 nobody know?

mackendy avatar Dec 12 '14 22:12 mackendy

+1

jfrubiom avatar Dec 12 '14 23:12 jfrubiom

+1

zilb avatar Jun 16 '15 15:06 zilb

That default['php']['version'] only matters, I believe, when the value for node['php']['install_method'] is source. Otherwise, you're at the mercy of whatever the package manager's repositories on your system pulls down since package is the default value.

I've had some luck changing it up on my forked repo (https://github.com/AdventurousWebDesign/vagrant-lamp). I needed to use PHP 5.3, but you could take the principals and install whatever you'd like.

cam5 avatar Jan 31 '16 19:01 cam5