Home  >  Article  >  Backend Development  >  Mac installation pecl ecl luminescence kit ecl developer ecl Zhang Qi

Mac installation pecl ecl luminescence kit ecl developer ecl Zhang Qi

WBOY
WBOYOriginal
2016-07-29 08:49:301270browse

Pay attention to the permissions of the directory before downloading and installing. You can create a new directory and give permissions

1. Download pear.phar. If you don’t have permission, add sudo in front of it

<code>curl -O  http://pear<span>.php</span><span>.net</span>/go-pear<span>.phar</span></code>

2. Install pear

<code><span>sudo</span> php <span>-d</span> detect_unicode=<span>0</span> go-pear.phar</code>

3. Test

<code>pear <span>version</span></code>

installation success!

If the following error occurs after the installation is completed:
Cannot install, php_dir for channel “pecl.php.net” is not writeable by the current user

Just run the following command to set the directory
pecl config-set php_dir /path/to/new/dir

'). addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above introduces how to install pecl on mac, including mac and ecl. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn