Re: +++ IMAP
| From: | Yurais Fernandez Leal | Date: | Wed, 04 Oct 2000 22:52:07 +0000 |
| Subject: | Re: +++ IMAP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18673@lists.php.net to get a copy of this message | ||
Was looking the errors , etc again..
and the problem is that the imap.so was compiled in php3 , so,
whenever I try to compile it for PHP4 (after installing imap-4.7
devel) it dumps many errors and never compiles.
I'm downloading the whole source for imap 4, let see what happens...
On Thu, 5 Oct 2000, Ron Scott wrote:
ron: Today Yurais Fernandez Leal wrote:
ron:
ron: >
ron: > Hi !
ron: >
ron: > I'm experiencing some problems with the IMAP module in PHP
ron: >
ron: > I'm using php 4.0.2 Apache 1.3.12
ron: >
ron: > I compiled php --with-imap and installed the RedHat imap-devel whcih
ron: > includes all the headers necessary for building the module.
ron: >
ron: > But when I run a script, php doesn't loads the imap module, there is a
ron: > file in /usr/lib/apache named imap.so and other which comes with the
ron: > Apache Distribution named mod_imap.so
ron:
ron: mod_imap - the name is confusing. This one is for Image MAPs.
ron:
ron: Put this in a php page and search for IMAP Support.
ron: <?php phpinfo(); ?>
ron:
ron: >
ron: > if I run the dl function to force the loading of the module, it ends
ron: > up saying that can't load the /usr/lib/imap.so library.
ron: >
ron: > what maybe wrong ?
ron:
ron: Maybe it is already loaded?
ron:
ron: >
ron: > in the php.ini it says:
ron: >
ron: > ;UNIX Extensions
ron: > ;extension=pgqsl.so
ron: > extension=imap.so
ron: >
ron: > and:
ron: >
ron: > extension_dir = /usr/lib/apache/
ron: > any idea ?
ron: >
ron:
ron: enable_dl = On
ron:
ron: Or you can link php with the static c-client lib.
ron:
ron: Cheers,
ron:
ron: -Ron
ron:
ron:
--
------------------------------------------------
Yurais Fernández Leal, Systems Administrator
Public Health Network Santiago de Cuba
yurais@medired.scu.sld.cu
http://www.scu.sld.cu/
Phone: (53) 226-54204
(home) (53) 226-51556
FAX: (53) 226-54204
ICQ: 33792610
------------