suPHP suPHP is a tool for executing PHP scripts with the permissions of their owners. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter. Main Features of SuPHP suPHP provides an additional layer of protection on servers. It causes php scripts to run under the account username instead of the user nobody which is the user that apache/php would run under on a server that is not running …
Server
Secure Shell (SSH) is one of the most critical components of modern server administration. It enables administrators and developers to remotely access servers, execute commands, transfer files, and manage infrastructure securely over an untrusted network. However, if SSH is misconfigured or left unsecured, it can become a major attack vector for brute-force attempts, unauthorized access, and data breaches. In this guide, we’ll explain what SSH is, why securing it is essential, and walk through practical steps to harden SSH access using configuration best practices and SSH key-based authentication. What …
Optimizing MySQL performance is critical for high-traffic applications. This guide explains how to monitor and tune MySQL for efficient resource usage, focusing on modern defaults, InnoDB, and current best practices. 1. Check MySQL Status and Variables Log in to your MySQL server: mysql -u root -p Check general statistics: SHOW STATUS LIKE ‘%tables%’; SHOW VARIABLES LIKE ‘table_open_cache’; Analysis: Open_tables – Number of tables currently open Opened_tables – Tables opened because the cache was too small Tuning tip:If Opened_tables increases rapidly, increase table_open_cache in your my.cnf : [mysqld] table_open_cache = 4000 …
The Internet Protocol (IP) is a data-oriented protocol that allows multiple hosts to talk to each other across network connections. Data in an IP network are sent in blocks referred to as packets or datagrams. They typically have a source host, destination host, and source and destination ports associated with the communication. Layered on top of the IP protocol are other protocols. These are typically transport layers. There are two main transport protocols that are heavily used. The transmission control protocol (TCP) is a stateful delivery mechanism that makes a …