Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tuning Apache-PHP-MySQL for speed [closed]

I have leased VPS with 2GB mem.

Problem i have is that i have few joomla installations and server get in to very slow response if there is more than 30-50 users attached at same time.

Do you have any tips, books/tutorials/suggestions how to increase response time in this situation?

Pls. give me only very concrete and useful URLs, i would be very grateful.

In attachment i attached just part of htop view on that VPS

enter image description here


1 Answers

The easiest and cheapest thing you can do is to install a bytecode cache, e.g. APC. Thus, php does not need to process every file again and again.

If you're on Debian or Ubuntu this is as easy as apt-get install apc.

like image 113
middus Avatar answered May 09 '26 02:05

middus