Macosx does not have the apt-get tool in ubuntu. If you do not want to manually compile the installation extension, You have to install this php extension management tool. Cdusrlibphpsudophpinstall-pear-nozlib.phar edit the etcphp. ini file, if not, copy the php. ini. default file under the current directory, If you edit
On mac OS x, there is no apt-get tool in ubuntu. If you do not want to manually compile the installation extension, You have to install this php extension management tool. Cd/usr/lib/phpsudo php install-pear-nozlib.phar edit/etc/php. ini file, if not, copy the php. ini. default file under the current directory, If you edit
On mac OS x, there is no apt-get tool in ubuntu. If you do not want to manually compile the installation extension, You have to install this php extension management tool.
Install-pear-nozlib.phar for cd/usr/lib/phpsudo php
Edit the/etc/php. ini file. If not, copy the php. ini. default file in the current directory,
If you are prompted that the file cannot be edited During the editing process, run the chmod 777 php. ini file to change it to the Editable state, and then reply back.
Include_path = ".:/php/shortdes"
To:
Export de_path = ".:/usr/lib/php/pear"
Sudo pear channel-update pear. php. netsudo pecl channel-update pecl. php. netsudo pear upgrade-all
Original article address: Install pecl on mac OS x 10.9.4. Thank you for sharing it with me.