Install MPICH2 as an administrator and add the bin directory of the MPICH install to your. I'm running in Windows 7 Professional with 2 AMD 6328's.
- PHP 7 Tutorial
- PHP 7 Useful Resources
- Selected Reading
![Mac Mac](https://flowvision.ru/webhelp/fvru_30903/instwinlm_newversion_4bis_previoussettings_zoom95.png)
To install Apache with PHP 5 on Windows follow the given steps. If your PHP and Apache versions are different then please take care accordingly.
Step 1
- Download Apache server from www.apache.org/dist/httpd/binaries/win32. You want the current stable release version with the no_src.msi extension. Double-click the installer file to install; C:Program Files 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. We recommend you do not install as a service, as this may cause problems with startup.
- Extract the PHP binary archive using your unzip utility; C:php7 is a common location.
- Rename php.ini-development to php.ini. Open this file in a text editor (for example, Notepad). 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.
- 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 .html, .phtml, or whatever you want). Go to your HTTP configuration files (C:Program FilesApache GroupApacheconf or whatever your path is), and open httpd.conf with a text editor. Search for the word DocumentRoot (which should appear twice) and change both the paths to the directory you want to serve files out of. (The default is C:Program FilesApache GroupApachehtdocs.). Add at least one PHP extension directive as shown in the first line of the following code −
Step 2
Open a text editor. Type: <?php phpinfo(); ?>. Save this file in your Web server's document root as info.php. Start any Web browser and browse the file. You must always use an HTTP request (http://www.testdomain.com/info.php or http://localhost/info.php or http://127.0.0.1/info.php) rather than a filename (/home/httpd/info.php) for the file to be parsed correctly
You will see a long table of information about your new PHP installation message Congratulations!
- PHP 7 Tutorial
- PHP 7 Useful Resources
- Selected Reading
The Windows server installation of PHP running IIS is much simpler than on Unix, since it involves a precompiled binary rather than a source build.
If you plan to install PHP over Windows, then here is the list of prerequisites −
- A working PHP-supported Web server. Under previous versions of PHP, IIS/PWS was the easiest choice because a module version of PHP was available for it; but PHP now has added a much wider selection of modules for Windows.
- A correctly installed PHP-supported database like MySQL or Oracle etc. (if you plan to use one)
- The PHP Windows binary distribution (download it at www.php.net/downloads.php)
- A utility to unzip files (search http://download.cnet.com for PC file compression utilities)
Now here are the steps to install Apache and PHP5 on your Windows machine. If your PHP version is different then please take care accordingly.
- Extract the binary archive using your unzip utility; C:PHP is a common location.
- Copy some .dll files from your PHP directory to your systems directory (usually C:WinntSystem32). You need php5ts.dll for every case. You will also probably need to copy the file corresponding to your Web server module - C:PHPSapiphp7isapi.dll. It is possible you will also need other files from the dlls subfolder, but start with the two files mentioned above and add more if you need them.
- Copy either the php.ini-development or php.ini-recommended (preferably the latter) to your Windows directory (C:Winnt or C:Winnt40), and rename it php.ini. Open this file in a text editor (for example, Notepad). Edit this file to get the configuration directives. We highly recommend the new users to set error-reporting to E_ALL on their development machines at this point. For now, the most important thing is the doc_root directive under the Paths and Directories section. Make sure this matches the IIS Inetpub folder (or wherever you plan to serve out of).
- Stop and restart the WWW service. Go to the Start menu → Settings → Control Panel → Services. Scroll down the list to IIS Admin Service. Select it and click Stop. After it stops, select the World Wide Web Publishing Service and click Start. Stopping and restarting the service from within the Internet Service Manager will not suffice. Since this is Windows, you may also wish to reboot.
- Open a text editor. Type: <?php phpinfo(); ?>. Save this file in your Web server's document root as info.php.
- Start any Web browser and browse the file. You must always use an HTTP request (http://www.testdomain.com/info.php or http://localhost/info.php or http://127.0.0.1/info.php) rather than a filename (/home/httpd/info.php) for the file to be parsed correctly.
You will see a long table of information about your new PHP installation message Congratulations!