Summary: | mod_php-5.0.3 conf files are misplaced and apache2 doesn't load them | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sebastien M <watersoul> |
Component: | [OLD] Unspecified | Assignee: | PHP Bugs <php-bugs> |
Status: | VERIFIED TEST-REQUEST | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sebastien M
2005-04-05 14:27:01 UTC
mod_php5 is currently hard masked becuase of ZTS issues, but it seems 5.0.3-r2 has an experimental fix for that, and also the right location for the config file, could you please try this version and reopen if it's still wrong... I tested mod_php-5.0.3-r2 and it's fixed! Thanks! By the way, it works pretty well. mod_php-5.0.3-r2.ebuild uses an incorrect configure-switch: --enable-experimental-zts you have to use --enable-maintainer-zts instead (you should not use this switch in production enviroment!). Why is php5-prefork.patch needed? It removes the following: - if test "$APXS_MPM" != "prefork"; then - PHP_BUILD_THREAD_SAFE - fi But why? That code makes a lot of sense to me. Or will $APXS_MPM not be set? But why not? If I compile it by myself I have no problems with ZTS. If I don't use --enable-maintainer-zts and use prefork MPM, I get a PHP-Version without ZTS. ATM I don't see the reason for the php5-prefork.patch workaround. I have used the mod_php-5.0.3-r2.ebuild on different servers for quite a while now, and it works perfectly. In most cases I use it with Apache 1.3, but I also tested with 2.0. Because of the security-issues with <5.0.4 I use 5.0.4 for some time in production enviroment now. mod_php-5* is masked for 2 months now, there is no official 5.0.4 ebuild, which has been released 1 month ago (including security-fixes). You should not use mod_php with a threaded MPM at all: http://www.php.net/manual/en/faq.installation.php#faq.installation.apache2 You also should not use PHP 5.0.3: http://secunia.com/advisories/14792/ (remote access: http://bugs.gentoo.org/show_bug.cgi?id=87471) |