Category: PHP

CPanel / WHM, Installation, PHP

How to install the imagemagic on Linux server

How to install the imagemagic on Linux server /scripts/installimagemagic How to rectify if ImageMagic is installed on server : Run below command root@test [~]# identify -version Version: ImageMagick 6.4.8 2010-06-27 Q16 OpenMP http://www.imagemagick.org Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC If the identify program executes and identifies itself as ImageMagick, you may not need to …

Installation, PHP

How to install memcache

How to install memcache Definition: Memcache is a high-performance memory object caching system intended to speed up dynamic web applications by alleviating database load. Memcache is extremely fast. It uses libevent, which provides a mechanism to execute a callback function when a specific event occurs on a file descriptor, to scale to any number of open …

Installation, PHP

How to install APC for php in linux server

How to install APC for php in linux server pecl install php   You can use the below steps to install it manually. wget http://pecl.php.net/get/APC tar -zxf APC-3.1.9.tgz cd APC-3.1.9 whereis php-config ./configure –enable-apc –enable-apc-mmap –with-apxs–with-php-config=/usr/bin/php-config make make install restart the apche /etc/init.d/httpd restart     If you are getting below error message : /root/tmp/pear/APC/apc.c:454: …

PHP, Uncategorized

How to enable php.ini for all the folders under one account

 How to enable php.ini for all the folders under one account Copy the php.ini file in the public_html folder of the user using below command.cp /usr/local/apache/php.ini . Then create .htaccess file and insert the below command: SetEnv PHPRC /home/username/public_html Note: In place of username you have to use the clients or your username.