[英]Add mod_mysql, mod_xml and mod_zlib to apache
I was in the process of Anahita installation - a platform for social networking. 我当时正在安装Anahita(社交网络平台)。 In its requirements there is a line which says:
在其要求中有一行显示:
Apache 2.0+ (with mod_mysql, mod_xml, mod_zlib) or Nginx
Apache 2.0+(带有mod_mysql,mod_xml,mod_zlib)或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. 我在这里安装了apache2(ubuntu 14.04),在这里可以找到它的主要网站和安装指南,但是当我转到/ etc / apache2 / mods-available时,没有mod_mysql,mod_xml或mod_zlib。
how should I add these modules to apache? 我应该如何将这些模块添加到Apache?
I couldn't find them in modules.apache.org 我在modules.apache.org中找不到它们
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. 当他们谈论“
mod_mysql
, mod_xml
, mod_zlib
”时,他们不是在谈论Apache模块,而是在谈论PHP扩展,有时也称为模块。 Go to php.ini
and enable mysql
, xml-rpc
and zlib
. 转到
php.ini
并启用mysql
, xml-rpc
和zlib
。 Depending on your platform and php distribution you may need to download correct libraries and configure the PATH to your php and mysql. 根据您的平台和php发行版,您可能需要下载正确的库并配置php和mysql的PATH。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.