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 More

How 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

Error :: Can’t Fetch Perl Modules

Error :: Can’t Fetch Perl Modules in your WHM at “Main >> Software >> Install a Perl Module >> Show Available Perl Module(s) ” Reason :: In most cases Low memory to process cPanel processes. You can check the exact logs at :: /usr/local/cpanel/logs/error_log Solution :: Increasing cPanel Process memory, to increase this memory follow […]

See More