HowTo install PHP 5.3 on CentOS 5 or RHEL 5 This small tutorial walks you through a CentOS 5 PHP 5.3 installation using a PHP 5.3.6-2 RPM for CentOS / RHEL. I will be using the Atomic Repo in this guide, as always when using 3rd party YUM repos I would recommend following our guide [...]
Archive for the ‘Plesk’ Category
ssh keys HowTo
May 23rd, 2011
KJS HowTo setup SSH keys Guide on how to setup SSH keys on Linux this should work on Ubuntu, CentOS, Debian, RHEL, Fedora, Gentoo etc Create the key pair, this will create the public and private keys: ssh-keygen -t rsa Accept the defaults and enter you’re passphrase when prompted, unless you do not require a passphrase [...]
.gvfs permission denied
May 20th, 2011
KJS Recently I had a problem with a .gvfs file in a users home dir causing an rsync backup to fail, throwing the following error: receiving file list … rsync: readlink_stat(“/home/username/.gvfs”) failed: Permission denied (13) done username/.xsession-errors sent 42 bytes received 1746118 bytes 36003.30 bytes/sec total size is 31178158898 speedup is 17855.27 rsync error: some files [...]
Disable open_basedir Plesk
May 3rd, 2011
KJS To disable Plesk’s open_basedir restriction, create a vhost.conf file in your /var/www/vhosts/domain-name.com/conf directory and include the following: < Directory /var/www/vhosts/domain-name.com/httpdocs> php_admin_flag engine on php_admin_flag safe_mode off php_admin_value open_basedir none < /Directory> Rebuild all vhosts. /usr/local/psa/admin/bin/websrvmng -av Single vhost /usr/local/psa/admin/sbin/websrvmng –reconfigure-vhost –vhost-name=domain-name.com Restart Apache /etc/init.d/httpd restart

Posted in
Tags: