Status: 1, PHP source code 2, PHP code has been zend encryption
Constraint: 1, must be used to deploy two iis services, database mysql
1, first determine whether to install iis services, if not installed, click the steps: to open the "Control Panel", then click the Start "Add / Remove Programs" in the pop-up dialog box, select "Add / Remove Windows Components "In the Windows Components Wizard dialog box, select" Internet Information Services (IIS) ", then click" Next ", according to the wizard instructions to complete the installation of IIS;
2, PHP environment, installation, first download the archive "annex" in order to provide 5.2 version, unzip it to C or D disk of a PHP file (the folder you created) in the root directory of the following;
3, PHP environment, the configuration of the next job may be more complex
(1) PHP folder to find php.ini-dist file, copy it to make a backup copy of the file was renamed after the php-ini;
(2) in the php.ini file, locate the following line: extension_dir = "./"( Note: This line specifies the location of PHP extensions search), edit the line as follows: extension_dir = "D: / PHP / ext" (Note: Do not use a slash here, / instead of backslash \);
(3) in the php.ini file, locate the following line:; extension = php_mysql.dll (Note: the semicolon at the beginning of the line of PHP to ignore the direct line), remove the semicolon at the beginning of the line to enable the extension extension = php_mysql.dll ;; extension = php_mbstring.dll into extension = php_mbstring.dll;
(4) save the copy php.ini to C: \ WINDOWS \ folder;
(5) in D: \ PHP \ folder to find named php5ts.dll, libmysql.dll, gds32.dll the file and copy it to C: \ windows \ System32 folder;
(6) php environment is ready, the next configuration iis the php Program , php and asp in iis or less the same configuration, then only out of three steps: First, add a php of the web service Extended in the right pane Click the "Add a new Web service extension" - "extension" PHP "-" and then click "Add" - "window that appears fill in" D: \ PHP \ sapi \ php5isapi.dll "and OK and then click Web service extension and select the Allow PHP; second, in the "Default Web Site Properties" window click "Home Directory" tab point "configuration" button in the pop-up "Ying Xie" window mid-point of taking the "Add" button In the pop-up "Add / Edit Application Extension Mappings" dialog box "Executable" text box, enter "c: \ PHP \ sapi \ php4isapi.dll" "Extension" text box ". php "(Note that there must be that point) and check the" Check that file exists "item; Third, in the" Default Web Site Properties "window, tap the" ISAPI Filters "tab, click the" Add "button in the pop-up "Filter Properties" window "Filter Name" enter "PHP" "executable" in the view selected "c: \ PHP \ sapi \ php4isapi.dll" and then OK.
(7) restart the iis server if you see "ISAPI Filters" tab under the name of the table a successful green up arrow.
4, zend installation and configuration: The default installation folder in the deployment options need to choose according to the specific circumstances, an important step in the php.ini file add the following code at the bottom of
zend_extension_manager.optimizer_ts = "C: \ Program Files \ Zend \ ZendOptimizer-3.3.0 \ lib \ Optimizer-3.3.0"
zend_extension_ts = "C: \ Program Files \ Zend \ ZendOptimizer-3.3.0 \ lib \ ZendExtensionManager.dll"
5, to install mysql + phpmyadmin database and the client, there is simple not specify the.
After the words: the process is relatively complicated, but really operate more important step on the steps, make sure all the files in place, the path is correct, otherwise will be wasted.