For clients faced cPanel initiating quotas problem the only solution is server reboot after OptimumCache package upgrade. After reboot try to initiate cPanel quotas. The reboot appears to be the only way to unload undesirable ‘vzdquota’ kernel module.

cloudlinux-collect 0.1-4

fix for incomplete stats when 'optimumcache stat' issues a message to stderr;

run ‘optimumcache stat’ within LVE considering the same limits as for ‘occtl --check’, ‘occtl --mark-dir’ commands;

yum groupinstall alt-php --enablerepo=cloudlinux-updates-testingMore...]]>http://cloudlinux.com/blog/clnews/653.php
http://cloudlinux.com/blog/clnews/653.phpMon, 23 Mar 2015 08:21:13 -0400Mykola Naugolnyi: Different PHP versions per directories using mod_lsapiIn regards to our previous post about different PHP versions when using suphp, here is an easy instruction of how to setup different PHP versions per directories when using mod_lsapi.

Assuming that you already have CageFS, PHP Selector and mod_lsapi installed, perform the following steps:

1. Setup mod_lsapi (no matter globally or per domain).

2. Create /etc/container/php.handler file with handlers for different versions:

4. Create .htaccess file in desired directory where you want to have a different from default PHP version with right handler:

====code====

AddType application/x-lsphp53 .php5 .php4 .php .php3 .php2 .phtml

=============
As the result, subdirectories will use the same PHP version as parent unless you overwrite it with another .htaccess entry in that subdirectory.

PHP extensions selection will match extensions selected by end user for that PHP version in PHP Selector.

This way the main website can use native PHP handler (suphp/fcgi) while subdirectory is using lsapi with necessary PHP version.More...]]>http://cloudlinux.com/blog/clnews/652.php
http://cloudlinux.com/blog/clnews/652.phpThu, 19 Mar 2015 11:07:12 -0400Mykola Naugolnyi: Beta: OptimumCache updatedNew version of OptimumCache 0.2-24 is available from our updates-testing repository.