Save this file in your Web server's document root as info.php. LoadModule php7_module "C:/php7/php7apache2_4.dll" Add at least one PHP extension directive as shown in the first line of the following code −ĪddType application/x-httpd-php. (The default is C:\Program Files\Apache Group\Apache\htdocs.). Search for the word DocumentRoot (which should appear twice) and change both the paths to the directory you want to serve files out of. Go to your HTTP configuration files (C:\Program Files\Apache Group\Apache\conf or whatever your path is), and open nf with a text editor. Tell your Apache server where you want to serve files from and what extension(s) you want to identify the PHP files (.php is the standard, but you can use. Edit this file to get the configuration directives At this point, we highly recommend that the new users set error reporting to E_ALL on their development machines. Open this file in a text editor (for example, Notepad).
APACHE WEB EDITOR SOFTWARE FOR WINDOWS INSTALL
We recommend you do not install as a service, as this may cause problems with startup.Įxtract the PHP binary archive using your unzip utility C:\php7 is a common location.
The installer will also ask you whether you want to run Apache as a service or from the command line or DOS prompt. Double-click the installer file to install C:\Program Files is a common location. Step 1ĭownload Apache server from You want the current stable release version with the no_src.msi extension. If your PHP and Apache versions are different then please take care accordingly.
To install Apache with PHP 5 on Windows follow the given steps.