Macosx10.9.4 install pecl

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.