zend server


Segmentation Fault using Zend Server with SSL and Curl

Using the apache module mod_ssl and the php extension curl may result in apache not running. Usually there's something like this in the logs: seg fault or similar nasty error detected in the parent process It took me quite a while to figure out how to get this working nevertheless, perhaps I can save someone else's time!! […]


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 […]