This error shows up when you change/upgrade the PHP version of your Joomla website to PHP 7.XX. This is because the mysql extension is removed in PHP 7. You may need to change all those functions in PHP code to mysqli_* instead of mysql_* if you want to use PHP 7 for your Joomla website. In cPanel EasyApache 4, the mysqli extension is provided by the mysqlnd package. For example:
As you know, in cPanel Multi PHP Manager platform, it does support the ‘inherit’ method between the addon domains/subdomains and its main/primary domain. When you set an Addon domain(if down to the level of main domain’s document root) or Subdomain to use the Inherit option, Apache uses the PHP version that exists in the first .htaccess file that it finds in the domain’s file structure. If the system cannot find a .htaccess file on the […]
We had an issue with DNS lookup/Querying the whois servers(Example: whois.crsnic.net) while Domain Search/Registration for any TLDs through WHMCS, Domain Manager etc. The tool/system used to timeout whenever the users searched a domain for availability. We found the following via CLI when telnet’ing to the whois server directly. The above indicates it attempts IPv6 DNS lookup first but the whois server doesn’t support or provide it, later our server tries IPv4 DNS lookup and it […]
How to clean up a hacked server from the Exim vulnerability CVE-2019-10149 | Temporary workaround | cPanel
The recently reported Exim 4.87 to 4.91 versions vulnerability CVE-2019-10149 is of very intense. Many host servers have already been hacked by now. For the host which is clean by the Gods grace and are still running on the vulnerable Exim and outdated cPanel versions, it is highly recommended to upgrade the cPanel to get Exim patched in the new version 4.92 immediately. The solution to avoid such a hack issue to upgrade the cPanel […]
This happens when we have a reverse proxy Nginx->Apache set up on the server. To be precise, when the Apache based website is behind the reverse proxy(Nginx). In such cases, we may see the accessing IPs on the website access logs as server’s local IP address itself. This behavior is because the reverse proxy or load balancer acts as client to Apache and the Apache sees the internal IP address on its website access log. […]
For this, increase its value in the following file. Adding it in seconds. So convert minutes to seconds first. Use TimeoutStartSec, TimeoutStopSec or TimeoutSec to specify how long the timeout should be for starting and stopping the process.
There are many cases systemd doesn’t allow the MySQL to work from a new/custom data directory path. It still restricts the path and stick to the default /var/lib/mysql even if we try to change it. To override this, disable ProtectHome on the following file.
If you do not know the server root password but you have access to the server backend using SSH key as the root user, then you can always launch temporary root WHM instance from the CLI with : It will generate a WHM URL and you can copy/paste it on a new web-browser tab to get in.
I was getting the following error while I tried to install any package using apt-get package manager. For example: Error Fix Then do, Finally, I was able to install packages using apt-get
I faced an issue as my IM messenger suddenly got disconnected from the openfire xmpp server. I checked the internet connection to my computer and it was still looking fine. So I hop into openfire server and tried to manually start it. It showed as openfire service starting, but it went off suddenly. I checked some of its logs and could see the issue was with connectivity to mysql service running in same box. Following […]