对于pecl问题,MediaWiki安装应该使用哪个文件扩展名

时间:2016-09-21 10:50:56

标签: apache mediawiki

我正在尝试在我的ubuntu apache2服务器上安装Mediawik。 随着Mediawiki安装页面出现

Warning: The intl PECL extension is not available to handle Unicode normalization, falling back to slow pure-PHP implementation.

我跟踪了一些搜索文章如下:

sudo apt-get install php-pear
You will be prompted to confirm the install. Just press “y” and enter. If all goes well you should see it download and install the php-pear package.

Now you will need to install the php5-dev package to get the necessary PHP5 source files to compile additional modules. Enter the following from a shell prompt:

sudo apt-get install php5-dev
If you do not install the php5-dev package and try to install a PECL extension using “pear install”, you will get the following error:

sh: phpize: not found
ERROR: `phpize’ failed
The PECL_HTTP extension requires an additional dependency package to be installed. You can probably skip this for other extensions:

sudo apt-get install libcurl3-openssl-dev
Now we are finally ready to actually install the extension. From a shell prompt enter following but substitute “pecl_http” with the PECL extension name you are installing:

sudo pecl install pecl_http

现在我无法确定" pecl_http"中的文件扩展名应该是什么?侧。

1 个答案:

答案 0 :(得分:1)

尝试sudo apt-get install php5-intl