Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #19096

Re: Call to undefined function imap_open()

From John-Paul Stewart <jpstewart@personalprojects.net>
Newsgroups comp.lang.php
Subject Re: Call to undefined function imap_open()
Date 2022-09-03 15:08 -0400
Message-ID <jnhn2bF4hqoU1@mid.individual.net> (permalink)
References (1 earlier) <jngm2lF1adpU1@mid.individual.net> <tevc74$1dko$2@gioia.aioe.org> <jngs6kF28b3U1@mid.individual.net> <tevj5d$509$1@gioia.aioe.org> <tevjfd$87i$1@gioia.aioe.org>

Show all headers | View raw


On 2022-09-03 09:05, Mark5320 wrote:
> 
> by the way, what are the differences between the various versions found
> 
> ~$ apt search imap | grep php
> 
> 
> 
> WARNING: apt does not have a stable CLI interface. Use with caution in
> scripts.
> 
> 
> 
> php-imap/jammy,jammy 2:8.1+92ubuntu1 all
> 
> php-net-imap/jammy,jammy 1:1.1.3-2.1 all
> 
> php8.1-imap/jammy-updates 8.1.2-1ubuntu2.3 amd64

In the Debian/Ubuntu packaging, php-imap is a generic package that
automatically pulls in whatever the current version is.  In your case,
that's php8.1-imap.  The result is that if you install php-imap today,
when 8.2 or 9.0 comes along the distribution will automatically upgrade
you to that version.  (The php8.1-imap package will still be installed
as a dependency of php-imap, but it will flagged as such in the package
database, thus subject to be upgraded.)

Conversely, if you manually install php8.1-imap today (so that is marked
as "manual" in the package database), then when the next version comes
along the distro will NOT automatically upgrade it.  If you want the
next version, you'll have to install that manually when you're ready.

So, install the generic one if you want automatic version updates or
install the versioned one if you have a specific need to stay on that
version.

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Call to undefined function imap_open() Mark5320 <xxx@ma.rk> - 2022-09-03 10:34 +0200
  Re: Call to undefined function imap_open() "J.O. Aho" <user@example.net> - 2022-09-03 11:45 +0200
    Re: Call to undefined function imap_open() Mark5320 <xxx@ma.rk> - 2022-09-03 13:01 +0200
      Re: Call to undefined function imap_open() "J.O. Aho" <user@example.net> - 2022-09-03 13:30 +0200
        Re: Call to undefined function imap_open() Mark5320 <xxx@ma.rk> - 2022-09-03 15:00 +0200
          Re: Call to undefined function imap_open() Mark5320 <xxx@ma.rk> - 2022-09-03 15:05 +0200
            Re: Call to undefined function imap_open() "J.O. Aho" <user@example.net> - 2022-09-03 17:30 +0200
            Re: Call to undefined function imap_open() John-Paul Stewart <jpstewart@personalprojects.net> - 2022-09-03 15:08 -0400
              Re: Call to undefined function imap_open() Mark5320 <xxx@ma.rk> - 2022-09-05 11:23 +0200
  Re: Call to undefined function imap_open() Kristjan Robam <he12091983@gmail.com> - 2022-09-09 04:00 -0700
    Re: Call to undefined function imap_open() Arno Welzel <usenet@arnowelzel.de> - 2022-09-09 16:30 +0200

csiph-web