Imagemagick on CentOS and Plesk

root@server ~]# yum install ImageMagick [root@server ~]# yum install ImageMagick-devel PHP-imagick Installation: [root@server ~]# yum install gcc [root@server ~]# yum install make automake [root@server ~]# yum install php-pear [root@server ~]# yum install php-devel [root@server ~]# pecl install imagick On some servers yum install php-pecl-imagick.x86_64 Test: convert image.jpg -resize 64×64 resize_image.jpg

Cannot find mail.php

For WHM You should be able to enable this in the WHM section – Home » Software » Module Installers. Click “Manage” PHP Extensions and Applications Package. Search for Find a PHP Extensions and Applications Package – Mail. You should be able to instal this there.

Posted in PHP

Opencart View Order Error

Viewing the orders in opencart admin – the following errors appear: [Wed Apr 01 14:51:21 2015] [warn] [client 67.81.xxx.xx] mod_fcgid: read data timeout in 45 seconds, referer: https://www.domainname.com/admin/index.php?route=sale/order&token=96d6680034320729c7df84d678589324 Try to increase the timeout in the /etc/httpd/conf.d/fcgid.conf file to 90 seconds.

Downgrade php from 5.4 to 5.3 after atomic upgrade

Disable Atomic [root@dedicated yum.repos.d]# nano atomic.repo # Name: Atomic Rocket Turtle RPM Repository for CentOS / Red Hat Enterprise Linux 6 – # URL: http://www.atomicrocketturtle.com/ # Note: This isn't covered by ASL support. -Scott [atomic] name = CentOS / Red Hat Enterprise Linux $releasever – atomicrocketturtle.com mirrorlist = http://updates.atomicorp.com/channels/mirrorlist/atomic/centos-$releasever-$basearch enabledRead More…

Posted in PHP