Page tree
Skip to end of metadata
Go to start of metadata

Overview

This document provides an abridged list of the main EasyApache 4 file locations. It also links to the documentation with the other file locations.

EasyApache 4

File or directory locationDescription
/etc/cpanel/ea4/This directory contains EasyApache 4's files and directories.
/etc/cpanel/ea4/profiles/custom/This directory contains your custom EasyApache 4 profiles. For more information, read our EasyApache 4 - Create a Profile documentation.
/var/cpanel/ea4_migration_hooks/

This directory contains EasyApache 4's Migration Hooks.

Note:

This directory only applies to cPanel & WHM version 76 or earlier.

Apache

You can the find the main Apache files in the following locations:

File or directory locationDescription
/usr/sbin/httpdThe Apache binary file.
/etc/apache2/

This directory contains Apache configuration files. It also contains include files and modules. This directory does not contain log files.

/etc/apache2/conf.d/

The main Apache configuration file directory.
/etc/apache2/conf/httpd.confThe primary Apache configuration file.
/var/log/apache2/This directory contains all the logs for the apache2 file and all the access logs.
/var/www/html/This directory contains the document root for the server. It contains the default pages that users can see.

For a full list of Apache file locations, read our Apache documentation. You can find additional information in our Advanced Apache Configuration documentation. 

PHP

You can find key PHP files and executables in the following locations:

File or directory locationDescription
/usr/bin/phpThis executable calls the php-cgi binary for the configured PHP version.
/usr/local/bin/phpThis executable calls the php-cli binary for the configured PHP version.
/usr/bin/lsphpThis executable calls the LSPHP binary for the configured PHP version.
/usr/local/bin/ea-php##This symlink calls the PHP CLI binary, where ## represents the two-digit PHP version.
/usr/bin/ea-php##This symlink calls the PHP CGI binary, where ## represents the two-digit PHP version.
/etc/cpanel/ea4/php.confThis file contains the details of your PHP configuration.
/opt/cpanel/ea-php##/root/etc/php.d/The system scans this directory for PHP .ini files. In this example, ## represents the two-digit PHP version.

For more information about PHP in EasyApache 4, read our PHP HomeAdvanced PHP Configuration, and EasyApache 4 and the ea-php-cli Package documentation. For more information about PHP inheritance, read our PHP Inheritance documentation. 

Additional documentation