LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-10-2014, 12:41 AM   #1
said76
Member
 
Registered: Aug 2011
Posts: 113

Rep: Reputation: Disabled
install PHP with imap extension


Hi,

I was getting an error saying "PHP imap extension is not installed" and trying to fix it.

At first, I tried to uncomment the following line in my /usr/local/lib/php.ini file.
extension=php_imap.dll

save it and restart apache.

But it just keeps on saying "PHP imap extension is not installed".

Is there another way of compiling PHP with IMAP support on Ubuntu Server 12.04.5 LTS. I know that I can install PHP with IMAP by running the command "aptitude install php-imap". But the problem I have is that my PHP was installed manually from the source, so I need to find another way of compiling my PHP with imap. I did a bit of research and found that I may need to install something like "libc-client-dev". But this will require to install:
The following NEW packages will be installed:
libc-client2007e{a} libc-client2007e-dev libpam0g-dev{a} libssl-dev{a} libssl-doc{a} mlock{a}

And I don't want to install libssl-dev package as my openssl is installed from the source too.

I'm hoping if anyone might be kind to share some knowledge.

Thank you very much in advance
 
Old 09-10-2014, 04:56 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
extension=php_imap.dll

you do know that *.dll's are Microsoft Windows "dynamically linked librarys "
for Windows OS's

i would rebuild the source with that option enabled
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install php zip extension on a server kakarlamadhu Linux - Newbie 1 06-28-2013 12:29 AM
[SOLVED] Install ZIP extension for php on CentOS phpdev Linux - Server 6 01-06-2012 11:57 AM
[SOLVED] OpenSSL PHP extension have to be enabled to use extension repository system. jsaravana87 Linux - Server 2 09-09-2011 12:00 AM
yum install php-imap doesn't work on CentOS? guest Linux - Server 10 04-29-2009 02:39 AM
How to install php extension? strangevarius SUSE / openSUSE 0 04-11-2007 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration