I have installed Virtualmin on a new VPS.
System is Ubuntu 14.04
As I understand Virtualmin uses FCGI as default.
I was looking for tutorial on enabling zendcache which is included by default in PHP 5.5.
Thanks for reply.
Well, I tried, but now, I don’t know, if it’s only my localised google page showing strange results or what but all the tutorials I saw, instruct that in order to enabled opcache in Ubuntu 14.04 you have to modify php.ini which is located in /etc/php5/fpm/php.ini
You do NOT need php-fpm to use Opcache. Google is probably spurting these pages out as PHP-FPM is the new thing which everyone is talking about.
Ubuntu is not my OS but…
You need to check you have the module installed, if not then install it.
Enable the module for the site you would like it on.
You will probably have it installed already, it is standard with php55 but this does depend on your packager.
A great way to check the setup that is in place is using an info.php page. It will tell you what php.ini you are using, what modules are loaded,what their settings are and also where they are located.
Virtualmin > Service > Configure Website > Edit Directives
Probably worth making a note of which file get opened. It is listed above the text box, in the line starting “Use the text box below to manually edit the Apache directives in”
Here you will be looking for the line “AddType application/x-httpd-php .php”
The file you are in gets pulled into the “full” conf file for apache, with each virtual server having it section. You should have the line in each of your virtual servers.
In terms of the LoadModule it will depend on the setup for ubuntu 14 how this is done, there may be sub directories which get scanned and the modules present get loaded, not sure.