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.
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.
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
.
Carry out the following:
However it's not enabled by default so enable it with:
Then bounce apache:
Done.
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!
Not the answer you're looking for? Browse other questions tagged phpapache-2.2php5imapslicehost or ask your own question.
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 ?
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:
May be universe repository is disabled, here is your package in it
Enable it
Update
And install
How To Install Php Extensions
you could search with aptitude search intl
after you can choose the right one, for examplesudo aptitude install php-intl
and finallysudo service apache2 restart
good Luck!