title: Mac OS: Intl extension is not loaded
body: <ul>
  <li>macOS Mojave 10.14.3</li>
  <li>PHP 7.1.23</li>
  <li>Prestashop 1.7.5.1</li>
  </ul>
  
  <hr>
  
  <p>I tried to install PHP intl extension on my local server in order to use Prestashop.</p>
  
  <p>I added <code>extension=php_intl.so</code> to <code>etc/php.ini</code></p>
  
  <p>When I try to install Prestashop I get <code>Intl extension is not loaded</code>.</p>
  
  <h2>$ php -m | grep intl</h2>
  
  <p>When I do <code>$ php -m | grep intl</code>, I get:</p>
  
  <p><code>PHP Warning:  PHP Startup: Unable to load dynamic library
  '/usr/local/lib/php/pecl/20160303/php_intl.so' - d
  lopen(/usr/local/lib/php/pecl/20160303/php_intl.so, 9): image not found in Unknown on line 0
  Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/pecl/20160303/php_intl.so' - dlopen
  (/usr/local/lib/php/pecl/20160303/php_intl.so, 9): image not found in Unknown on line 0
  intl</code></p>
  
  <p>It seems that the file <code>php_intl.so</code> doesn't exist.</p>
  
  <h2>$ sudo pecl install intl</h2>
  
  <p>I also tried <code>$ sudo pecl install intl</code>and I get:</p>
  
  <p><code>make: *** [php_intl.lo] Error 1
  ERROR:</code>make' failed`</p>
  
  <h2>$ curl -s <a href="http://php-osx.liip.ch/install.sh" rel="noreferrer">http://php-osx.liip.ch/install.sh</a> | bash -s 7.1</h2>
  
  <p>I also tried <code>$ curl -s http://php-osx.liip.ch/install.sh | bash -s 7.1</code> and it doesn't create the <code>intl.so</code> file.</p>
  
  <hr>
  
  <p>How can I solve this problem?</p>