Search Posts

Category: cPanel/WHM

Joomla | Database Error: The PHP `ext/mysql` extension is removed in PHP 7, cannot use the `mysql` driver

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:

Subdomain not inheriting PHP version of the main domain | Litespeed issue on cPanel

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 […]

Prefer/Precedence IPv4 over IPv6 for DNS lookups

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 […]

cPanel domlogs/Webserver Access logs are showing only local server IP addresses

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. […]

Liblua error: relocation R_X86_64_32 against `luaO_nilobject_’

The full error will be like as below: ———————— /usr/bin/ld: /usr/local/lib/liblua.a(lapi.o): relocation R_X86_64_32 against `luaO_nilobject_’ can not be used when making a shared object; recompile with -fPIC /usr/local/lib/liblua.a: could not read symbols: Bad value ———————— I got the above error in between easyapache. It’s pretty sure lua is present in server but something went unoticed or bad while its installation. The missing part was nothing but I compiled 32 bit lua in 64 bit server, […]

Error while loading shared libraries: liblua.so

I got this liblua error while apache,php recompilation. At first I tried to find the dependencies of lua # ldd `which lua` linux-vdso.so.1 => (0x00007fff1dd7d000) liblua.so => not found libreadline.so.6 => /lib64/libreadline.so.6 (0x0000003b68800000) libncurses.so.5 => /lib64/libncurses.so.5 (0x0000003b68400000) libm.so.6 => /lib64/libm.so.6 (0x0000003b68000000) libdl.so.2 => /lib64/libdl.so.2 (0x0000003b67800000) libc.so.6 => /lib64/libc.so.6 (0x0000003b67400000) libtinfo.so.5 => /lib64/libtinfo.so.5 (0x0000003b6a400000) /lib64/ld-linux-x86-64.so.2 (0x0000003b67000000) Then I tried to search for liblua in “/” using find command. # find / -iname liblua* /opt/lua/lib/liblua.a /opt/lua/lib/liblua-5.1.so The […]

Next Page »