Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 519498

Summary: dev-lang/php[apache2] requires www-servers/apache[unixd]
Product: Gentoo Linux Reporter: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Component: [OLD] DevelopmentAssignee: PHP Bugs <php-bugs>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-08-09 12:19:33 UTC
dev-lang/php[apache2] requires www-server/apache[unixd] or else something like this happens when trying to start apache with php:

apache2 has detected an error in your setup:
apache2: Syntax error on line 149 of /etc/apache2/httpd.conf: Syntax error on line 4 of /etc/apache2/modules.d/70_mod_php5.conf: Cannot load /usr/lib64/apache2/modules/libphp5.so into server: /usr/lib64/apache2/modules/libphp5.so: undefined symbol: ap_unixd_config


So I suggest to replace the following line in DEPEND

  apache2? ( www-servers/apache[threads=] )

with

  apache2? ( www-servers/apache[threads=,unixd] )

Thanks
Comment 1 Ole Markus With (RETIRED) gentoo-dev 2014-08-18 08:53:48 UTC
This is only for apache-2.4?

So it should be something 2.2[threads=] or 2.4[threads=,apache_modules_unixd]

I'll update the deps for the next version bumps.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-08-18 16:53:04 UTC
Sorry I was in a hurry when filing this bug report.

You are right, this is needed for apache-2.4. The deps should look like this:

  apache2? ( || ( >=www-servers-2.4/apache[apache2_modules_unixd,threads=] <www-servers-2.4/apache[threads=] ) )
Comment 3 Sebastian Pipping gentoo-dev 2015-04-05 20:13:54 UTC
The only version of PHP with this left unfixed is 5.3.29, still reading

  apache2? ( www-servers/apache[threads=] )

All others seem fixed to say

  apache2? ( || ( >=www-servers/apache-2.4[apache2_modules_unixd,threads=]
                  <www-servers/apache-2.4[threads=] ) )

already.
Comment 4 Ole Markus With (RETIRED) gentoo-dev 2015-04-06 09:26:07 UTC
PHP 5.3 is about to be removed, so this will be taken care of very soon
Comment 5 Brian Evans (RETIRED) gentoo-dev 2015-05-08 19:34:57 UTC
PHP 5.3 is gone