Enabling/Installing Intl Extension PHP From Terminal

admin

February 26, 2015

Tutorial

WP Domain Checker WordPress Plugin have feature allow you to check Internationalized Domain Name (IDN), to make this plugin able check IDN domain, you need enable/install Intl php extension. There are several method to install/enable this extension:

Installing on Linux (Ubuntu)

run the following commands:
sudo apt-get install php5-intl

You then need to restart Apache
sudo service apache2 restart

You can also check what extensions are compiled in by running:
php -m

Installing on Linux (Centos)

run the following commands:
sudo yum install libicu

sudo yum install libicu-devel.x86_64

sudo /usr/bin/pecl install intl

add “extension=intl.so” in your php.ini file.

You can also check what extensions are compiled in by running:
php -m

Installing on OSX

1. Install ICU Libraries with Homebrew

The ICU Libraries is our only dependency. If you have Homebrew installed you can use that; alternatively, you can download and compile from source.

Using homebrew:

brew update

brew install icu4c

2. Install Intl with PECL

sudo pecl update-channels

sudo pecl install intl

and add “extension=intl.so” in your php.ini file.

restart the apache.

if you found this error:
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.

The solution I came up with was to compile autoconf from source and set the environment variable which points to autoconf required by phpize.

Download autoconf
curl http://ftp.gnu.org/gnu/autoconf/autoconf-latest.tar.gz > autoconf.tar.gz

Untar the autoconf archive
tar -xvzf autoconf.tar.gz

Configure and make – note the folder un-archived may have a different name.
cd autoconf-2.69
./configure
sudo make && sudo make install

This installs autoconf to ‘/usr/local/bin/autoconf’. In order to get phpize to work set the PHP_AUTOCONF environment variable to point to the newly installed autoconf.

export PHP_AUTOCONF=/usr/local/bin/autoconf

Running phpize when attempting to compile a php extension should now work.

Related Posts

Recommended File Permissions for WordPress

July 31, 2017

Security, Tutorial, WordPress

What permissions should I have for the following: Root folder storing all the WordPress content wp-admin wp-content wp-includes On computer filesystems, different files and directories have permissions that specify who and what can read, write, modify and access them. This is important because WordPress may need access to write to files in your wp-content directory to enable certain functions. […]

Read More

How to Prevent SQL injection in PHP 2017

July 31, 2017

PHP, Security, Tutorial

SQL injection happens when you interpolate some content into a SQL query string, and the result modifies the syntax of your query in ways you didn’t intend. It doesn’t have to be malicious, it can be an accident. But accidental SQL injection is more likely to result in an error than in a vulnerability. The […]

Read More

83 Comments

  • Google on November 10, 2021

    Google

    The time to read or go to the material or web sites we have linked to beneath.

  • Rent a car Bar, Crna Gora on November 24, 2021

    Rent a car Bar, Crna Gora

    […]Wonderful story, reckoned we could combine a couple of unrelated information, nevertheless actually worth taking a search, whoa did one discover about Mid East has got extra problerms at the same time […]

  • tinder gay dating on November 26, 2021

    tinder gay dating

    […]just beneath, are a lot of completely not related internet sites to ours, having said that, they’re surely worth going over[…]

  • Buy Alza Concerta Online on November 26, 2021

    Buy Alza Concerta Online

    […]the time to study or stop by the material or sites we’ve linked to beneath the[…]

  • goldshell-goldshell-kd5-kadena on November 26, 2021

    goldshell-goldshell-kd5-kadena

    […]please stop by the web pages we adhere to, including this a single, as it represents our picks through the web[…]

  • mining rigs on November 26, 2021

    mining rigs

    […]one of our visitors not too long ago advised the following website[…]

  • Buy Purple Weed Strains Online on November 27, 2021

    Buy Purple Weed Strains Online

    […]always a major fan of linking to bloggers that I love but do not get a lot of link like from[…]

  • CableFreeTV on November 28, 2021

    CableFreeTV

    […]Here is an excellent Weblog You may Come across Intriguing that we Encourage You[…]

  • Gorilla Trekking Uganda Safaris on November 28, 2021

    Gorilla Trekking Uganda Safaris

    […]check below, are some absolutely unrelated web-sites to ours, on the other hand, they are most trustworthy sources that we use[…]

  • happyruck on November 29, 2021

    happyruck

    […]please check out the internet sites we comply with, like this a single, because it represents our picks from the web[…]

  • The NMD News on November 30, 2021

    The NMD News

    […]that may be the finish of this write-up. Right here you will obtain some sites that we think you’ll enjoy, just click the hyperlinks over[…]

  • www.happyruck.com on November 30, 2021

    http://www.happyruck.com

    […]Sites of interest we have a link to[…]

  • virtual visa card buy with cryptocurrency

    […]Here is a superb Blog You might Discover Exciting that we Encourage You[…]

  • virtual card provider on December 1, 2021

    virtual card provider

    […]very few internet sites that happen to be comprehensive below, from our point of view are undoubtedly effectively worth checking out[…]

  • russian audio books USA on December 1, 2021

    russian audio books USA

    […]check below, are some totally unrelated web sites to ours, nevertheless, they’re most trustworthy sources that we use[…]

  • Buy Heineken Beer Cans on December 2, 2021

    Buy Heineken Beer Cans

    […]usually posts some incredibly interesting stuff like this. If you’re new to this site[…]

  • smart carts for sale on December 2, 2021

    smart carts for sale

    […]we came across a cool site that you might get pleasure from. Take a search when you want[…]

  • counterfeit usd for sale on December 3, 2021

    counterfeit usd for sale

    […]the time to study or stop by the content or websites we’ve linked to below the[…]

  • affiliate millionaire on December 3, 2021

    affiliate millionaire

    […]here are some links to web sites that we link to since we feel they are really worth visiting[…]

  • e-cigarettes on December 3, 2021

    e-cigarettes

    […]that is the end of this post. Here you’ll discover some web sites that we assume you’ll enjoy, just click the links over[…]

  • buy ruger guns online on December 3, 2021

    buy ruger guns online

    […]although sites we backlink to below are considerably not connected to ours, we feel they’re basically really worth a go via, so possess a look[…]

  • solar powered generator for camping

    […]Sites of interest we’ve a link to[…]

  • solar powered generators at home on December 4, 2021

    solar powered generators at home

    […]that could be the finish of this report. Here you will uncover some websites that we think you will value, just click the links over[…]

  • cheap solar panels for home on December 4, 2021

    cheap solar panels for home

    […]that would be the end of this article. Right here you will locate some web-sites that we consider you’ll value, just click the links over[…]

  • Sent Mary E. M. School Barwani, Barwani, Barwani – 451551

    […]one of our visitors not long ago encouraged the following website[…]

  • Kendriya VidyalayaDeeptinagar Kahalgaon Ntpc Bhagalpur Bihar Bhagalpur Bihar 813214 India

    […]always a significant fan of linking to bloggers that I like but do not get a lot of link appreciate from[…]

  • going steady on December 5, 2021

    going steady

    […]Every after inside a though we choose blogs that we study. Listed below would be the latest sites that we select […]

  • Jawahar Navodaya Vidyalaya Lalmatia Dhankunda Po Bara Simra Distt Godda Jharkhand Jharkhand 814165 India

    […]we came across a cool web site which you might get pleasure from. Take a search should you want[…]

  • adventures of mowgli on December 5, 2021

    adventures of mowgli

    […]usually posts some extremely intriguing stuff like this. If you’re new to this site[…]

  • Google on December 5, 2021

    Google

    We came across a cool web page that you just may possibly delight in. Take a appear when you want.

  • Norex IFA Pills for sale on December 6, 2021

    Norex IFA Pills for sale

    […]usually posts some really interesting stuff like this. If you are new to this site[…]

  • vibrator on December 7, 2021

    vibrator

    […]Every when inside a though we pick out blogs that we study. Listed beneath would be the most current web sites that we opt for […]

  • rechargeable rabbit on December 7, 2021

    rechargeable rabbit

    […]we prefer to honor lots of other web web-sites on the web, even if they aren’t linked to us, by linking to them. Under are some webpages really worth checking out[…]

  • walther q5 match for sale on December 7, 2021

    walther q5 match for sale

    […]always a large fan of linking to bloggers that I love but really don’t get a great deal of link like from[…]

  • Lemon Tek on December 7, 2021

    Lemon Tek

    […]Sites of interest we’ve a link to[…]

  • browning bar 308 for sale on December 8, 2021

    browning bar 308 for sale

    […]below you will find the link to some sites that we think it is best to visit[…]

  • Daily CBD — The Leading Cannabinoid Educational Resource

    […]one of our visitors just lately suggested the following website[…]

  • Tours to Uganda on December 8, 2021

    Tours to Uganda

    […]The data talked about within the write-up are a number of the ideal available […]

  • beretta 686 silver pigeon on December 9, 2021

    beretta 686 silver pigeon

    […]Here is a good Blog You may Obtain Fascinating that we Encourage You[…]

  • Safari tours in Uganda on December 10, 2021

    Safari tours in Uganda

    […]although web-sites we backlink to beneath are considerably not connected to ours, we feel they are essentially really worth a go through, so possess a look[…]

  • buy Fake driving license on December 11, 2021

    buy Fake driving license

    […]Sites of interest we’ve a link to[…]

  • buy nembutal online on December 11, 2021

    buy nembutal online

    […]here are some links to web-sites that we link to since we assume they are worth visiting[…]

  • Best place to buy gbl on December 11, 2021

    Best place to buy gbl

    […]we came across a cool internet site that you simply might get pleasure from. Take a search when you want[…]

  • disposable ecigs on December 12, 2021

    disposable ecigs

    […]usually posts some quite fascinating stuff like this. If you’re new to this site[…]

  • kimber firearms on December 12, 2021

    kimber firearms

    […]Every once in a whilst we opt for blogs that we read. Listed below are the latest web pages that we opt for […]

  • Cannabis Oil on December 14, 2021

    Cannabis Oil

    […]check below, are some entirely unrelated internet websites to ours, nevertheless, they’re most trustworthy sources that we use[…]

  • buy youtube subscribers on December 14, 2021

    buy youtube subscribers

    […]Here are some of the web sites we suggest for our visitors[…]

  • springfield edge on December 15, 2021

    springfield edge

    […]Wonderful story, reckoned we could combine a couple of unrelated information, nevertheless truly worth taking a search, whoa did 1 master about Mid East has got more problerms also […]

  • live resin stiiizy on December 16, 2021

    live resin stiiizy

    […]below you will obtain the link to some web sites that we consider you ought to visit[…]

  • sig sauer m17 on December 16, 2021

    sig sauer m17

    […]Here are some of the sites we recommend for our visitors[…]

  • Buy Magic Mushrooms USA on December 17, 2021

    Buy Magic Mushrooms USA

    […]Here are a few of the web sites we recommend for our visitors[…]

  • restaurant food delivery on December 18, 2021

    restaurant food delivery

    […]very few internet sites that take place to be in depth below, from our point of view are undoubtedly effectively really worth checking out[…]

  • sig sauer handguns on December 20, 2021

    sig sauer handguns

    […]very handful of internet sites that come about to become detailed below, from our point of view are undoubtedly very well really worth checking out[…]

  • bergara b-14r on December 22, 2021

    bergara b-14r

    […]usually posts some very interesting stuff like this. If you are new to this site[…]

  • uca.com.vn on December 24, 2021

    uca.com.vn

    […]Wonderful story, reckoned we could combine some unrelated data, nonetheless truly really worth taking a search, whoa did one learn about Mid East has got much more problerms also […]

  • best mp3 on December 27, 2021

    best mp3

    […]Every once inside a though we select blogs that we read. Listed below would be the latest web pages that we opt for […]

  • Psilocybin mushrooms on December 27, 2021

    Psilocybin mushrooms

    […]Here are a few of the web pages we suggest for our visitors[…]

  • gbl for sale on December 27, 2021

    gbl for sale

    […]usually posts some pretty exciting stuff like this. If you’re new to this site[…]

  • Buy Caluanie Oxidize Online UK on December 27, 2021

    Buy Caluanie Oxidize Online UK

    […]the time to study or take a look at the material or web sites we have linked to below the[…]

  • Oxycodone for sale online on December 28, 2021

    Oxycodone for sale online

    […]one of our visitors not long ago encouraged the following website[…]

  • Xanax for sale online on December 28, 2021

    Xanax for sale online

    […]please stop by the websites we comply with, which includes this one, because it represents our picks in the web[…]

  • Best Paint Sprayer 2021 on December 29, 2021

    Best Paint Sprayer 2021

    […]usually posts some very exciting stuff like this. If you’re new to this site[…]

  • Cohiba on January 3, 2022

    Cohiba

    […]always a large fan of linking to bloggers that I enjoy but don’t get a lot of link enjoy from[…]

  • live resin cartridges on January 4, 2022

    live resin cartridges

    […]The details mentioned inside the article are a number of the very best obtainable […]

  • Независимое бюро информации и аналитики

    […]just beneath, are a lot of completely not associated web-sites to ours, nevertheless, they are certainly really worth going over[…]

  • online software on January 5, 2022

    online software

    […]always a significant fan of linking to bloggers that I adore but do not get lots of link like from[…]

  • ruger mark iv lite for sale on January 5, 2022

    ruger mark iv lite for sale

    […]although web sites we backlink to below are considerably not related to ours, we really feel they may be really worth a go through, so possess a look[…]

  • g spot sex toys on January 7, 2022

    g spot sex toys

    […]that may be the end of this report. Here you will find some web-sites that we believe you will appreciate, just click the links over[…]

  • how to use a clit and g spot massager

    […]Wonderful story, reckoned we could combine a few unrelated data, nonetheless seriously really worth taking a search, whoa did one particular discover about Mid East has got much more problerms at the same time […]

  • huge dildos on January 8, 2022

    huge dildos

    […]Every the moment in a while we choose blogs that we study. Listed beneath would be the most current web pages that we opt for […]

  • butt plug review on January 9, 2022

    butt plug review

    […]please check out the web pages we follow, which includes this one particular, as it represents our picks from the web[…]

  • vintagecover on January 9, 2022

    vintagecover

    […]Wonderful story, reckoned we could combine a few unrelated data, nevertheless actually really worth taking a appear, whoa did one particular master about Mid East has got much more problerms too […]

  • buy uk driving license on January 10, 2022

    buy uk driving license

    […]Wonderful story, reckoned we could combine several unrelated information, nonetheless really worth taking a look, whoa did one particular find out about Mid East has got additional problerms at the same time […]

  • cervelo s 2 on January 10, 2022

    cervelo s 2

    […]one of our visitors just lately recommended the following website[…]

  • ZYDONE FOR SALE on January 11, 2022

    ZYDONE FOR SALE

    […]very couple of internet sites that occur to become in depth beneath, from our point of view are undoubtedly properly worth checking out[…]

  • best rabbit vibrator on January 12, 2022

    best rabbit vibrator

    […]although web-sites we backlink to beneath are considerably not associated to ours, we feel they are essentially worth a go through, so possess a look[…]

  • sex toys for men on January 12, 2022

    sex toys for men

    […]we prefer to honor several other world wide web sites on the internet, even when they aren’t linked to us, by linking to them. Beneath are some webpages worth checking out[…]

  • clitoral sex toy on January 13, 2022

    clitoral sex toy

    […]usually posts some pretty fascinating stuff like this. If you’re new to this site[…]

  • kel tec 380 review on January 13, 2022

    kel tec 380 review

    […]we like to honor many other internet websites on the web, even when they aren’t linked to us, by linking to them. Beneath are some webpages really worth checking out[…]

  • beretta 85fs review on January 14, 2022

    beretta 85fs review

    […]Here is an excellent Blog You may Obtain Fascinating that we Encourage You[…]

  • mossberg mvp patrol on January 15, 2022

    mossberg mvp patrol

    […]we came across a cool web page that you may well enjoy. Take a appear should you want[…]

  • vape carts on January 16, 2022

    vape carts

    […]very few web-sites that take place to become detailed beneath, from our point of view are undoubtedly nicely worth checking out[…]

  • krt disposable on January 16, 2022

    krt disposable

    […]below you’ll discover the link to some sites that we feel you must visit[…]

Comments are closed