Using Homebrew to install PHP How to use the custom parameters

Source: Internet
Author: User

Use homebrew to install PHP, followed by installation parameters.

Brew Install php56--enable-fpm--with-mysql=mysqlnd--with-mysqli=mysqlnd--with-pdo-mysql=mysqlnd--with-zlib-- Enable-zip--enable-soap--enable-opcache--with-mcrypt--with-openssl--with-curl--enable-mbstring--enable-sockets --with-freetype-dir--with-jpeg-dir--with-png-dir--with-gd--without-homebrew-php

However, after loading, the view installation parameters are the default parameters of homebrew.

How to install the custom parameters, I Baidu as if others are also I do so.

Reply content:

Use homebrew to install PHP, followed by installation parameters.

Brew Install php56--enable-fpm--with-mysql=mysqlnd--with-mysqli=mysqlnd--with-pdo-mysql=mysqlnd--with-zlib-- Enable-zip--enable-soap--enable-opcache--with-mcrypt--with-openssl--with-curl--enable-mbstring--enable-sockets --with-freetype-dir--with-jpeg-dir--with-png-dir--with-gd--without-homebrew-php

However, after loading, the view installation parameters are the default parameters of homebrew.

How to install the custom parameters, I Baidu as if others are also I do so.

Thank you for inviting me, (in fact I will not php )

Not sure of your parameters are legitimate, I suggest you directly crossing network (Baidu in this respect sincerely not, search entertainment information is fine).

homebrew-php

See the following chapters:

Should you first brew options php56 look at what's going on and option then use

Extensions can be installed separately
Like what:
Brew Search Php-redis
List the appropriate extensions
Brew Install/xxx/xxx/php-redis

  • 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.