问题描述
我正在安装Anahita(社交网络平台).在其要求中,有一行显示:
I was in the process of Anahita installation - a platform for social networking. In its requirements there is a line which says:
您可以在此处找到其主要网站,并在此处我安装了apache2(ubuntu 14.04),但是当我转到/etc/apache2/mods-available时,没有mod_mysql,mod_xml或mod_zlib.
我应该如何将这些模块添加到apache中?
我在modules.apache.org中找不到它们
You can find its main website here and its installation guide hereI installed apache2 (ubuntu 14.04) but when I go to /etc/apache2/mods-available there are no mod_mysql, mod_xml or mod_zlib.
how should I add these modules to apache?
I couldn't find them in modules.apache.org
推荐答案
当他们谈论"mod_mysql
,mod_xml
,mod_zlib
"时,他们不是在谈论Apache模块,而是在谈论PHP扩展,有时也称为模块.转到php.ini
并启用mysql
,xml-rpc
和zlib
.根据您的平台和php发行版,您可能需要下载正确的库并配置php和mysql的PATH.
When they talk about "mod_mysql
, mod_xml
, mod_zlib
" they are not talking about Apache modules but rather about php extensions also sometimes called modules. Go to php.ini
and enable mysql
, xml-rpc
and zlib
. Depending on your platform and php distribution you may need to download correct libraries and configure the PATH to your php and mysql.
这篇关于将mod_mysql,mod_xml和mod_zlib添加到Apache的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!