Mac OS reload PHP

Source: Internet
Author: User

First uninstall the PHP that comes with

private/etc/            sudo rm-rf php-fpm.conf.  Default php.ini php.ini. default/usr/bin/               sudo rm-rf php php-config phpdoc phpize/usr/include            sudo rm-  RF php/usr/lib                sudo rm-rf php/usr/sbin               sudo rm-rf php-fpm/usr/share              sudo rm -rf php/usr/share/man/man1     sudo rm-rf php-config.1 php.1 phpize.1/usr/share/man/man8     sudo rm-rf php-fpm.8

Using Brew to install PHP7

Brew Install PHP70

Directory

/usr/local/opt/php70/bin/php-v
/usr/local/opt/php70/sbin/php-fpm-v

Installing the memcached Extension

memcachedbrew Install php70-memcached configuration file /usr/local/etc/php/7.0/conf.d/ext-memcached.ini

Mac OS reload PHP

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.