China Naming Network - Solar terms knowledge - How to use phpstady for website source code

How to use phpstady for website source code

provide a source code download address of php, here we take thinkphp framework as an example

Note: downloading by other means may cause abnormal errors after the source code is deployed and run due to incomplete files. So I recommend you to use the software and source code I provided for you.

after downloading the p>php source thinkphp_3.2.3_full.zip, unzip and rename the file: thinkphp.

after downloading p>phpstudy.zip, you can extract files such as phpStudy214.exe,manual.chm and instruction. txt. Please double-click to open and extract to D:\phpstudy.

After completion, phpstudy will automatically start mysql and apache system services. At this time, you can use 36 to speed up and check the running services.

if your apache mysql displays a red button, it means that it didn't start successfully. please click the start or restart button until it is all green. If it doesn't start all the time. This is an apache mysql system server exception. Please try to clean it with registry cleaning software, and then decompress 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 following figure. Click: My HomePage, and we will open the website root directory and mysql database (click: phpMyAdmin).

welcome to ThinkPHP!

version V3.2.3

means that after the deployment is successful

, you can realize the running of the php program by modifying the php file code in the D:\phpStudy\WWW\thinkphp directory.

7

1, if your program needs to connect to mysql database, then you must create the corresponding database.

(1) First, log in

(2) Then create a database

(3) The general program has an installation program. According to the installation steps, then fill in the user name and password database name mentioned in the figure below.