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

Upgrading php to 5.5.11

Open christerjohansson opened this issue 10 years ago • 6 comments

This looks like a nice dev-box. I am however looking for a box just like this, but with PHP 5.5.x installed. I'm no so good with provisioning these things, so I wonder if you could possibly tell me how to, or update this for us?

The newer versions have new features and stuff patched as you may know. Verson 5.3.10 is from 2009, lot's of things have been done since then. :)

christerjohansson avatar Apr 18 '14 00:04 christerjohansson

Sigh, know PHP 5.3 is now dead, unfortunately I'm still using it due to work/hosting support.

However I am working on the release of v1.0.0 and I'm changing several stuff in order to make it not only better and faster but compatible with 5.3, 5.4 and 5.5.

I will most likely have this done by or before the end of April.

onema avatar Apr 18 '14 00:04 onema

Wow! I would be forever thankful if you did update this box! I've searched all over for 2-3 days now without finding a suitable box to use. Particulary the multiple vhost is useful as I have several projects in Joomla and other CMS's going. Would be nice to be able to use latest versions.

I'll get into this dev with vagrant chef later this year. Thanx for the update! :)

christerjohansson avatar Apr 18 '14 00:04 christerjohansson

I recently found out about http://fideloper.github.io/Vaprobash/. You can provision your dev environment with a single Vagrantfile no need to maintain any recipes. The provisioning scripts are on github https://github.com/fideloper/Vaprobash.

On my end I was able to install any version of PHP that I wanted, but I was having issues installing the correct php modules for the selected version. I'll try to get that code up soon.

onema avatar Apr 29 '14 17:04 onema

Ok, sounds good. I however, forked another box, and upgraded it myself to Ubuntu Server 13.10 64-bit with LAMP-stack containing PHP 5.5.11, Apache 2.4.9 and MySQL 5.5. It has Puppet instead of Chef, but I've enabled both on the box.

Feel free to have a look in my profile, it's the only fork I have currently. :) https://github.com/christerjohansson/cptserver

christerjohansson avatar Apr 29 '14 17:04 christerjohansson

Please upgrade this! :)

serieseight avatar Nov 11 '14 19:11 serieseight

I'll try to take a look to get a more recent version of PHP.

In the meantime you may want to check out VaProBash. This is a well maintained project and will install most of the same tools this project would, and some more (no Neo4j, nor phpMyAdmin :disappointed: ).

I have a sample Vagrantfile that will install PHP 5.5.x, MySQL, MongoDB, Memcached, and setup XDEBUG, and it uses Ubuntu 14.04. Mac/Linux Version | Windows 8.1 Version

I haven't tested other versions of windows, but I assume it works.

This custom Vagrantfile will also setup your vhost like this project does (not supported out of the box in vaprobash), but it only works with Apache (no nginx).

onema avatar Nov 15 '14 22:11 onema