Summary: | dev-php/mod_php pointlessly requires dev-php/php, as one cannot build modules for dev-php/php and expect them to work with dev-php/mod_php! | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alex Zinner <bugzilla> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alex Zinner
2004-12-03 18:33:23 UTC
pear needs dev-php/php and can't be build against dev-php/mod_php. that's it. So? What about phpize? The fact that you only get pear with CLI is irrelevant, you still need the correct phpize and headers to build extensions for mod_php! Solved, although the ebuild is still broken. To fix: 1. tar jxf /usr/portage/distfiles/php-5.0.2.tar.bz2 2. cd php-5.0.2 3. just paste the ./configure line from the phpinfo() from Gentoo's mod_php install 4. make && make install This works perfectly, it also installs php-config, phpize, and the proper php headers, now you can build custom extensions with: 1. tar zxf /some/pecl/extension-4.0.tgz 2. cd extension-4.0 3. phpize && ./configure 4. make && make install |