Standard PHP extensions

EasyApache has the ability to install, uninstall, and update several popular PHP extensions as part of the build process. When EasyApache runs, it will automatically determine which extensions are active in the main php.ini file at /usr/local/lib/php.ini.

Active extensions will automatically be selected in the EasyApache interface.

Rerunning EasyApache is not required in order to enable or disable the standard PHP extensions. cPanel now provides a tool called

/scripts/phpextensionmgr that can also be used for the installation or removal of PHP extensions.

For detailed information about this tool, run the following command:

/scripts/phpextensionmgr –help

WHM News - The Apache security/version table

The News link at the top of the WHM screen provides up-to-date information about your server. The information is divided up into 3 sections:

This table shows selected Apache modules you have installed on your server.

The information is divided into 4 columns:

Module — The module to which the other information in the row pertains.
Apache Core — The Apache web server. For more information visit http://httpd.apache.org/.
mod_ssl — The module that provides SSL cryptography to the Apache web server. For more information visit http://www.modssl.org.
OpenSSL — A general purpose, open source, cryptographic library for SSL and TLS. Fore more information visit http://www.openssl.org.
Passthrough Authentication — Also seen as mod_auth_passthrough. A module that is installed with Apache to allow other programs to use their own authentication methods. cPanel uses it specifically to allow FrontPage® to use its own authentication system.
Bandwidth Limiter — Also seen as mod_bwlimited. The module that is installed with WHM and cPanel that allows you to limit your users’ bandwidth usage.
FrontPage® — The FrontPage extensions that are installed with WHM and cPanel.
Latest Version — The newest version of the corresponding module that is available.
Installed Version — The version of the module that is currently installed on your server.
Status — Shows whether or not the corresponding module is considered secure.

Reference: http://cpanel.net


EasyApache3 and Mod SuPHP

EasyApache3 and Mod SuPHP

This module is the replacement for EasyApache 1’s PHPSuexec patches. This module provides an easy way of running PHP as the owner of the VirtualHost who is serving the request.

If you have already running Apache with mod_so (DSO-support), mod_suphp should have been installed to your Apache server automatically.

If it is not working look for the two lines

LoadModule suphp_module /usr/lib/httpd/mod_suphp.so

and in your “httpd.conf”.

AddModule mod_suphp.c

Cpanel Apache build Summary

When Apache is rebuilt using EasyApache, the current configuration is processed and stored. After the build process is complete, the new Apache configuration file is processed to yield a new template and add any missing configuration values.

Finally, the previous data stores and the new template are used to generate the completed Apache configuration file.

Reference: http://cpanel.net

Processing the cPanel Apache Configuration

Processing Apache’s configuration file is completed in 2 routines.

1. The first routine attempts to extract VirtualHost domain information and combine it will other cPanel data, in effect creating “user data.” This information is used in mapping domains to user accounts. This particular task is carried out by the userdata_update utility (/usr/local/cpanel/bin/userdata_update).

If you wish to make custom alterations you would need to run /usr/local/cpanel/bin/userdata_update –update.

2. The second routine attempts to pull out the remaining information within each VirtualHost entry. Some of this information is version-specific and requires the Apache directive-aware tool /usr/local/cpanel/bin/apache_conf_distiller. This is the same tool that processes Apache’s main directives and generates the main Apache template.

Reference: http://cpanel.net/

« Prev - Next »