On 03/14/12 04:33 PM, Craig Mohrman wrote:
I'm trying to install only 1 of the php config files at a time
so that apache only has 1 to use.
All versions of php binaries can be installed at the same time
but apache should only use 1 version of php at a time.

Shouldn't that be done down at the httpd.conf level with <IfModule> directives, rather than asking the packaging system to do it?

If you have multiple instances of Apache running on the system, is it reasonable for each of them to be running a separate version of php?

As an aside, I have a feeling pkglint still can't cope with exclude dependencies when looking for duplicate paths, etc. within a repository, but if the packages don't deliver overlapping paths, then you'll be fine in that regard.

        cheers,
                        tim



Thanks again.
craig

----- [email protected] wrote:

Craig Mohrman wrote:

Do we have an example, or a technique, of installing 1 package
exclusive of another?

Let's say I have 2 packages:

apache-php52
apache-php53

How do I ensure that only 1 of them can be installed?

In apache-php52.p5m:

     depend type=exclude fmri=web/server/apache-22/plugin/plugin-php53

and in apache-php53.p5m:

     depend type=exclude fmri=web/server/apache-22/plugin/plugin-php52

though I'd question why the two can't coexist.

Danek
_______________________________________________
userland-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/userland-discuss

_______________________________________________
userland-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/userland-discuss

Reply via email to