PHP

PHP-FPM Performance Tweaks

Posted on

High performance Apache with mpm-event and PHP-FPM   Next, we edit config file for mpm-event at /etc/apache2/mod-available/mpm-event.conf : # event MPM # StartServers: initial number of server processes to start # MinSpareThreads: minimum number of worker threads which are kept spare # MaxSpareThreads: maximum number of worker threads which are kept spare # ThreadsPerChild: constant number of worker threads […]

PHP

Prestashop: Debug Mode and Memory Upgrade

Posted on

To turn on debug mode go to: config/defines.inc.php Set define(‘_PS_MODE_DEV_’, false); –> define(‘_PS_MODE_DEV_’, true);   To upgrade PHP Memory Limit vim /etc/php5/apache2/php.ini — Go to Memory Limit.   To check PHP Config create a file with the following code. <?php phpinfo(); ?>   Another way to raise you your servers performance is to create a SWAP file, […]