# IMAP

**URL:** <https://forums.suse.com/t/imap/25801>\
**Category:** SLES Configure-Administer\
**Created:** [June 30, 2014, 6:31pm UTC](https://forums.suse.com/t/imap/25801 "2014-06-30T18:31:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![davea66](https://avatars.discourse-cdn.com/v4/letter/d/b38774/32.png) [@davea66](https://forums.suse.com/u/davea66)\
**Post date:** [June 30, 2014, 6:31pm UTC](https://forums.suse.com/t/imap/25801/1 "2014-06-30T18:31:00Z")

</div>

Hi  
I am trying to get IMAP functionaity working in SLES 11 SP3, but php53-imap is completely missing.  
New to SLES, but this seemed odd.  
I have manged to find and install anRPM for php53-imap but still cannot get PHO to load it.  
I now seem to be missing imap.so in etc/lib64

Any help please? I am tearing my hair out and need IMAP fpr the CRM we are installing!

Is it right that IMAP is missing frm PHP53 on SLES/Apache2??

Cheers

Dave

---

<div class="post-metadata">

**Author:** ![davea66](https://avatars.discourse-cdn.com/v4/letter/d/b38774/32.png) [@davea66](https://forums.suse.com/u/davea66)\
**Post date:** [June 30, 2014, 6:36pm UTC](https://forums.suse.com/t/imap/25801/2 "2014-06-30T18:36:33Z")

</div>

Also, if I run php -m I get:-

PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php5/extensions/imap.so’ - /usr/lib64/php5/extensions/imap.so: wrong ELF class: ELFCLASS32 in Unknown on line 0

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [June 30, 2014, 7:26pm UTC](https://forums.suse.com/t/imap/25801/3 "2014-06-30T19:26:12Z")

</div>

On 30/06/2014 16:34, davea66 wrote:  
[color=blue]

> I am trying to get IMAP functionaity working in SLES 11 SP3, but  
> php53-imap is completely missing.  
> New to SLES, but this seemed odd.  
> I have manged to find and install anRPM for php53-imap but still cannot  
> get PHO to load it.  
> I now seem to be missing imap.so in etc/lib64
> 
> Any help please? I am tearing my hair out and need IMAP fpr the CRM we  
> are installing![/color]

Given your follow up reply where did you get php53-imap from?  
[color=blue]

> Is it right that IMAP is missing frm PHP53 on SLES/Apache2??[/color]

Whilst php53-imap is missing from SLES11 SP3 it is available as part of  
the Software Development Kit for SLE11 (so applies to both Server and  
Desktop).

The SLE11 SP3 SDK is available for download from  
[https://download.suse.com/Download?buildid=hF8sRGTVC04~](https://download.suse.com/Download?buildid=hF8sRGTVC04~)

## HTH.

Simon  
SUSE Knowledge Partner

* * *

## If you find this post helpful and are logged into the web interface, please show your appreciation and click on the star below. Thanks.

---

<div class="post-metadata">

**Author:** ![davea66](https://avatars.discourse-cdn.com/v4/letter/d/b38774/32.png) [@davea66](https://forums.suse.com/u/davea66)\
**Post date:** [June 30, 2014, 11:29pm UTC](https://forums.suse.com/t/imap/25801/4 "2014-06-30T23:29:02Z")

</div>

[QUOTE=smflood;22277]On 30/06/2014 16:34, davea66 wrote:  
[color=blue]

> I am trying to get IMAP functionaity working in SLES 11 SP3, but  
> php53-imap is completely missing.  
> New to SLES, but this seemed odd.  
> I have manged to find and install anRPM for php53-imap but still cannot  
> get PHO to load it.  
> I now seem to be missing imap.so in etc/lib64
> 
> Any help please? I am tearing my hair out and need IMAP fpr the CRM we  
> are installing![/color]

Given your follow up reply where did you get php53-imap from?  
[color=blue]

> Is it right that IMAP is missing frm PHP53 on SLES/Apache2??[/color]

Whilst php53-imap is missing from SLES11 SP3 it is available as part of  
the Software Development Kit for SLE11 (so applies to both Server and  
Desktop).

The SLE11 SP3 SDK is available for download from  
[https://download.suse.com/Download?buildid=hF8sRGTVC04~](https://download.suse.com/Download?buildid=hF8sRGTVC04~)

## HTH.

Simon  
SUSE Knowledge Partner

* * *

If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below. Thanks.  
------------------------------------------------------------------------[/QUOTE]

Thanks for the pointer, i will give this a go!  
Cheers

Dave

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [July 1, 2014, 5:01pm UTC](https://forums.suse.com/t/imap/25801/5 "2014-07-01T17:01:01Z")

</div>

Hi Dave,

[QUOTE=davea66;22276]Also, if I run php -m I get:-

PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php5/extensions/imap.so’ - /usr/lib64/php5/extensions/imap.so: wrong ELF class: ELFCLASS32 in Unknown on line 0[/QUOTE]

that indicates you installed 32bit stuff on a 64bit server - and I strongly suggest to follow Simon’s approach and use the SDK to hunt for the missing package(s). Nevertheless you should clean up the installation of the foreign package first.

Regards,  
Jens

---

<div class="post-metadata">

**Author:** ![davea66](https://avatars.discourse-cdn.com/v4/letter/d/b38774/32.png) [@davea66](https://forums.suse.com/u/davea66)\
**Post date:** [July 2, 2014, 5:19pm UTC](https://forums.suse.com/t/imap/25801/6 "2014-07-02T17:19:49Z")

</div>

[QUOTE=jmozdzen;22310]Hi Dave,

that indicates you installed 32bit stuff on a 64bit server - and I strongly suggest to follow Simon’s approach and use the SDK to hunt for the missing package(s). Nevertheless you should clean up the installation of the foreign package first.

Regards,  
Jens[/QUOTE]

Yes, this has sorted it thanks, I removed the wrong package and added imap related packeges from the SDK, and now I have a properly loaded imap module!  
Thanks for your help guys!  
Dave

---

<div class="post-metadata">

**Author:** ![davea66](https://avatars.discourse-cdn.com/v4/letter/d/b38774/32.png) [@davea66](https://forums.suse.com/u/davea66)\
**Post date:** [July 2, 2014, 5:20pm UTC](https://forums.suse.com/t/imap/25801/7 "2014-07-02T17:20:49Z")

</div>

Thank for the pointer, the SDK has fixed the problem!  
Cheers

dave
