Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65428 - Let mod_php5 and 4 be merged together
Summary: Let mod_php5 and 4 be merged together
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: PHP Bugs
Depends on:
Reported: 2004-09-26 10:50 UTC by Grzegorz Kulewski
Modified: 2004-09-26 13:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz Kulewski 2004-09-26 10:50:00 UTC
I have very stable server (TM) based (of course) on Gentoo. I have apache-1 and many of my users use mod_php4. But I want to allow them use mod_php5 if they want and if not let them stay with mod_php4 for some time. So I need both PHP4 and PHP5 merged and apache configured to use PHP4 for *.php and *.php4 and PHP5 for *.php5. But this, as far as I know, cannot be done currently. Could you add this feature?

If this feature is currently present, then please explain how to use it and sorry for taking your time.

Reproducible: Always
Steps to Reproduce:
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-09-26 13:49:32 UTC
The problem is NOT in Gentoo.
It's that symbol conflicts between mod_php[45] if you have both of them in Apache. Upstream PHP strongly recommends that you do NOT use both of them at the same time.

The great majority of all PHP4 code will work perfectly fine with PHP5.

The only route you could consider for what you want, is to install like so:

You'll have to force the last one to install manually using ebuild, as it will want dev-php/php-5.*, and I make no gaurentees on any PEAR code working with the PHP5 version in such a mixed setup.