简体   繁体   English

如果已经安装PHP,如何在MacOS上安装zip扩展?

[英]How to install the zip extension on MacOS when PHP is already installed?

I have PHP 7.1.12 installed on my Mac. 我的Mac上安装了PHP 7.1.12。 I need to install Prestashop but it requires the Zip extension. 我需要安装Prestashop,但它需要Zip扩展名。 Is it possible to install the Zip extension for PHP without completely reinstalling PHP (and recompiling it) ? 是否可以在不完全重新安装PHP(并重新编译)的情况下安装适用于PHP的Zip扩展程序?

Thanks. 谢谢。

安装macports,然后运行:

sudo port install php71-zip

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 当已经安装5.4时如何安装php 5.3? - How to install php 5.3 when 5.4 is already installed? 一个 php 平台安装问我 intl 扩展,但它似乎已经安装 - A php platform install ask me intl extension, but it seems already installed RuntimeException 未安装 Zip PHP 扩展 - RuntimeException The Zip PHP extension is not installed 当系统中安装了多个 php 版本时,如何使用 pecl 为特定 php 版本安装 php 扩展? - How to install php extension using pecl for specific php version, when several php versions installed in system? 在MacOS上安装PHP intl扩展 - Install PHP intl extension on MacOS Prestashop:发生错误:您必须先安装 PHP zip 扩展。 我安装了 Zip 扩展 - Prestashop: An error has occured: You must install PHP zip extension first. I have Zip extension installed 尝试从 composer 安装 laravel 时缺少 PHP 扩展 zip - Missing PHP extension zip when trying to install laravel from composer 未安装 Zip PHP 扩展。 请安装并重试。 Laravel - The Zip PHP extension is not installed. Please install it and try again. Laravel 如何在 CentOS 7 上安装从头编译的 PHP 7.4 的 zip 扩展? - How to install zip extension for PHP 7.4 compiled from scratch on CentOS 7? 无法安装ZMQ php扩展名。 找不到libzmq安装。 但是它是通过“ brew install zmq”安装的。 MacOS Mojave - Can't install ZMQ php extension. Unable to find libzmq installation. But it installed via “brew install zmq”. MacOS Mojave
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM