Server

Backup & Restoring Tips for Large Files in Plesk 11.0.9

When it comes to Plesk Backup Manger there are few things that…

When it comes to Plesk Backup Manger there are few things that you might need to configure in order to backup large files successfully.

For backing up, Plesk stores backups in “/usr/local/psa/PMM/tmp” and in most dedicated servers, you have limited amount of space in this directory so we are going to create a symbolic link from “/var/lib/psa/tmp” to “/usr/local/psa/PMM/tmp”.

1. Stop psa by using the following command.

/etc/init.d/psa stop

2. Make tmp directory

mkdir /var/lib/psa/tmp

3. Set permissions
chown psaadm:psaadm /var/lib/psa/tmp
chmod 755 /var/lib/psa/tmp

4. Remove tmp from PMM directory

rm -R /usr/local/psa/PMM/tmp

PHP Logo

Install PHP Mcrypt extension on CentOS 6 in 3 Supper Easy Steps

The php-mcrypt extension is not available on CentOS 6 or RHEL 6 (with/without…

The php-mcrypt extension is not available on CentOS 6 or RHEL 6 (with/without Parallels Plesk 11) although some applications such as Magento or phpMyAdmin require it to work properly.
We can easily install it though from the Fedora Project repositories or any other repository that include php-mcrypt.

1. Download the following RPM pacakges by using wget command:

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/php-mcrypt-5.3.3-1.el6.x86_64.rpm
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/libmcrypt-2.5.8-9.el6.x86_64.rpm

2. Install them using YUM:

yum localinstall php-mcrypt-5.3.3-1.el6.x86_64.rpm libmcrypt-2.5.8-9.el6.x86_64.rpm

3. Reload Apache server to load the extension up:

service httpd restart

Server

FIX: Plesk and Sendmail Problem PHP

From the command line, enter this below. /usr/local/psa/bin/domain -u yourdomain.com -mail_service false…

From the command line, enter this below.

/usr/local/psa/bin/domain -u yourdomain.com -mail_service false

You do not need to restart the server. This tells Plesk to not use the mail server to send mail for that domain. It will then go through the correct MX entry for the domain and send it to an external domain. Specially for those who use Google Apps on Plesk.

You will need to do this for every domain hosted on the server.