From: Michael Orlitzky <mjo@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] php different version
Date: Wed, 20 Oct 2021 15:44:27 -0400 [thread overview]
Message-ID: <YXBxmw0dE70AwKcl@stitch> (raw)
In-Reply-To: <20211020192309.2808f78e@melika.host77.tld>
On 2021-10-20 19:23:09, zcampe@gmail.com wrote:
>
> when i install nextcloud it also installs php-7.3.31 and php-7.4.24,
> this is probably due to dev-php/imagick-3.5.1
>
PHP is slotted, so it's not too unusual for multiple versions to be
installed at the same time. An "emerge --depclean" may later remove
the older one. But this alone is no cause for alarm.
> if i install roundcube with use="change-password" php-8.0.11 is needed.
>
> i used use="-imagemagick" for nextcloud, and
> all packages could agree on php-8.0.11.
>
> 1.if an application requires 2 different versions this can't work,
> apache only uses one or?
No, you're right. Whichever one you've eselected (if you're using
apache's mod_php) is the one that will be used, and not all of the
options will work with every installed PHP application. It doesn't
make a ton of sense, but PHP is relatively stable these days. So, uh,
good luck.
> 2.if in the ebuild of dev-php/imagick-3.5.1
> USE_PHP="php7-3 php7-4 php8-0"
> what does that mean?
C-language extensions like pecl-imagick are compiled against PHP. The
USE_PHP variable declares which versions they may be compiled
against. Then the user-facing variable PHP_TARGETS says which ones you
want. What you ultimately get is the intersection of USE_PHP and
PHP_TARGETS.
next prev parent reply other threads:[~2021-10-20 19:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-20 17:23 [gentoo-user] php different version zcampe
2021-10-20 19:44 ` Michael Orlitzky [this message]
2021-10-20 22:53 ` zcampe
2021-10-20 23:53 ` Michael Orlitzky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YXBxmw0dE70AwKcl@stitch \
--to=mjo@gentoo.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox