Archive for the ‘Cpanel / WHM’ Category
phpMyAdmin - Error #2002 - MySQL server’s socket is not correctly configured
Posted by Jason Web Hosting Sunday 16 November 2008 8:10 pm
In order to get rid of this issue, edit the file, /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php
and search for
$cfg['Servers'][$i]['socket'] = ”;
change to
$cfg['Servers'][$i]['socket'] = ‘/var/lib/mysql/mysql.sock’;
next line
$cfg['Servers'][$i]['connect_type'] = ‘tcp’;
change to
$cfg['Servers'][$i]['connect_type'] = ’socket’;
If this doesn’t fix the issue, make sure Mysql is running on your server and you have a symlink for mysql.sock under /tmp. To create a symlink, execute:
ln -s /varlib/mysql/mysql.sock /tmp
Protocol https not supported or disabled in libcurl
Posted by Jason Web Hosting Tuesday 11 November 2008 6:29 am
If you see below error on your secure website, make sure you compile curlssl with PHP. You may see ‘curl’ on your server but make sure you compile curlssl as well.
Protocol https not supported or disabled in libcurl
On a cPanel server, you can compile curl and curlssl using /scripts/easyapache script.
Apache MaxClients exceeds ServerLimit
Posted by Jason Web Hosting Tuesday 11 November 2008 6:14 am
If you are running Apache 2.x make sure that after every change to your httpd.conf file, you run the following commands:
/usr/local/cpanel/bin/apache_conf_distiller –update –main
/usr/local/cpanel/bin/build_apache_conf
Suppose you increase MaxClients to 500 and restart Apache, you may see the below warning message
WARNING: MaxClients of 500 exceeds ServerLimit value of 256 servers, lowering MaxClients to 256. To increase, please see the ServerLimit directive.
In this case, execute the above-mentioned commands and the changes will reflect. This also prevents any changes to be overwritten on the next cPanel update.
Categories
- Cpanel / WHM (15)
- Linux Hosting (16)
- Linux Plesk (4)
- Linux VPS (3)
Archives
Web Hosting Blogroll
-
Dedicated Server
Dedicated Server Hosting
Load Balancing Server
Load Balanced Servers
VPS Hosting
Virtual Private Servers
cPanel Hosting
Linux Hosting
Windows Hosting
Windows Shared Hosting
Reseller Hosting
Reseller Web Hosting
Windows Reseller
Windows Reseller Hosting
Windows VPS
Windows VPS Hosting
Semi Dedicated Servers
Semi-Dedicated Hosting