Note: downloading by other means may cause abnormal errors after source code deployment and operation because of incomplete files. So I recommend you to use the software and source code I provided you.
After downloading the php source thinkphp_3.2.3_full.zip, unzip and rename the file: thinkphp.
After downloading phpstudy.zip, you can extract phpstudy20 14.exe, manual.chm, instruction and other files. Txt and so on. Please double-click to open it and extract it to D:\phpstudy.
Upon completion, phpstudy will automatically open mysql and apache system services, and at this time, you can use 360 to speed up the search for running services.
Double-click the php icon on the desktop to open the PHP running environment.
If your apache mysql displays a red button, it means it didn't start successfully. Please click the start or restart button until it all turns green. If it doesn't start all the time. This is an apache mysql system server exception. Please try cleaning with registry cleaning software, and then unzip phpstudy software again.
After completing the above steps, the basic situation of phpstudy+php source code is OK, and then the code is deployed and run.
Copy the previous source folder thinkphp to D:\phpStudy\WWW.
According to the picture below. Click on my home page, and we will open the website root directory and mysql database (click on phpMyAdmin).
Welcome to ThinkPHP!
Version 3.2.3
Then the deployment is successful.
After that, you can run the php program by modifying the php file code in the D:\phpStudy\WWW\thinkphp directory.
seven
10, if your program needs to connect to mysql database, then you must create the corresponding database.
(1) First, log in.
(2) Next, create a database.
(3) The general program has an installation program. According to the installation steps, fill in the user name and password database name mentioned in the following figure in the database installation link.