Storing your PHP sessions using Memcached

Memcached is a high-performance, distributed memory object caching system. Many big well-known sites use it to store their PHP sessions in a centralized way and to reduce the load on their servers.   Installation with Apache2 and PHP5 on Debian:  Install these packages (if memcached is on a different server, omit the package): apt-get install memcached php5-memcached […]

Activating XDebug in Zend Server

In order for the XDebug Pear/PECL package to find php, we need to create some symbolic links: ln -s /usr/local/zend/bin/zendctl.sh /usr/bin/zendctl ln -s /usr/local/zend/bin/pear /usr/bin/pear ln -s /usr/local/zend/bin/pecl /usr/bin/pecl ln -s /usr/local/zend/bin/php /usr/bin/php ln -s /usr/local/zend/bin/phpize /usr/bin/phpize Then install the Pear/PECL package XDebug: pecl install xdebug Execute the command below – this prepends zend_extension=/usr/local/zend/lib/php_extensions/xdebug.so to the file […]