For cPanel & WHM 11.48
What are the functionality changes to Apache 2.4?
Apache 2.4 introduced changes to Apache's configuration file. Apache 2.4 also introduced, renamed, and removed several directives.
cPanel & WHM servers use the AdvConfig feature to manage the Apache configuration file (
httpd.conf). To give our customers the best experience with Apache 2.4, we updated the AdvConfig feature to handle Apache upgrades and downgrades.
What is the cPanel and Apache page that I see at my domain?
This is a placeholder page for Apache. Ask your web host to properly configure VirtualHost in Apache's configuration file.
Why does Apache restart every 10 minutes?
This is normal behavior. The
cpanellogd daemon sends Apache a
SIGUSR1 (graceful restart) signal every ten minutes so that it can rotate logs and process statistics.
How can I add or remove support for features like PHP or Java server pages to my Apache webserver?
EasyApache adds or removes support for features from the Apache webserver.
- You can access EasyApache through WHM's EasyApache (Apache Update) interface (Home >> Software >> EasyApache (Apache Update)).
- You can also run EasyApache from the command line with the
Why does Apache crash with this error: [notice] child pid x exit signal File size limit exceeded (25) ?
This usually means that a log file has grown too large for the system (generally 2 GB). To address this issue, run the
If you have extremely large or active sites that reach this limit quickly, you may wish to upgrade to a 64-bit OS, which increases your site's maximum file size to 4 TB. You may also wish to disable logging for that site altogether. If you disable logging, you will gain a small speed increase and avoid this error.
If you disable logging, you cannot generate statistics for the domain.
Why did I receive the HTTP Error code: 206 Partial content error message?
To find out why you received this message, perform the following steps:
- Log in to the server as the
rootuser via SSH.
- Run the
tail -f /usr/local/apache/logs/error_logcommand.
- Refresh the page in your web browser. You will see an error message in your SSH session.
What are Apache dummy requests?
Apache occasionally needs to start processes that listen for new connections. To do so, Apache uses dummy requests.
- A dummy request is an HTTP request that Apache sends to itself.
- When Apache uses dummy requests without SSL, these requests appear in access log files with the remote address set to the local host (
127.0.0.1for IPv4 or
- These dummy requests are a normal part of Apache's functionality, and you can ignore them.
- On a lightly loaded server, WHM's Apache Status interface (Home >> Server Status >> Apache Status) frequently shows a high number of dummy connections. This occurs because the feature shows the last request to a worker slot, which is typically a dummy request that starts a process so that the process can repeat.
Apache's dummy requests cannot use SSL. Servers with hosts that use SSL can receive noise in the log file that resembles the following example:
How do I customize the way that Apache treats certain types of files?
mod_mime Apache module customizes how Apache treats certain file types. The
AddType directives tell Apache how to treat particular file extensions.
- To learn more about the
AddTypedirectives, visit the Apache website.
- For more information, visit our Scripts and Scripting Languages FAQ.
cPanel & WHM with PHP 5
- cPanel & WHM no longer supports PHP 4. We strongly recommend that you update your site scripts to a version that is compatible with PHP 5.
- You can download and install PHP 4 as an unsupported custom optional module.
How do I upgrade from PHP 4 to PHP 5, and what changes do I need to make?
To upgrade from PHP 4 to PHP 5, recompile PHP during the Apache build process. You can start the Apache build process in two ways:
- Use WHM's EasyApache (Apache Update) interface (Home >> Software >> EasyApache (Apache Update)).
- Run the
/scripts/easyapachecommand from the command line.
Make sure that the PHP programs and scripts that you plan to run are compatible with PHP5.
Which version of PHP 5 will run problem-free now?
The answer to this depends on which third-party extensions that you need.
For example, if you install Zend Optimizer 3.3.0 and PHP 5.2.2+ concurrently, you may experience errors.
As we identify incompatibilities with third-party extensions, we document them in the EasyApache (Apache Update) interface (Home >> Software >> EasyApache (Apache Update)).
We also run some dependency resolution before EasyApache generates the build. This practice skips incompatible extensions, even if a user ignores the warning in the interface.
Which PHP version displays on the end user's cPanel account?
The system's default PHP version displays in the end user's cPanel account interface.
How do I install and activate Zend Optimizer?
root user can install and activate Zend Optimizer with the
How do I install ImageMagick?
/scripts/installimagemagick script as the
root user to install ImageMagick.
This information applies to both upgrades and fresh installs.
How do I change the maximum connections for HTTP?
Change the value of the Max Clients setting in WHM's Global Configuration interface (Home >> Service Configuration >> Apache Configuration >> Global Configuration).
Set the Max Clients setting's value equal to or lower than the value of the Server Limit setting.