Summary: | After upgrading to dev-lang/php-5.4 PHP_TARGETS is still set to 5.3 by default | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Flogeras <dflogeras2> |
Component: | [OLD] Development | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.gentoo.org/proj/en/php/php-upgrading.xml | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
David Flogeras
2012-09-06 11:05:30 UTC
Does this help? Well I read that, but where I don't have any PHP_VERSIONS set, and only have 5.4 packages installed I wondered where/why it is getting the php5-3 in emerge --info. I could certainly set it in make.conf, but figured that by default it should pick up the correct version (and its one less thing I have to manage via make.conf). Actually I think this stems from the section in /usr/portage/profiles/base/make.defaults: ---- snip ---- # Ole Markus With <olemarkus@gentoo.org> (09 Oct 2010) # Default PHP targets (should always be latest stable version) PHP_TARGETS="php5-3" ---- snip ---- Perhaps that needs a bump up? (In reply to comment #3) > Actually I think this stems from the section in > /usr/portage/profiles/base/make.defaults: > > ---- snip ---- > # Ole Markus With <olemarkus@gentoo.org> (09 Oct 2010) > # Default PHP targets (should always be latest stable version) > PHP_TARGETS="php5-3" > > ---- snip ---- > > Perhaps that needs a bump up? Even though php 5.4 is stable on some archs now, it is not the default php version in Gentoo yet, mostly because some key extensions are still missing php 5.4 support. PHP_TARGETS is a variable you re supposed to set in make.conf if you want something specific. I guess I've only been running 5.3 so the defaults always been ok. I'll mark resolved/invalid. BTW is there a script/anything I have to run to rebuild affected packages after setting PHP_TARGETS? (like python-updater?) My php stack is usually only php itself, apache/nginx, and drupal/wordpress as apps |