| Summary: | mod_php installs /usr/bin/php | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | awk <glawk01> |
| Component: | Current packages | Assignee: | PHP Bugs <php-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | askwar |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
qpkg output
php-sapi-eclass.fixup |
||
|
Description
awk
2004-08-02 15:52:15 UTC
please attach the output of: qpkg -l php 2>&1 -nc -v |egrep '^[^/]|/bin/php' (you'll need to install gentoolkit for qpkg). Created attachment 36675 [details]
qpkg output
here it is.
apply attached patch to your php-sapi.eclass, rebuild mod_php and confirm that /usr/bin/php is no longer being installed. Created attachment 36678 [details, diff]
php-sapi-eclass.fixup
patch to fix issue
yes, that worked. in cvs. I now have apace2 compiled with USE=-threads and am trying to compile php and mod_php (in that order) with USE=session. I get the following error when mod_php is about to be installed:
>>> Completed installing into /var/tmp/portage/mod_php-5.0.2/image/
* checking 34 files for package collisions
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/openssl.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/calendar.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/curl.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/ldap.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/pgsql.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/mhash.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/bcmath.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/iconv.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/zlib.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/soap.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/ming.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/gettext.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/tidy.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/exif.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/bz2.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/dba.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/fam.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/pspell.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/ftp.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/ncurses.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/gmp.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/mbstring.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/mcrypt.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/sockets.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/pcntl.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/xsl.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/sysvmsg.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/sysvsem.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/sysvshm.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/xmlrpc.so is not owned by this package
existing file /usr/lib/php/extensions/no-debug-non-zts-20040412/mysql.so is not owned by this package
Now, while this bug has "/usr/bin/php" in the summary, I still think it also applies to this issue. Here, the mod_php extensions are to overwrite the php extensions. That's wrong. The solution would be, to put the mod_php extensions some place else, like in /usr/lib/mod_php. The solution would *not* be to remove the mod_php extensions, because it's entirely possible and senseful to compile php differently than mod_php.-
Alexander Skwar: open a new bug. do NOT reuse old bugs like this. Sure, no problem. Please see Bug# 71359. |