Not enough space in tmp due to eaccelerator

OS : Linux CentOS 5, cPanel® 11.24

Problem :

a. Centos /tmp keeps on getting full, culprit identified is EAcclerator.
b. Production server that needs minimal down time minimal changes.

Scope :

a. OS is CentOS 5.2 redhat
b. /var has more than 4GB free space
c. Have administrator and root access

Possible solution :

a. Recompile Apache with EAccelerator disabled.
b. Create cron to clear to clear space in regular interval.
c. Create a customed script that clears EAccelerator cache at regular interval.

What is your choice ? (more…)

Install PEAR in Windows Vista or Windows Server 2008

System and OS : Windows Vista or Windows Server 2008
PHP Version :  PHP 5.2.6 or 5.2 major version
Web Server : IIS6 or IIS7
Assumption : PHP 5 is installed and web application running PHP-CGI or FastCGI

1. Open command prompt as Administrator. (more…)