Use phpstudy + sublime Text 3 Create PHP build environment (code audit basic environment)

       Today just started to learn PHP code audit, always wrong in the configuration environment when running PHP code out of the sublime which is all the code. In the sublime inside the plug-in here I is not introduced, but which need an important part . Is the need to add in a local environment PHP, the PHP configuration of the local environment can run out in sublime inside, they want results. The inside is phpstudy inside php PHP. Below shows the complete code shows:

1, open phpstudy (inside of PHP I'm using version 5.2.17)

2, write PHP code

3, running the browser

This is all the code inside all the code. Obviously, in our configuration or operation is wrong (Note that the path)

4, configure the local environment (the most important part)

Do not put in the above path, do not know why, I just started to be placed on top of the path, but it has been wrong, after I put it on the path below

5, in the authentication command prompt (cmd)

Here we will be successful (if placed in the above path, we can verify, in cmd is get out of this command)

6, run the browser again

This will be successful. Note, however, where the browser path has also changed

 

 

Published 32 original articles · won praise 11 · views 6174

Guess you like

Origin blog.csdn.net/Cai1010110/article/details/104547238