Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #19090
| From | "J.O. Aho" <user@example.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: Call to undefined function imap_open() |
| Date | 2022-09-03 11:45 +0200 |
| Message-ID | <jngm2lF1adpU1@mid.individual.net> (permalink) |
| References | <tev3if$1pn3$1@gioia.aioe.org> |
On 03/09/2022 10.34, Mark5320 wrote: > $ php -r 'imap_open();' > PHP Fatal error: Uncaught Error: Call to undefined function imap_open() > in Command line code:1 > > I know, you have to install the appropriate extension (sudo apt install > SOMETHING). sudo apt install php-imap > But there is a special command (for Ubuntu 22.04.1) to establish > precisely (without going to google) what extension (package) should we > install? > For example > > $ php-owner-package imap_open > imap_open() function it's included into package SOMETHING No there ain't a tool to tell you to which extension a function may belong to. As the extensions tend to have functions with the extension name, so that the common part of the functions name and search for it with apt-cache search imap | grep php and you would have a good chance to see the extension as part of the result, sure not all extensions do have this the uniformity in function names and not all are included in the official ubuntu/debian repository. -- //Aho
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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