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

Mac installation pecl ecl luminescence kit ecl developer ecl Zhang Qi

WBOY
Release: 2016-07-29 08:49:30
Original
1285 people have browsed it

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>
Copy after login

2. Install pear

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

3. Test

<code>pear <span>version</span></code>
Copy after login

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.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template