This simple script will search for all wp-config.php files in a directory, pull the database name and create a backup of it. for wpinstall in $(find "$(pwd)"/ -type f -name wp-config.php | sed 's/wp-config.php//g') do echo "$wpinstall" dbname=$(grep...
MariaDB service failed due to insufficient space on /var partition. After removing the log/backup files, MySQL failed to start with the error: service mysqld status Jan 24 08:34:07 srv.pcx3.com systemd[1]: Starting MariaDB database server…Jan...
In cPanel emails from OpenCart are bouncing back with the error message: message has lines too long for transport To fix this edit the /system/library/mail/mail.php and encase every instance of base64_encode() with chunk_split()...
After enabling PHP8 on some servers I’ve noticed the following error appear when clicking on the “Reset to default” button for PHP8 in PHP Selector: The last line was crucial for resolving the issue: The received data is wrong...
Here is a simple PHP script that you can use to test if a port is open on the server or not. <?php $host = $_SERVER['SERVER_ADDR']; $ports = array(21, 25, 80, 81, 110, 443, 3306); foreach ($ports as $port) { $connection = @fsockopen($host...
ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress. Google Chrome Incognito mode and some other browsers like Tor block JavaScript by default and in order to use WordPress without JavaScript we can...
If you are looking to change the Ftp port on your server from 21 to a non-standard port say 2121, you need tweak the ‘bind’ option in the Ftp configuration file. On a cPanel server with pure-ftp as a Ftp server, you need to edit...
The default port that MongoDB runs on is 27017 and to change it we have to edit MongoDB's main configuration file, which for Linux Ubuntu/CentOS is mongod.conf and for Windows its mongod.cfg.
Back in 2018 CloudFlare reported massive amplification attacks from UDP port 11211 on a scale never seen before. Zimbra quickly updated their wiki with How to Block Memcache Attack and if you haven’t taken the advice yet, you probably should...
By default on Linux servers SSH runs on 22 port. We can change the default SSH port for Linux server as an added security measure. NOTE: Before changing the SSH port makes sure the new SSH port does not conflict with any known, used or blocked...