We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
OPcache as default php optimizer
OPcache as default php optimizer
Hello. I have some small question. Why when default installation Vesta CP don't install php opcache (or xcache or ....). It also reduces the load on the processor by the fact that not everyone will have time to generate bytecode.
Re: OPcache as default php optimizer
Hi! Can you be more specific? Which php version do you refer to? Vesta will install the version available on your system. For example if you have some VPS with Ubuntu 14.04+ or Debian8, Vesta CP will install php5.5+ meaning you will not have to manually install opcache or some other cache lib to boost your speed like in the previous php versions. In my opinion (without knowing your setup) if you use php < 5.5 upgrade to 5.5+. This way you can benefit from opcache + vesta apache backend with nginx as proxy cache in the front.
Re: OPcache as default php optimizer
Well, it's hard to choose for user what's will be best. There is many users, who like OPCache, but many like xcache... some use APC long time with old projects. There is no one right solution, which make all happy.baltazor wrote:Hello. I have some small question. Why when default installation Vesta CP don't install php opcache (or xcache or ....). It also reduces the load on the processor by the fact that not everyone will have time to generate bytecode.
Re: OPcache as default php optimizer
That's true, there is no right answer here. I just mentioned the easiest solution (and working out of the box) to implement.
Re: OPcache as default php optimizer
For example I installed VestaCP for Centos 7.2 and php 5.4.45vlahonick wrote:Hi! Can you be more specific? Which php version do you refer to? Vesta will install the version available on your system. For example if you have some VPS with Ubuntu 14.04+ or Debian8, Vesta CP will install php5.5+ meaning you will not have to manually install opcache or some other cache lib to boost your speed like in the previous php versions. In my opinion (without knowing your setup) if you use php < 5.5 upgrade to 5.5+. This way you can benefit from opcache + vesta apache backend with nginx as proxy cache in the front.
I understand that, but many people install Control panel because do not know how to install a web server itself, and default opcache the best choice for these users. Those who want another php *cache versed in it and then be able to put his own with the help of several commands.skurudo wrote:Well, it's hard to choose for user what's will be best. There is many users, who like OPCache, but many like xcache... some use APC long time with old projects. There is no one right solution, which make all happy.baltazor wrote:Hello. I have some small question. Why when default installation Vesta CP don't install php opcache (or xcache or ....). It also reduces the load on the processor by the fact that not everyone will have time to generate bytecode.
Re: OPcache as default php optimizer
I couldn't agree more. But even if you are familiar with linux cli memcache, xcache etc why bother to setup all this by yourself.I understand that, but many people install Control panel because do not know how to install a web server itself, and default opcache the best choice for these users. Those who want another php *cache versed in it and then be able to put his own with the help of several commands.
Anyway, in your case I think that you should perform a clean install in your VPS and then update your repos until you get PHP installation candidate >= 5.5. When you do that, install Vesta and let it handle the installation.