There are many modules enabled by default in apache config which are not required to run a typical magento installation. Disabling these modules can help optimize performance for Magento. There are around 26 modules in this list, so you can imagine how much positive difference it can create on server performance. Here is the list of apache modules which we were able to disable safely. This list is published just to give you idea, so be careful and consider your specific needs before disabling these. Here is the list
- proxy
- proxy_ajp
- proxy_balancer
- proxy_connect
- proxy_ftp
- proxy_http
- bw (bandwidth usage)
- cache (disk and memory cache)
- disk_cache (disk and memory cache)
- speling (tries to find misspel docs)
- status (to get apache status)
- substitute (find replace in output)
- suexec (allows to run cgi under some user and group)
- userdir (point user real directory)
- usertrack (click stream recording)
- vhost_alias (Dynamic vhosts)
- cgi (cgi support)
- version (allows to use IfVersion in htaccess)
- ext_filter (extends filters)
- authn_anon (authenticate anonymous)
- authn_dbm
- authz_ldap
- authz_dbm
- info
- authz_owner
- include
- logio
- authn_alias
- authn_default
- ldap
- authz_groupfile
- authz_default
- suexec
Please do it on your own risk and test site after disabling each apache module one by one. You can disable modules by using hosting control panel or by editing apache config file. Add comments if you find it useful.
1 comment on “Magento Performance: Remove apache modules”
Very Handy but I ran into several permission issues with magento connect and media folders after disabling suexec