Mavera2,
In response to the quote
But I want to use opcode engine like APC or XCache. But they are not suitable with FastCGI.
it can be simply stated that APC is well-maintained (mature) and suitable for the standard Plesk 11.5.30 PHP version (5.3.10) and accompanying Zend Engine version (2.3.0), but
- one of its main contributors (Facebook) has already shifted focus to different PHP accelarators,
- the creators of PHP and Zend Engine are not inclined anymore to include it in the PHP core (they shifted focus to other accelerators as of PHP 5.5)
and it can also be stated that XCache is stable and has full support for PHP version 5.4, but is a somewhat deviant alternative to accelerators to be included in the PHP core.
Furthermore, the above mentioned accelerators are often only useful in large PHP applications (and really, in a standard Plesk installation, these large applications are absent).
In short, the mod_fcgid in Plesk installations will suffice in many occasions and it is certainly not wise to install APC (due to the facts that it will become obsolete and/or the standard mod_fcgid does more or less the same thing) or to install XCache (not really an advantage over the standard mod_fcgid).
I read that if I use PHP-FPM I can get optimum performance from opcode. What would you recommend for opcode in Plesk 11.5 and Apache with using FastCGI ?
The PHP-FPM module (to be installed with the Plesk autoinstaller) is a process manager, normally for mod_fastcgi and, in the case of Plesk, for the standard mod_fcgid.
The PHP-FPM option is, in short, intended to manage processes efficiently, giving major enhancements to fastcgi modules or alike modules.
Given an installation of both standard mod_fcgid and PHP-FPM, there really should not be a need to increase performance anymore (by accelerators or other modules).
In some cases performance is too little, implying that the application (causing low performance) should be migrated and isolated into a dedicated server, in which the application is run separately and, if and only if stand-alone deployment is not sufficient, some accelerators can be added, after and only after careful selection and testing of modules.
In conclusion, there should not be any need to add accelerators and/or other modules to Plesk.
The best result can (always) be obtained by isolating performance consuming applications to dedicated servers and creating a custom configuration and setup for those applications.
Kind regards......