Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567426 - dev-lang/php-7.*: eselect php list apache2 does not show php7
Summary: dev-lang/php-7.*: eselect php list apache2 does not show php7
Status: RESOLVED DUPLICATE of bug 552156
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-03 07:39 UTC by Martin Wohlert
Modified: 2015-12-06 17:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Wohlert 2015-12-03 07:39:47 UTC
I did emerge dev-lang/php with apache2 use flag and can't eselect the apache2 module. I also have 5.4 and 5.6 installed with same use flags. Affects the final 7.0 ebuild and was the same problem with the RCs.

# eselect php list apache2
  [1]   php5.4
  [2]   php5.6 *

# eselect php list cli
  [1]   php5.4
  [2]   php5.6 *
  [3]   php7.0

# emerge php -pv
...
[ebuild   R   #] dev-lang/php-7.0.0:7.0::gentoo  USE="apache2 bzip2 calendar cli crypt ctype curl debug fileinfo filter flatfile ftp gd gdbm hash iconv imap ipv6 json ldap mhash mysql mysqli nls odbc opcache pdo phar posix postgres readline session simplexml soap sqlite ssl systemd threads tokenizer truetype unicode xml xmlreader xmlrpc xmlwriter xslt zip zlib -bcmath -berkdb -cdb -cgi -cjk -embed -enchant -exif (-firebird) -fpm (-frontbase) -gmp -inifile -intl -iodbc -kerberos -ldap-sasl -libedit -oci8-instant-client -pcntl -qdbm -recode (-selinux) -sharedmem -snmp -sockets -spell -sysvipc -tidy -vpx -wddx -xpm" 0 KiB

Reproducible: Always

Steps to Reproduce:
1. emerge dev-lang/php:7.0 with USE "apache2"
2. try eselect php set apache2 php7.0
Comment 1 Martin Wohlert 2015-12-04 07:04:23 UTC
It turns out to be a problem of eselect-php and maybe apache2.

When you manually symlink /usr/lib64/apache2/modules/libphp5.so -> /usr/lib64/php7.0/apache2/libphp7.so it's working.
Comment 2 Michael Orlitzky gentoo-dev 2015-12-06 17:19:46 UTC
This is.. in progress. I haven't had a chance to test Brian's patch (see the duplicate bug) but I can probably do it tonight.

If you don't mind, try it out and give it a thumbs up/down. Once we know it works we just have to push out a new version of eselect-php.

*** This bug has been marked as a duplicate of bug 552156 ***