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.

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 /scripts/biglogcheck script.

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:

  1. Log in to the server as the root user via SSH.
  2. Run the tail -f /usr/local/apache/logs/error_log command.
  3. 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.

How do I customize the way that Apache treats certain types of files?

The mod_mime Apache module customizes how Apache treats certain file types. The AddHandler and AddType directives tell Apache how to treat particular file extensions.

 

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:

  1. Use WHM's EasyApache (Apache Update) interface (Home >> Software >> EasyApache (Apache Update)).
  2. Run the /scripts/easyapache command 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?

The root user can install and activate Zend Optimizer with the /scripts/installzendopt script.

How do I install ImageMagick?

Run the /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.