Preparation Tool ①apache2.4.12②php-5.6.9-win32-vc11-x64
First step: Extract Apache to the phpserver of the F-drive
Step Two: Modify the configuration file httpd.conf
Part III test
Restart Apache to enter the URL in the browser
http://localhost:8081/
Apache has been working properly, now only the corresponding static page below we to consolidate PHP files, so that Apache has the ability to handle dynamic Web pages
① extracting PHP5.6.9 files into the Phpserver directory
② Open Apache to modify the httpd.conf configuration file so that Apache can load PHP at boot time
③ Modify the PHP folder inside the php.ini-development for php.ini
④ Modifying an extension library path to a php.ini file
⑤ Test Notepad write <?phpinfo ()?> saved as info.php in the server's virtual directory to test through
Summary: apache2.4 configuration More simple inside the introduction of variables only need to modify the inside of the server folder path can be, if necessary, modify the listening port. Modifying the httpd.conf configuration file allows Apache to load the module with PHP in order to have the ability to handle dynamic computations. As for the PHP function extension is just modify the PHP inside the php.ini file can be.
Win7 Ultimate (64-bit) configuration PHP learning environment for APACHE2.4.12 (64-bit) +php5.6.9 (64-bit)