Ad_Feed

Wednesday, May 15, 2013

Using Php 5.3 on Cpanel platform

To install applications that require a higher PHP version, create a .htaccess file inside the application directory and specify which version of php you want used.


# Use PHP 5.3
AddType application/x-httpd-php53 .php



Monday, April 29, 2013

SSH permission issue - failed to add host to known hosts (/home/username/.ssh/known_hosts)

 The permission set on the .ssh folder, the private keys and public keys matter. To solve the problem of -

Failed to add the host to the list of known hosts (/home/username/.ssh/known_hosts)

.ssh folder - permission set to 700
public keys (id_rsa.pub or id_dsa.pub)- permission set to 644
private keys (id_rsa or id_dsa)- permission set to 600