将mod_mysql,mod_xml和mod_zlib添加到Apache [英] Add mod_mysql, mod_xml and mod_zlib to apache
问题描述
我正在安装Anahita(社交网络平台).在其要求中,有一行显示:
I was in the process of Anahita installation - a platform for social networking. In its requirements there is a line which says:
Apache 2.0+(带有mod_mysql,mod_xml,mod_zlib)或Nginx
Apache 2.0+ (with mod_mysql, mod_xml, mod_zlib) or Nginx
您可以在此处找到其主要网站,并在
You can find its main website here and its installation guide here
I 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!