A new vulnerability has been found that potentially affects most versions of the Linux and Unix operating systems, in addition to Mac OS X. Known as the “Bash Bug” or “ShellShock,” the GNU Bash Remote Code Execution Vulnerability could allow an attacker to gain control over a targeted computer if exploited successfully. And because Bash is everywhere on Linux and Unix-like machines and interacts with all parts of the operating system, everyone anticipates that it will have lot of repercussions. How does Shellshock work? Shellshock exploits a flaw in how …
Server
Installation of PECL_HTTP Extension From Source Code in Custom PHP in Cloudlinux
Suppose that your Linux server has PHP version selector installed and configured. As you know alternative php5.x (while using PHP version selector) versions should load /opt/alt/php5x/etc/php.ini file and scan /opt/alt/php5x/etc/php.d directory for modules:: ==== Configuration File (php.ini) Path /opt/alt/php5x/etc Loaded Configuration File /opt/alt/php5x/etc/php.ini Scan this dir for additional .ini files /opt/alt/php5x/etc/php.d additional .ini files parsed /opt/alt/php5x/etc/php.d/alt_php.ini ==== Those are default locations for alt-php. Steps in installing pecl http package in cloudlinux platform: 1. Download the pecl_http package from pecl website http://pecl.php.net/package/pecl_http and compile it. #wget http://pecl.php.net/get/pecl_http-2.0.4.tgz 2. Extract the package …
How to fix – Error: Account Creation Status: failed,mysql user with the name already exists
While restoring a cPanel account from one server to another server there is a chance for following error: Account Creation Status: failed (Sorry, a mysql user (let’s take ‘dbuser’) with the name already exists To Delete the user : Please login into the mysql and follow the steps mysql mysql > use mysql; mysql > drop user dbuser@localhost; OR mysql> delete from mysql.user where user=dbuser; You can also check this using : select User, Host from user where User like dbuser; Where dbuser is the user mentioned in the error. …
Denial-of-service attack (DoS attack) or Distributed Denial-of-service attack (DDoS attack) is an attempt to make a machine or network resource unavailable to its intended users. This attack generally target sites or services hosted on high-profile web servers such as banks, credit card payment gateways, and even root nameservers. DoS attacks are implemented by either forcing the targeted computer to reset, or consuming its resources so that it can no longer provide its services or obstructs the communication media between the users and the victim so that they can no longer …
If you manage a website, you’ll likely encounter server migration at some point. This could be due to upgrading to a more powerful server, switching service providers, or updating your software environment for better performance and security. Despite its benefits, server migration often raises concerns – such as data loss, downtime, or website instability. The good news is that with proper planning and execution, you can migrate your web server with zero downtime and no data loss. Let’s walk through the process step by step. 1. Prepare Your DNS When …
‘rncd : connection failed : connection refused’ is a common error occurred in cpanel. Inorder to get the name servers work properly we need to eliminate this error. Elimination of this error is a simple process which takes only a few minutes via cPanel /scripts.. The steps to solve the issue is as follows : 1. Login to your server as root via SSH 2. Run: /scripts/updatenow 3. Run: /scripts/fixrndc The above steps should fix most of the cases, but if it does not, do follow the following steps : …
DNS is a critical component of any network infrastructure. It is responsible for translating domain names into IP addresses, making it a prime target for attackers. A compromised DNS server can lead to traffic redirection, data interception, service downtime, and severe reputation damage. The main objective of securing DNS includes ensuring the secure exchange of data between DNS servers, protecting DNS queries, securing zone transfers, and controlling DNS updates. Strengthening DNS security is a foundational step in overall website and server protection, as discussed in SupportPro’s guide on improving website …
SSH is a tool for secure remote login over insecure networks. It provides an encrypted terminal session with strong authentication of both the server and client, using public-key cryptography. 1. Use Strong Passwords/Usernames choose passwords that contains: Minimum of 8 characters Mix of upper and lower case letters Mix of letters and numbers Non alphanumeric characters (e.g. special characters such as ! ” $ % ^ etc)
How to Fix “PHP Is Not Recognized as an Internal or External Command” in Windows
If you see this error in Command Prompt: it means Windows cannot find the PHP executable file. This happens when the PHP installation directory is not added to the system PATH environment variable. Let’s understand why this happens and how to fix it properly. Why This Error Occurs Windows uses a special environment variable called PATH to locate executable files when you run commands in Command Prompt. If PHP was: then its installation directory may not have been added to PATH. When that happens, Windows doesn’t know where php.exe is …
If you want to disable redirection to SSL connection while accessing WHM, cPanel, Webmail, please follows these steps. Login to WHM >> Tweak Setting >> Uncheck the following options under Redirection. Always redirect users to the ssl/tls ports when visiting /cpanel, /webmail, etc. Also you have to uncheck the following option under Security in Tweak Settings. Require SSL for all remote logins to cPanel, WHM and Webmail. This setting is recommended. Also you can disable those options from the shell. SSH to the server as root. Open /var/cpanel/cpanel.config and set …