Step 1: Install the IIS server
To run the program, it needs to be hosted by the server. Therefore, to develop or use open source websites or programs, you must first build them IIS server, as shown in the figure:
Step 2: Configure PHP environment
PHPCMS is different from static html and C# and other programs. C# only needs to build IIS and Just install the database. PHP and Java need to configure the response environment. The final result of PHP configuration is as shown in the figure.
Step 3: Install the MySQL database
The data of the PHP program uses the MySQL language, so in order for the program to run normally, a database is required Loading, so the database needs to be installed, as shown in the figure:
Step 4: Build phpmyadmin
phpmyadmin is an integrated php environment, so, Building phpmyadmin is helpful for the execution of open source programs. The final result is as shown in the figure:
Step 5: Prepare the PHPCMS installation package
Download PHPCMS installation from the PHPCMS official website Package to the desktop and unzip it, and wait for installation, as shown in the figure:
(Special note: PHPCMS has two versions, Simplified Chinese and UTF-8. When downloading, please refer to the database installation version to download)
Step 6: Build the IIS website of PHPCMS
Only after building the PHPCMS website in IIS can the program be installed and executed, as shown in the figure:
Step 7: Install PHPCMS
Enter the IIS website where PHPCMS is located in the browser, open the installation page, and perform initial installation, as shown in the figure:
Step 8: Detect the running environment
The installation program will automatically detect the running environment. Click Next for initialization, as shown in the figure:
Recommended tutorial: PHP video tutorial
The above is the detailed content of How to build a website with phpcms. For more information, please follow other related articles on the PHP Chinese website!