Search Our Database

How to enable the short_open_tag option in PHP

Introduction The “short_open_tag” option in PHP allows the use of short tags (<? ?>) for PHP scripts, which can be useful for simpler code formatting. However, it is disabled by default in many server configurations to encourage the use of full PHP tags (<?php ?>). This guide explains how to enable the “short_open_tag” option in

How to fix warning: date() [function.date] in PHP

Warning: CentOS 7 reached its End of Life (EOL) in June 2024. As a result, it no longer receives security updates or official support, which may leave your server vulnerable to security threats. It is strongly recommended to upgrade to a currently supported Linux distribution for continued security and stability. Introduction When managing a PHP-based

How to turn off brute force notification for DirectAdmin control panel

Introduction DirectAdmin provides a mechanism to block IP addresses involved in brute force attacks. However, by default, it also sends notifications each time a brute force attempt is detected. If you want to stop these notifications while still blocking suspicious IP addresses, you can configure DirectAdmin to hide the notifications without affecting the IP blocking

How to set HAProxy load balancing using Session Cookie

Introduction HAProxy is a powerful tool used for load balancing and improving the performance and reliability of web applications. In this guide, we will walk you through the steps to configure HAProxy on your server for HTTP load balancing between two web servers. The configuration will use the round-robin balancing algorithm, which distributes traffic evenly

How to Speed Up Backup Restoration in DirectAdmin

Introduction This guide is intended for system administrators or web hosting users experiencing slow backup restoration times in DirectAdmin. By tweaking the DirectAdmin configuration, you can significantly improve the speed of restoring backups, especially for large user or reseller level backups. This solution is applicable to DirectAdmin servers where performance optimization is needed for backup

How to Downgrade PHP 5.3 to PHP 5.2 on DirectAdmin

Introduction In some cases, downgrading PHP may be necessary to maintain compatibility with older applications. If you are managing a Dedicated Server on the DirectAdmin platform, downgrading PHP from version 5.3 to 5.2 can be done through SSH. This guide explains the step-by-step process to perform the downgrade and ensure the server operates with the