I have only php-5.4 (and httpd-php-5.4) installed on my system, and I have unmerged 5.3 completely and restarted anything php related. I have never set PHP_TARGETS in make.conf. However, running emerge --info shows that PHP_TARGETS="php5-3". I'm not sure where it is being picked up, or if it will have adverse effects.
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