Apache2/MySQL on Ubuntu Configuration

Once you’ve installed apache2 and mysql on your server, you might want to try these configuration changes to make it perform a bit better:

In /etc/mysql/my.cnf

And in Apache2’s config, /etc/apache2/apache2.conf, find the section for MPM prefork if yo have it and:

The above are just some things to try if you encounter a situation where apache is using too much memory, or the same for mysqld.

About Jason

I am a 31 year old programmer living in the south of France. I currently work actively in the fields of Ruby/PHP/Javascript and server/website administration.
This entry was posted in General Computing, Linux, MySQL, PHP/MySQL, Tips and Tricks, Topics, Tutorials, Writings. Bookmark the permalink.