The depend value of QT in the PHP-ebuild isn't correct. The current value is "qt? ( =x11-libs/qt-2.3* )". It should be "qt? ( >=x11-libs/qt-2.3* )". People that use KDE3* don't want QT-2.3 installed if they want to use PHP.
or make it a generic dependency without version
committed