Windows7 PHP development environment installation configuration text method

  • 2020-03-31 20:50:09
  • OfStack

          Operating system: Windows 7 Ultimate

          WEB server: IIS 6.1 (internal version 7600).

          Database: MySql5.0.67

          PHP version: 5.2.13

            I also worried that Windows 7 might not be compatible, and it turned out to be no problem at all.

    Install MySql database

          The MySql database download it here: (link: http://www.mysql.com/downloads/)

          The installation of the database is relatively simple, in the face of more than one interface, according to their own needs to choose.

          The main interface of Navicat is as follows:

            < img border = 0 height = 470 Alt = "" SRC =" / / files.jb51.net/file_images/article/201005/NavicateMain.gif width = 798 "border = 0 >  

          Install PHP

          Before installation, open the control panel -- uninstall the program -- turn on or off the Windows function -- Internet information services -- world wide web services -- CGI in the application development function is selected (not checked by default).

         

            < img Alt = "" border = 0 SRC =" / / files.jb51.net/file_images/article/201005/iiscgi.gif "border = 0 >

          I downloaded a MSI integration installation package, download PHP: here (link: http://php.net/downloads.php) and download Windows Binaries/(link: http://php.net/get/php-5.2.13-win32-installer.msi/from/a/mirror). After downloading, it is ok to run the installation directly. In the following interface, I chose IIS FastCGI:

         

          < img Alt = "" border = 0 SRC =" / / files.jb51.net/file_images/article/201005/fastcgi.gif "border = 0 >  

          So the PHP environment is configured:

          Publish a site in IIS, then create index.php, and write the following simple code:

Code highlighting produced by Actipro CodeHighlighter (freeware) > http://www.CodeHighlighter.com/-- < ? PHP
Echo " Hello  World!" ;
? >

          When run, the page outputs hello world! , the environment was configured successfully.

          Three, PHP development tools

          EditPlus, Zend Studio, etc. You can do a second online search for this. I've tried both.

          Let's start with the EditPlus:  ;        

          < img Alt = "" border = 0 SRC =" / / files.jb51.net/file_images/article/201005/editplusphp.gif "border = 0 >          

        Zend Studio is just installed and not yet used. First, please provide the main interface:

          < img border = 0 height = 547 Alt = "" SRC =" / / files.jb51.net/file_images/article/201005/phpzendstudio.gif width = 700 "border = 0 >  

        Found VS.PHP for Visual Studio 2010, but only 30 days to use the version, to the legitimate version will have to spend money, so had to give up.

        Download Zend Studio, the first version 7.2: (link: http://www.zend.com/en/products/studio/downloads)

        Online registration machine: (link: http://x.zendstudio.net/zend-studio-7-keymaker-online/)


Related articles: