Install Php Imap Extension Ubuntu

This post looks at how to install the PHP IMAP functions on Debian and should also work for Ubuntu/Kubuntu/etc and other Debian derived Linux distros. Search: Install PHP IMAP on Debian. Howto: Show and install php extensions on Ubuntu/Debian April 10, 2015 by karlos You may review the available PHP extensions on your Debian/Ubuntu system by tipping in.

Active9 months ago

I have a LAMP box running Ubuntu, Apache 2 and PHP5 with Slicehost. I'm a bit new to all this sysadmin stuff (I'm primarily a web developer).

I need to use the IMAP functions in PHP, but they don't seem to be enabled according to phpinfo(). How do I enable them?

All of the information I can find on the net says I need to recompile PHP to add it, but I don't have a clue how to do that.

Any advice would be most appreciated. Thanks.

Hellweaver666Hellweaver666

3 Answers

Well, that depends on the distribution your LAMP server is running on. For example with Debian you can install the PHP5 IMAP module straight from the package manager with command apt-get install php5-imap.

Janne PikkarainenJanne Pikkarainen
28.9k3 gold badges43 silver badges69 bronze badges

Carry out the following:

However it's not enabled by default so enable it with:

Then bounce apache:

Done.

John SimmondsJohn Simmonds

Check the PHP version:

Suppose shows 7.0.32. So your FastCGI Process Manager(fpm) tool version is 7.0

Now install IMAP ENABLE and ENJOY!! Follow below commands.

Restart & Enable service:

Check now. IMAP is enabled!

Ebrahim KhalilullahEbrahim Khalilullah

Not the answer you're looking for? Browse other questions tagged phpapache-2.2php5imapslicehost or ask your own question.

Active1 month ago

I have a hard time to find exact method to install PHP intl extension in Ubuntu 14.04.

I tried with sudo apt-get install php5-intl but displays error Unable to locate package.

I really need this extension for Zend Framework 2 , because of above missing extension I am getting error like this

ERROR:ZendI18nValidator component requires the intl PHP extension

I am using PHP 5.5.9.

How can I install PHP-intl extension in a correct way ?

piet.t
10.3k7 gold badges36 silver badges48 bronze badges
Hiranya SarmaHiranya Sarma
5483 gold badges9 silver badges21 bronze badges

6 Answers

For php5 on Ubuntu 14.04

For php7 on Ubuntu 16.04

For php7.2 on Ubuntu 18.04

Anyway restart your apache after

IMPORTANT NOTE: Keep in mind that your php in your terminal/command line has NOTHING todo with the php used by the apache webserver!

If the extension is already installed you should try to enable it. Either in the php.ini file or from command line.

Syntax:

php: Epson stylus tx220 para windows 7.

apache:

unherzunherz
Abdallah Awwad AlkhwaldahAbdallah Awwad Alkhwaldah

May be universe repository is disabled, here is your package in it

Enable it

Update

And install

Alexey ShatrovAlexey Shatrov
kosala manojeewakosala manojeewa

How To Install Php Extensions

you could search with aptitude search intlafter you can choose the right one, for examplesudo aptitude install php-intland finallysudo service apache2 restart

good Luck!

ValenkpoValenkpo
Kasia KasiaKasia Kasia

Install Php Modules Ubuntu

Not the answer you're looking for? Browse other questions tagged phpubuntuzend-framework2 or ask your own question.