略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: 安装

2024-11-14

安装

PHP 的 Bzip2 支持默认未打开。编译 PHP 时需要 --with-bz2[=DIR] 配置选项来激活 bzip2 支持。

add a noteadd a note

User Contributed Notes 1 note

up
-34
gurungrahul2 at gmail dot com
3 years ago
For ubuntu users:

Install the library using

     sudo apt-get install libbz2-dev

and then add this to your configure command

     --with-bz2

this will automatically detect the default directory.
The mistake I did was installing php7.1-bz2 instead of above given lib.

Wanna say thanks?

Please feed stray animals :)

官方地址:https://www.php.net/manual/en/bzip2.installation.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3