Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经安装了 LAMP。如何重新编译 PHP 以启用 zip 扩展?
另外,PHP 配置文件在哪里?
这完全取决于 linux 的发行版以及您如何安装堆栈。如果您从命令行运行php --ini,它将让您知道.ini文件的各种目录。
php --ini
.ini
PHP 配置文件应该位于:/usr/local/apache/php 或 /usr/local/apache2/php