The name of the main configuration file can be changed at compilation time and in recent releases it has changed from httpd.conf to apache2.conf Over the years there has been some evolution in the organisation of the included configuration files too. This ensures that Apache's service was started properly, the configuration on virtual hosts config file as sarul mentioned (e.g.: C: wamp bin apache apache2.4.9 conf extra httpd-vhosts.conf) is necessary if you are setting your files path in there and changing the port as well.
- PHP 7 Tutorial
- PHP 7 Useful Resources
- Selected Reading

Apache uses httpd.conf file for global settings, and the .htaccess file for per-directory access settings. Older versions of Apache split up httpd.conf into three files (access.conf, httpd.conf, and srm.conf), and some users still prefer this arrangement.
Apache server has a very powerful, but slightly complex, configuration system of its own. Learn more about it at the Apache Web site − www.apache.org
The following section describes the settings in httpd.conf that affect PHP directly and cannot be set elsewhere. If you have standard installation then httpd.conf will be found at /etc/httpd/conf:

Timeout
Configure Httpd For Ssl
This value sets the default number of seconds before any HTTP request will time out. If you set PHP's max_execution_time to longer than this value, PHP will keep grinding away but the user may see a 404 error. In safe mode, this value will be ignored; instead, you must use the timeout value in php.ini.
DocumentRoot
DocumentRoot designates the root directory for all HTTP processes on that server. It looks something like this on Unix −
You can choose any directory as the document root.
AddType
The PHP MIME type needs to be set here for PHP files to be parsed. Remember that you can associate any file extension with PHP like .php3, .php5 or .htm.
Configure Httpd Linux

Action
Configure Https On Iis
You must uncomment this line for the Windows apxs module version of Apache with shared object support −
on Unix flavors −
Configure Httpd
AddModule
You must uncomment this line for the static module version of Apache.
