Add mod_mysql, mod_xml and mod_zlib to apache

∥☆過路亽.° 提交于 2019-12-11 03:37:39

问题


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+ (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


回答1:


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.



来源:https://stackoverflow.com/questions/33386901/add-mod-mysql-mod-xml-and-mod-zlib-to-apache

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!