Tag: php

How To Harden PHP5 With Suhosin On CentOS 5.4

This tutorial shows how to harden PHP5 with Suhosin on a CentOS 5.4 server. From the Suhosin project page: “Suhosin is an advanced protection system for PHP installations that was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core. Suhosin comes […]

Auto restart apache on segmentation fault error

Recently a particular folder in a site started coming up with blank php pages and the root cause being Segmentation fault after memory exhaustion. The subfolder contents would only come up after doing a restart of apache. So something tried to access a region of memory that it did not […]

Plesk: cannot remove email/domain/client: mailmng failed: Some errors occured

If the mail handlers in Plesk are corrupt, you will be unable to remove the email account OR the domain from the Plesk control panel which results in the following error —————————————– mailmng failed: Some errors occured. See log for details 0: class.MailManager.php:242 MailManager::execWithException(string ‘smart_exec’, string ‘mailmng’, array, array, string […]

How to install PDFlib-Lite & PDFlib on a CentOS server?

PDFlib is a free library used for generic viagra at walmart generating and manipulating files in Portable Document Format (PDF). The primiary goal of PDFlib is to create dynamic PDF documents on a Web server OR similar systems and to allow a “save as PDF” capability. The following steps will […]

Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support On Ubuntu 11.04

Nginx (pronounced “engine x”) is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption. This tutorial shows how you can install Nginx on an Ubuntu 11.04 server with PHP5 support (through PHP-FPM) and MySQL support. I do not […]

How to install PHP-Json module on a Linux Plesk server?

To install/enable Json support for PHP on a Linux Plesk server, follow the below steps: 1. Install php-pear and gcc # yum install php-pear gcc 2. Install json module # pecl install json 3. Now, the json.so file is created under the php lib directory i.e. /usr/lib64/php/modules/ and needs to […]

Horde: there are no parts that can be displayed inline.

While accessing an email using Horde, you may notice that Horde isn’t displaying the contents of the email rather it displays the following message “there are no parts that can be displayed inline.” The reason is the “inline” setting of the HTML driver is set to false. To fix the […]

php: symbol lookup error suhosin.so: undefined symbol: zend_atol

The error message “php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so: undefined symbol: zend_atol” occurs when an application is not compatible with Suhosin. The error message also appears when an old application/software is upgraded to it’s latest version. It may not cause issues with all the applications but definitely does affect some of […]