| Summary: | apache1 + mod_php5 = some problem | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Sergiy Borodych <Sergiy.Borodych> |
| Component: | [OLD] Development | Assignee: | PHP Bugs <php-bugs> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | pez |
| Priority: | High | ||
| Version: | 2004.3 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Sergiy Borodych
2004-12-15 05:55:38 UTC
Same goes on ppc for dev-php/mod_php-5.0.3 ! We have to make sure to have : LoadModule php5_module /usr/lib/apache/libphp5.so in apache.conf instead of : LoadModule php5_module extramodules/libphp5.so There is another stuff at the end of emerge that creates a small problem : no mod_php5.conf : ... * Setting extension_dir in php.ini * Securing fopen wrappers * Setting correct include_path * Adding extra symlink to Apache extramodules for PHP * Installing a Apache config for PHP (mod_php5.conf) install: ne peut Same goes on ppc for dev-php/mod_php-5.0.3 !
We have to make sure to have :
LoadModule php5_module /usr/lib/apache/libphp5.so
in apache.conf instead of :
LoadModule php5_module extramodules/libphp5.so
There is another stuff at the end of emerge that creates a small problem :
no mod_php5.conf :
...
* Setting extension_dir in php.ini
* Securing fopen wrappers
* Setting correct include_path
* Adding extra symlink to Apache extramodules for PHP
* Installing a Apache config for PHP (mod_php5.conf)
install: ne peut évaluer `/usr/portage/dev-php/mod_php/files/mod_php5.conf': Aucun fichier ou
répertoire de ce type
The bug is easy to fix : in the ebuild change :
doins ${FILESDIR}/mod_php5.conf
with
doins ${FILESDIR}/mod_php.conf
The dirty work around I used at the time (before studying the ebuild) was :
cd /etc/apache/conf/addon-modules
curl -o mod_php.conf http://gentoo.kems.net/gentoo-x86-portage/dev-php/mod_php/files/70_mod_php5.conf
Clearly fixing the ebuild would be better
This is happening for me as well. This seems to be a php problem, not an apache one, though there are new (masked) apache ebuilds in portage and the mod_*'s maintainers where encouraged to switch to the new apache-module.eclass, so this should be fixed soon... Please re-test with mod_php-5.0.4. |