Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 5.6 on Ubuntu 12.04 LTS #13

Closed
joshtronic opened this issue Aug 31, 2014 · 22 comments
Closed

PHP 5.6 on Ubuntu 12.04 LTS #13

joshtronic opened this issue Aug 31, 2014 · 22 comments

Comments

@joshtronic
Copy link

Just wanted to check in, I'm having great success with 5.6 on 14.04 LTS but when I attempt the same upgrade route on a 12.04 LTS system (clean install) I can't seem to get 5.6 installed, it sticks with 5.3. I am able to get 5.5 installed on 12.04 LTS though.

I browsed the blog but didn't see anything about support being dropped on 12.04 LTS so if I missed it, please pardon this ticket.

Thanks, love the project!

@jails
Copy link

jails commented Sep 1, 2014

Same for me, looks like only ppa:ondrej/php5-oldstable && ppa:ondrej/php5 works with Ubuntu 12.04 LTS. ppa:ondrej/php5-5.6 is completly ignored by 12.04 LTS since the first PHP 5.6 beta release.

@oerdnj
Copy link
Owner

oerdnj commented Sep 2, 2014

@joshtronic @jails: Backporting PHP 5.5 and PHP 5.6 to 12.04 LTS also needs whole apache2.4 backport. Are you sure you can't upgrade to Ubuntu 14.04 LTS?

@joshtronic
Copy link
Author

That actually brings up something interesting. I actually don't use apache (nginx + php-fpm) so it wouldn't bother me to not have apache2.4. I've wondered for a while, how come apache has been a dependency of this project?

To answer why I can't upgrade, it's not that I can't, I've simply been able to get the latest software that I needed by way of PPA ;)

@jails
Copy link

jails commented Sep 2, 2014

PHP 5.5 works fine with 12.04 LTS but the PHP 5.6 version seems to not be "detected" by apt. So yeah it's probably a dependency issue.

@oerdnj
Copy link
Owner

oerdnj commented Sep 2, 2014

It's not a "dependency" issue, I simply do not build php5-5.6 for precise.

All php5 SAPIs are built in one go and thus the build needs all rev-deps installed. Apache 2.4 package has changes the supporting infrastructure for apache modules so it would be a great PITA ro backport the packages back to apache 2.2.

@jails
Copy link

jails commented Sep 2, 2014

Oh ok thanks for the clarification !

@joshtronic
Copy link
Author

Understood, closing.

@oerdnj
Copy link
Owner

oerdnj commented Sep 2, 2014

I'll keep it open for now, if more people will request php5.6 for Ubuntu Precise, I will make the effort.

@oerdnj oerdnj reopened this Sep 2, 2014
@dhrrgn
Copy link

dhrrgn commented Sep 2, 2014

Just throwing my 2-cents in here. We have a fair amount of production servers running 12.04, and upgrading them, while possible, will require a ton of work. I understand it is a lot of work for you to backport the packages. However, 12.04 is an LTS with support until 2017. I know it would be a HUGE PITA to keep backporting things, but I think supporting 5.6, then dropping it for the next major release (7.0.0) would be ideal.

@danez
Copy link

danez commented Sep 5, 2014

We also maintain a lot of servers with 12.04, and would love to have php 5.6.

@koesie10
Copy link

koesie10 commented Sep 7, 2014

I'm also running a few servers with 12.04 and I'd love to have 5.6.

@joshtronic
Copy link
Author

Just donated 100€ to the project and posted about it on my blog. Hoping my community can influence moving forward with this :) 👍

@codex73
Copy link

codex73 commented Sep 7, 2014

👍 definitely will be good to have. I run many servers on 12.04 LTS at work and off. Even for development or testing sounds something that should be resolved, documented.

@oerdnj
Copy link
Owner

oerdnj commented Sep 7, 2014

Ok, thank you all for your comments and your support. I will look into backporting php5.6 for 12.04 LTS.

@oerdnj
Copy link
Owner

oerdnj commented Sep 9, 2014

JFTR You also might be interested in this: #15

@oerdnj
Copy link
Owner

oerdnj commented Sep 10, 2014

Hey guys, just an update - the php5-5.6 repository should have a version for precise in couple of minutes (when buildds finish their work).
I got stuck by too low version libbsd that prevented libedit backport that prevented php5 build :).

php5 on i386 is building right now and amd64 should follow shortly after libedit is built. Once we are there we can bootstrap dh-php5 and thus php-json. That should complete the basic support. Feel free to ask to add more apache2 and php5 modules, or else I will add them as I have a time...

@joshtronic
Copy link
Author

@oerdnj Just installed it myself, worked like a charm.

Thank you again for all of your hard work on this project!

@oerdnj
Copy link
Owner

oerdnj commented Sep 15, 2014

@joshtronic and rest -- Feel free to request additional PHP and/or Apache 2 modules in separate issues as you need them.

@smaboshe
Copy link

I'm having challenges installing php5-cli from the PPAs for PHP 5.4, 5.5 and 5.6 on Ubuntu 12.04. Ideally, I'd like to install PHP 5.6.

Has support for Ubuntu 12.04 been dropped since #13 (comment)?

Thanks!

@oerdnj
Copy link
Owner

oerdnj commented Oct 21, 2014

@smaboshe Please expand "I'm having challenges" - and better start a new issue for that...

@smaboshe
Copy link

@oerdnj Will do!

@smaboshe
Copy link

@oerdnj While trying to document my "challenges" to submit a new issue, I re-installed PHP 5.6. I did not have any problems this time around. I suspect my APT package list was out of sync and out of date.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants