I'm having problems installing PHP on my system. PHP 5.2.2-r2 requires the /usr/bin/apxs2 application but the latest apache 2.2 ebuild refuses to provide this binary. Reproducible: Always Steps to Reproduce: emerge php with USE="apache2" on ~x86 and ~amd64. Actual Results: Emerge fails with: /usr/portage/eclass/apache-module.eclass: line 227: //usr/sbin/apxs2: No such file or directory * The module you are trying to install (php) * will only work with one of the following MPMs: * itk peruser prefork * You do not currently have any of these MPMs installed. * Please re-install apache with the correct mpm-* USE flag set.
(In reply to comment #0) > I'm having problems installing PHP on my system. PHP 5.2.2-r2 requires the > /usr/bin/apxs2 application but the latest apache 2.2 ebuild refuses to provide > this binary. > > Reproducible: Always > > Steps to Reproduce: > emerge php with USE="apache2" on ~x86 and ~amd64. > Actual Results: > Emerge fails with: > /usr/portage/eclass/apache-module.eclass: line 227: //usr/sbin/apxs2: No such > file or directory > * The module you are trying to install (php) > * will only work with one of the following MPMs: > * itk peruser prefork > * You do not currently have any of these MPMs installed. > * Please re-install apache with the correct mpm-* USE flag set. Nah, I screwed up. We currently patch the Makefile.in in support/ to move some tools to app-admin/apache-tools. But apparently when doing this patch, I forgot to add apxs to a certain Makefile parameter (PROGRAMS if you're curious). I just committed an rev-bumped ebuild, to ensure everyone gets apxs{,2}. Wait the usual ~45 minutes till the changes sync to the rsync-mirrors, sync up, and update to apache-2.2.4-r4. After that dev-lang/php shouldn't complain anymore. Again, I'm really sorry for overlooking this.
You are a friendly _human_ being. Thnx
*** Bug 180051 has been marked as a duplicate of this bug. ***