You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Efren Bravo <ef...@dhl.gcc.cu> on 2005/10/28 23:43:01 UTC

[users@httpd] php extensions, help

Hi,

I've installed Apache1.3x and PHP5.0.x on a freebsd5.4 box and I need to
use  the functions: imap_open(), imap_close(), etc.  
  
I know I've to install the imap extension, I've done on windows.  
  
How do I do it on freebsd? I mean, I haven't the imap extension (.so).
Where can I find it?

Thanks...



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] php extensions, help

Posted by Tom Cat <st...@gmail.com>.
This is really a PHP  question not an Apache question.

Check out:
http://us2.php.net/manual/en/ref.imap.php

"To get these functions to work, you have to compile PHP with
--with-imap[=DIR], where DIR is the c-client install prefix. From our
example above, you would use --with-imap=/usr/local/imap-2000b. This
location depends on where you created this directory according to the
description above. Windows users may include the php_imap.dll DLL in
php.ini. IMAP is not supported on systems earlier that Windows 2000.
This is because it uses encryption functions in order to enable SSL
connections to the mail servers.

    Note: Depending how the c-client was configured, you might also
need to add --with-imap-ssl=/path/to/openssl/ and/or
--with-kerberos=/path/to/kerberos into the PHP configure line. "

Basically you need to recompile PHP and add the
--with-imap=/path/to/imap to the configure line.


On 10/28/05, Efren Bravo <ef...@dhl.gcc.cu> wrote:
> Hi,
>
> I've installed Apache1.3x and PHP5.0.x on a freebsd5.4 box and I need to
> use  the functions: imap_open(), imap_close(), etc.
>
> I know I've to install the imap extension, I've done on windows.
>
> How do I do it on freebsd? I mean, I haven't the imap extension (.so).
> Where can I find it?
>
> Thanks...
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org