您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

使用homebrew安装php如何使用自定义的参数

2025/6/18 4:52:35发布18次查看
使用homebrew安装php,后面加上安装参数。
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
可是装完后查看安装参数都是homebrew的默认参数。
如何安装自定义的参数,我百度了下好像别人也都是我这么做的。
回复内容: 使用homebrew安装php,后面加上安装参数。
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
可是装完后查看安装参数都是homebrew的默认参数。
如何安装自定义的参数,我百度了下好像别人也都是我这么做的。
谢邀吧,(其实我不会php的)
不确定你的那些参数是否合法,我建议你直接看官网(百度在这方面真心不行,搜娱乐信息倒是蛮好的)。
homebrew-php
看下面章节:
你是不是应该先brew options php56看一下到底有哪些option,然后再用
可以单独安装扩展
比如:
brew search php-redis
列出相应的扩展
brew install /xxx/xxx/php-redis
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product