Re: imap_open() : undefined function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx> 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..
>
>


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux