问题
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