ABHIONLINUX
Site useful for linux administration and web hosting

2009/10/30

How to change memory_limit, upload_max_filesize and safe_mode status

php_value memory_limit 64M
php_value upload_max_filesize 8M

Safe mode can't be disabled via htaccess
Create a file including the following directive in /etc/httpd/conf/httpd.conf
under the particular domain's virtualhost add

php_admin_value safe_mode Off

2009/10/24

How to install cpanel

SSH in to the Server with root login and run the following commands:

# mkdir /home/cpanel
# cd /home/cpanel
# wget http://layer1.cpanel.net/latest
# sh latest

You have successfully installed cpanel in your server. You can access it using the URL
http://ipaddress:2086