Re: imap_open() : undefined function
| From: | Rene Veerman | Date: | Thu, 19 Nov 2020 07:40:32 +0000 |
| Subject: | Re: imap_open() : undefined function | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-327361@lists.php.net to get a copy of this message | ||
No, it does not.
a simple
apt-get install php-imap
fixed my situation.
thanks for your attention & help :)
On Thu, Nov 19, 2020 at 8:39 AM richard gray <rich@richgray.com> wrote:
> Is the IMAP extension included/configured on your server's build of PHP?
>
> On 19/11/2020 07:25, Rene Veerman wrote:
> > i've hit a major snag trying to build a library that interfaces with
> > IMAP and POP servers :
> >
> > [Thu Nov 19 08:18:50.820783 2020] [php7:error] [pid 911] [client
> > ::1:45670] PHP Fatal error: Uncaught Error: Call to *undefined
> > function imap_open()* in
> > /home/rene/data1/htdocs/localhost/couchdbmail/functions.php:19\nStack
> > trace:\n#0
> >
> /home/rene/data1/htdocs/localhost/couchdbmail/ajax_test_email_server.php(4):
>
> > cm_test_email_server()\n#1 {main}\n thrown in
> > /home/rene/data1/htdocs/localhost/couchdbmail/functions.php on line
> > 19, referer: http://localhost/couchdbmail/install.php
> > <http://localhost/couchdbmail/install.php>
> > root@crow:~# php -v
> > PHP 7.4.3 (cli) (built: Oct 6 2020 15:47:56) ( NTS )
> > Copyright (c) The PHP Group
> > Zend Engine v3.4.0, Copyright (c) Zend Technologies
> > with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies
> > root@crow:~# uname -a
> > Linux crow 5.4.0-53-generic #59-Ubuntu SMP Wed Oct 21 09:38:44 UTC
> > 2020 x86_64 x86_64 x86_64 GNU/Linux
> > root@crow:~#
> >
> > i looked at
> > https://www.php.net/manual/en/function.imap-open.php
> >
> > <https://www.php.net/manual/en/function.imap-open.php> but
> > that offers
> > no clues..
> >
> >
>
>