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

Bug 392931

Summary: dev-lang/php installs apache files even with USE=-apache2
Product: Gentoo Linux Reporter: Thomas Capricelli <orzel>
Component: [OLD] ServerAssignee: PHP Bugs <php-bugs>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Thomas Capricelli 2011-12-02 16:17:22 UTC
I have the problem with dev-lang/php-5.3.8 but i guess it's not the only one:

Reproducible: Always

Steps to Reproduce:
1.# check USE flags: '-apache2' is displayed in blue, meaning that it has not changed since the package was actually merged.

# emerge =dev-lang/php-5.3.8
[ebuild   R   ] dev-lang/php-5.3.8  USE="berkdb bzip2 cgi cli crypt ctype curl fileinfo filter fpm ftp gd hash iconv imap ipv6 json ldap mysql mysqli nls pdo phar posix readline session simplexml sockets sqlite sqlite3 ssl threads tokenizer truetype unicode xml zip zlib (-adabas) -apache2 -bcmath (-birdstep) -calendar -cdb -cjk -curlwrappers -db2 (-dbmaker) -debug -doc -embed (-empress) (-empress-bcs) -enchant (-esoob) -exif -firebird -flatfile (-frontbase) -gd-external -gdbm -gmp -inifile -interbase -intl -iodbc -kerberos -kolab -ldap-sasl -libedit -mhash -mssql -mysqlnd -oci8 -oci8-instant-client -odbc -pcntl -pic -postgres -qdbm -recode -sapdb -sharedext -sharedmem -snmp -soap (-solid) -spell -suhosin (-sybase-ct) -sysvipc -tidy -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl"                                               

Would you like to merge these packages? [Yes/No]

2. # check installed files:
web apache2 # equery  files php | grep apache
/etc/apache2
/etc/apache2/modules.d
/etc/apache2/modules.d/70_mod_php5.conf
/etc/php/apache2-php5.2
/etc/php/apache2-php5.2/ext
/etc/php/apache2-php5.2/ext-active
/etc/php/apache2-php5.2/php.ini
/usr/lib/debug/usr/lib64/php5.2/apache2
/usr/lib/debug/usr/lib64/php5.2/apache2/libphp5.so.debug
/usr/lib64/apache2
/usr/lib64/apache2/modules
/usr/lib64/apache2/modules/.keep_dev-lang_php-5.2
/usr/lib64/php5.2/apache2
/usr/lib64/php5.2/apache2/libphp5.so




Expected Results:  
Nothing related to apache2 should be there.. should it?

The setup is nginx + php-fpm
Comment 1 Ole Markus With (RETIRED) gentoo-dev 2011-12-06 15:05:25 UTC
Hi,

You should try emerge -N php:5.2 (or really, emerge -C php:5.2)

Cheers,
Ole Markus
Comment 2 Thomas Capricelli 2011-12-07 11:34:14 UTC
Er... you right, those files belonged to 5.2, 5.3 is ok. Sorry for the noise.