CentOS / Redhat Apache mod_ssl Configuration

To configure mod_ssl for Apache on CentOS or RedHat, you can follow these steps: Install mod_ssl: First, you need to install mod_ssl if it is not already installed on your system. You can use the following command to install mod_ssl: yum install mod_ssl Generate SSL certificate and key: To use HTTPS for secure connections, you … Read more

PHP Fatal error: Allowed Memory Size of 20971520 Bytes exhausted (tried to allocate 131072 bytes) Error and Solution

The “Allowed Memory Size” error message in PHP indicates that the script has exhausted the memory limit allocated to it by the PHP configuration. The default memory limit for PHP scripts is 128MB, but this value can be increased or decreased depending on your server configuration. (www.ebsta.com) When you see an error message like “Allowed … Read more

Linux: Configuring RX POLLING (NAPI)

In Linux, Receive Side Scaling (RSS) and Network Adapter Poll Mode (NAPI) are two techniques that can be used to improve the performance of network I/O on multi-core systems. NAPI, in particular, allows for more efficient handling of network traffic by reducing the overhead associated with interrupt handling. To configure NAPI, you can follow these … Read more

Mac OS x Restart Apache Web Server

To restart the Apache web server on a Mac OS X system, you can use the apachectl command. Here are the steps to restart Apache: Open the Terminal application, which is located in the Utilities folder within the Applications folder. Type the following command to stop the Apache web server: sudo apachectl stop Note that … Read more