1) Check whether InnoDB is enabled on the server. To check login to shell as root and go to mysql prompt. i) root@server [~]#mysql ii) mysql> show engines; Search for InnoDB and check whether it is Enabled or Disabled. iii) mysql> quit 2) Now if it is disabled and to make it enabled on the […]
See MoreCategory: cPanel
How to change date and time zone in php ?
If your php script is not showing correct date and time then it means your script is using date and time zone configured on your server. If you want to set your own date and time zone for your domain then it can be done in a very simple manner. You will need to create […]
See MoreHow to Clear cPanel Server logs ?
You can empty cPanel servers logs by using following commands Login into server as root root@server[#]vi logs echo > /usr/local/apache/logs/error_log echo > /usr/local/apache/logs/access_log echo > /usr/local/apache/logs/access_log echo > /usr/local/apache/logs/error_log echo > /usr/local/cpanel/logs/access_log echo > /usr/local/cpanel/logs/error_log echo > /var/log/exim_mainlog echo > /var/log/exim_rejectlog echo > /var/log/maillog echo > /var/log/messages echo > /var/log/messages.1 echo > /var/log/maillog.1 :wq! root@server[#]chmod […]
See More