WINDOWSXP+IIS+PHP5+MYSQL5+ZEND+GD Library +phpmyadmin+phpwind 5.3 Installation Tutorial

Source: Internet
Author: User
Keywords WINDOWSXP+IIS+PHP5+MYSQL5+ZEND+GD Library +phpmyadmin+phpwind 5.3 Installation
Tags phpmyadmin
First, the preparatory work:
1, the installation of good

2, ready to use the software, I used the specific following:
PHP V5.2.1 for Windows
Http://www.skycn.com/soft/516.html

MySQL for Windows V5.2 Alpha
Http://www.skycn.com/soft/1262.html

PHPMyAdmin for
Http://www.skycn.com/soft/10687.html

Zend Optimizer V3.2.6 for <>
Http://www.skycn.com/soft/20133.html

Phpwind Forum System V5.3
Http://www.skycn.com/soft/34201.html

3, System Construction settings:
  
The software required to build the altar is installed in the "F:\MyForumPRog" directory, the IIS root directory is "F:\MyForumProg\MyBBS" directory;
In this example, the MySQL system "root" user password is "123456", the Forum database named "MyData".
If you have a different system setting, please note that you have to modify it in the relevant place.

Another: In the match, please note the mouse arrow point.


Second, PHP installation:
1. "PHP V5.2.1 for

2, the "F:\MyForumProg\PHP" directory under the "Php.exe", "Php-win.exe" and "php.ini-recommended" and other three files are copied to the "C:\WinXP" directory; "F:\MyForumProg Copy all the ". dll" files under the "\php" directory to the "C:\WinXP\system32" directory. I did not see a copy of the same name hint, if you have the same name hint to choose to overwrite.
Another: Some tutorials specifically mentioned: "To the ' F:\MyForumProg\PHP\ext ' directory of all the '. dll ' files are also copied to the ' C:\WinXP\system32 ' directory," I did not copy also installed, but do not know the future in the use of the process will not have an impact.

3. Rename the "C:\WinXP\php.ini-recommended" file to "php.ini" and then open the edit with Notepad.
Find the string "register_globals = off" and change "register_globals = Off" to "register_globals = On" (see);

Look for the string "Extension_dir =" and replace "Extension_dir =". \ "" to "Extension_dir =" F:\MyForumProg\PHP\ext "" (see);

Find string ";
; Extension=php_dbase.dll Optional
; Extension=php_gd2.dll this is used in support of GD Library, general needs, required
; Extension=php_ldap.dll Optional
Extension=php_mbstring.dll This option will use phpMyAdmin to prompt for errors, required
Extension=php_mssql.dll this item to support MSSQL database, optional
Extension=php_mysql.dll this key to support MySQL database, must select
Finally, save the file to exit, PHP to install, configuration completed.


Third, configure IIS to support PHP:
1, Operation mode selection: PHP has CGI and ISAPI two modes of operation. In general, CGI mode system resource consumption is high, easily due to time-out and not reflected, but in fact more secure, and ISAPI mode execution efficiency, system resource consumption is small, load capacity, but a little less security. This example describes the local installation, in the security requirements can be moderately relaxed, so the ISAPI model as an example of the configuration steps.

2. In the Control Panel, in Administrative Tools, double-click Run Internet Information Services, and in the Internet Information Services window that pops up, step to the left of the "+" sign until the "Default Web Site" appears; right-click on "Default Web Site" and select "Stop". Stop Web support for IIS for configuration (see).


3. Right-click on the "Default Web Site" and select "Properties" (Note: The Default Web site has changed to "Default Web site (stop)") to start configuring IIS (see).


4. In the "Default website (stop) Properties" window that pops up, click "Home Directory" and set "local path" to "F:\MyForumProg\MyBBS" (see);

Note: The "Execute Permissions" entry in the "Application Settings" column should be "script only" (the default option, see);

Then, click on the "Configure" button on the right (see);

In the "Mappings" tab of the application Configuration window that pops up, click the "Add" button below (see);

In the Add/Edit Application extension mappings window that pops up, enter "F:\MyForumProg\PHP\php5isapi.dll" at "Executable" and ". PHP" at "extension" (be careful not to miss ".") ), and then click the OK button below to exit (see);

After exiting the Add/Edit Application Extension Mappings window, you can see the ". PHP" Application mapping you just added in the "Mapping" entry in the Application Configuration window (see), followed by the OK button below the point to exit.


5. After returning to the default Web site (stop) Properties window, click the "ISAPI Filter" item, then click on the "Add" button on the right side (see);

In the Filter Properties window that pops up, enter "PHP" at the Filter name (note: there is no ".") ), enter "F:\MyForumProg\PHP\php5isapi.dll" at "executable", and then exit (see) with the "OK" button below the point;

After exiting the Filter Properties window, you can see the "PHP" filter You just added (see) In the ISAPI filter window, followed by the OK button below the point to exit.


6. After returning to the default website (stop) Properties window, click on the "Document" item and click on the "Add" button on the right side (see);

In the Add default document window that pops up, enter "index.php" at the default document name, add "index.php" to the default Web site launch document list, and then click OK to exit (see);

When you return to the document window of the default Web site (stop) property, click the index.php item, and then tap the up arrow on the left until the "index.php" item rises to the top (see), and the priority of the "index.php" boot document is raised to the highest so that the site is first searched for and opened "index.php" launches the document, followed by the "OK" button below the point to exit;

In the Inheritance Overrides window that pops up, follow the OK button below the point to exit the default Web site (stop) Properties window (see).


7. In the Start menu, in Run, execute the following three commands sequentially:
net stop w3svc
net stop IISAdmin
net start w3svc

8. Run Internet Information Services again, right-click on the Default Web site (stop) and tap start to start Web support for IIS (see);

Now go to the Default Web Site Properties window and click on the "ISAPI filter" item to see that the "PHP" filter has been loaded (see);

IIS is now fully configured to close the Internet Information Services window.

9. Create a file named "phpinfo.php" under the IIS root directory (F:\MyForumProg\MyBBS), which reads as follows:
     Phpinfo ();
?>
Open in Browser: http://localhost/phpinfo.php, if you can see all the information that the current server supports PHP, then the IIS configuration is successful. Note: the "Server API" mode is "ISAPI" (see).



Iv. Installing MySQL:
1. "MySQL for

Because you want to install the software in the "F:\MyForumProg" directory instead of the default installation path, you should select "Custom" in "Setup Type" to change the installation path (see);

Change the installation path (see) in "Custom Setup".


Continue installation after changing the installation path (see);



In the "MySQL.com sign-up" window that appears later, click "Skip Sign-up" below to continue (see);

At this point, the installation of MySQL 5.2 has been completed, tick the "Configure the MySQL server now" entry for subsequent configuration of MySQL server, then click on the "Finish" button to complete the installation process (see).


2, then will automatically enter the MySQL Server configuration interface (see);

Click "Standard Configuration" to continue (see);

Select to

Then set the "root" user password, in this case "123456" (see);

The "Execute" button at the bottom of the last point starts running the configuration program (see) and completes the configuration of MySQL server at the end of the run. Note: If you have a firewall on your machine, running to the third "Start service" may bring up network access requests, which should be released at this time.



v. Installation of Zend Optimizer:
1, will "Zend Optimizer V3.2.6 for

2. Continue after the "Choose Destination Folder" screen changes the installation path to "F:\MyForumProg\ZendOptimizer" (see).


3. Continue (see) After selecting IIS on the Choose Web Server screen.

4, in the "Choose the PHP.ini folder" screen positioning "php.ini" Installation path (should be: C:\WinXP) continue after (see).

5. Continue after the "Choose the Web server's root folder" screen to locate the IIS root directory (should be: F:\MyForumProg\MyBBS) (see).

6. Start the installation (see) at the "Install" button below the "pre-install Summary" screen point.

7. After the installation is complete, the "Finish" button below the point exits the Setup program (see).

8, at this time can open in the browser: http://localhost/phpinfo.php, pay attention to compare the installation before and after the "Zend Engine" displays the difference of information (see).




vi. installation of GD library:
In the previous configuration "php.ini" file is actually opened the GD library support (that is, remove the "; Extension=php_gd2.dll" at the beginning of the ";" ), open in Browser: http://localhost/phpinfo.php, view GD library support (see).

If the GD library supports (GD support) state is not correct, how to deal with it will not need me to say more. :)


vii. installation of phpMyAdmin:
1. Extract the "PHPMyAdmin V2.10.0 RC1" installation package directly into the "F:\MyForumProg\MyBBS\PHPMyAdmin" directory (see).

2. Copy "config.default.php" Files in "F:\MyForumProg\MyBBS\PHPMyAdmin\libraries" directory to "F:\MyForumProg\MyBBS\PHPMyAdmin" directory, and rename "config.inc.php", then open the edit with Notepad.
Find the string "$cfg [' Pmaabsoluteuri ']" and set its value to PHPMyAdmin's url:http://localhost/phpmyadmin/(see);

Find the string "$cfg [' Blowfish_secret ']", this variable is set to the cookie encryption key, randomly lose a few characters on it (see);

Find the string "$cfg [' Servers '] [$i] [' Host ']" and set its value to "localhost" (see);

Find the string "$cfg [' Servers '] [$i] [' Auth_type ']", whose value defaults to "config", generally used for native debugging, there is a certain security risk, it is recommended to set its value to "cookie" (see);

Find the string "$cfg [' Servers '] [$i] [' PassWord ']" and set its value to the MySQL system "root" User password "123456" (see);

Find the string "$cfg [' Defaultlang ']" and set its value to "zh-gb2312" (see);

Find the string "$cfg [' Defaultcharset ']" and set its value to "gb2312" (see).

3, finally, save the file exit, phpMyAdmin has been installed, configured to complete. Open in Browser: http://localhost/PHPMyAdmin/, you should see the screen.



Viii. Building a database using phpMyAdmin:
1, enter the "root" user's password "123456" in the http://localhost/PHPMyAdmin/page, you can enter the PHPMyAdmin operation MySQL database (see).

2, MySQL default point to the user database is the "test" library, for the sake of specification management, you can delete the "test" library, and establish a dedicated forum database.
First, click on the Database selection box on the left, click the "Test (0)" Database (see);

Then click on the "Delete" button on the right side of the action area (see);

Confirm the deletion by clicking "OK" in the confirmation window that pops up later (see);

When the operation returns, the "Database ' test" has been deleted at the top of the right side of the operation area. "The results of the" prompt (see).

3. In the edit box below the "Create a new database" prompt, enter the library name for the forum dedicated database: MyData, then click "Create" button to new database (see);

When the operation returns, the "Database MyData is established" is visible at the top of the right side of the operation area. "The result of the prompt (see);

4, point left Green "exit" button to exit the phpMyAdmin operator interface and close the window (see).

OK, the Forum installation of the necessary preparation work has been completed, the following can start the Forum program installation, configuration.


Nine, "Phpwind Forum system V5.3 official version" of the installation, configuration:
1. Unzip the installation package "Phpwind Forum System V5.3 Official Edition" and then "copy" the "Upload" folder and paste it into the IIS root directory (F:\MyForumProg\MyBBS).

2, open in the browser: http://localhost/upload/install.php, you can see the Phpwind forum system related to the copyright, responsibility statement; Obviously, to keep going, there's just a little "agree" button (see).

3, in the subsequent page on the upper half, you can see the relevant directory and documents of the writable test results (see); Needless to say, this should be all "OK";

In the lower part of the page, you should set up the Forum database and administrator account number, password, and set the directory "F:\MyForumProg\MyBBS" to full sharing, set the "Start Install" button below the point to continue (see).
Note: If the directory "F:\MyForumProg\MyBBS" is not set to full sharing, an error message will appear during the next installation process. In theory, only a few directories under "F:\MyForumProg\MyBBS\upload" can be set to share, but for the sake of drawing convenience I have no specific to try, interested friends can try.

4, in the subsequent page on the upper half, you can see Set up the Forum database data and Administrator account number, password operation results; As for the lower part of the page of the Forum marketing, promotion settings, because it is the local installation, you can cancel all; After setting up, the "Continue Installation" button below the point continues (see).
Recommendation: In order to be familiar with the forum marketing, promotion of related operations, it can be installed, anyway for the current mainstream configuration of the machine, craved resource consumption is nothing.

5, if you can see the next page, then congratulations, Forum installation Success!
In the bottom half of the page, you are prompted with the URL of the website and forum: http://localhost/upload (see), click the "Complete Installation" button below to continue.

6. In the subsequent page, click on the "..." button below. Go to admin Panel ... "Link (see), can go directly to the Forum Administrator landing page: http://localhost/upload/admin.php;

In the Administrator login page (http://localhost/upload/admin.php), enter the administrator's ID and password correctly (see), you can enter the forum backstage, start to set up the relevant content of the forum.

7, if you want to sneak peek, you can open in the browser: http://localhost/upload/index.php (see), see Phpwind Forums beautiful icon?


To this, the whole forum has been set up, the rest is slowly over the altar Lord's addiction!!!
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.