The IIS server is fully configured to implement asp, cgi, perl, and php + mysql. The IIS server is fully configured to implement asp, cgi, perl and php + mysqlIIS. now we need to make IIS implement the software required for ASP, CGI, PERL and PHP + MYSQL (both for ForWindows): ActiveP IIS server fully configured to implement asp, cgi, perl, php + mysql IIS server completely configured now we want to implement iis asp, CGI, software required For PERL and PHP + MYSQL (both For Windows): ActivePerl, PHP, MYSQL 1. ASP support: Needless to say, there is no need to do anything, and it supports ASP operation. II. CGI and PERL support: 1. install ActivePerl and run the downloaded ActivePerl for one-step installation (Note: Select the installation path under/usr/in the root directory (perl by default). This saves a lot of trouble for future debugging programs) 2. configure IIS to open "Internet information service" (in management tools), click properties of the default site, select the "main directory" tab, and click "configure (G )... ", in the pop-up dialog box," add (D) ". for example, we recommend" c: usrinperl.exe ". remember to add" % s "to the end. otherwise, cgi cannot be executed, after confirmation. Add the extension. pl in the same way. now your IIS supports cgi and perl! III. PHP and MYSQL support: 1. install PHP and MYSQL to run and Download PHP and MYSQL. install PHP and MYSQL step by step (wherever installed. generally, PHP installed is popular on the internet and there is no installation program, you only need to extract the downloaded compressed package and put it under c: php.) 2. PHP support: 2.1 Copy all files in the dlls folder under the php directory to c: windowssystem32. configure IIS in 2.2: Just like cgi, Add. php example: after completion, click "execute permission" to "script and executable file" and click OK! Now your IIS fully supports PHP + MYSQL! 1. download the MySQL database (ODBC) driver and MySQL database system Program 1. the MySQL database (ODBC) driver is: http://mysql.com/Downloads/MyODBC/myodbc-2.50.36-nt.zip , http://download.sourceforge.net/pub/mirrors/mysql/Downloads/MyODBC/myodbc-2.50.36-nt.zip Or http://www.fykx.net/download/php/myodbc-2.50.36-nt.zip (1457KB) 2. MySQL database system program: http://www.mysql.com/Downloads/MySQL-3.23/mysql-3.23.30-gamma-win.zip (9632KB) or http://www.fykx.net/download/php/mysql-3.23.30-gamma-win.zip II. program installation 1. install the MySQL database (ODBC) driver (which must be installed in Windows) 2. install the MySQL database system program. it is generally installed in the default system location "C: MySQL", but consider whether your server is used as a network database server, if you want to create hundreds of database users on this server, you should install them on hard drive with large space to avoid unnecessary troubles and complicated settings in the future. 3. run the "[system installation drive letter]: MySQLBinwinmysqladmin.exe" program to start the MySQL database system and manager. when the program is started for the first time, the "quick settings" window appears, you must create the first database user account, such. Enter the username of the first MySQL database account in User name, and enter the Password of the first MySQL database account in Password. remember the entered value and enter the MySQL database management window, after a while, the program automatically minimizes the window to the system bracket (there is a "traffic light" icon on the right of the taskbar ), the system has started properly (Windows2000 also needs to check whether "MySQL component service" in "component service manager" is started ). At this time, the program also adds a shortcut in the startup group. The next time you start the computer, the MySQL database system will be automatically started. 4. when the database is created for the first time, the system automatically creates two databases named MySQL and test. you can use the following methods to create databases with other names: right-click the System bracket "traffic light" icon >>> Click "Show me" to open the MySQL database management window >>> select the "Databases" tag >>> select database server >>right click click ==>> select "Create database" menu item >>> in the displayed add Database dialog box, type the database name) >>> Click Create the datebase to Create a new database. For example, database user account management creates a database user account when the database is started for the first time. if your server needs to be used by multiple users, you must create multiple database user accounts, the procedure is as follows: start "ODBC data Source Manager" (in the WindowsNT system, "ODBC data source manager" is in "management tools, in Windows 98 or Me, "ODBC data source manager" is in "control panel) >>> Click "Add" in the first tag "user DSN" ==>> select "MySQL" in the data source driver list> Click "finish" =>> in the "database driver configuration" dialog box "Windows DSN name", enter "dynamic Education Network" (an account opened by dynamic Education Network ), enter the host Name or IP address of the server in MySQL host (name or IP), database Name in MySQL database name, and database account Name in User, enter the Password of the database account in the Password, and the others are set by default => Click OK ". A new database account is created. 6. debug the program (take the vBulletin Version 1.1.5 Chinese standard edition as the agent example after the layout is beautified) 1. modify the Admin/Config. php file. the specific content is as follows: (
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.