Traditional Culture Encyclopedia - Hotel accommodation - How to debug php source code locally

How to debug php source code locally

PHP local testing, there are two main ideas to solve your problem:

1 and Windows system.

(1) Search wamp integrated environment package on the Internet, download it and install it on the computer. The integrated software includes php5, apache server and mysql database, which is used under windows system.

(2) If you don't want to use it, you can download the above three softwares and install them yourself. In this case, you can use the IIS server of windows or the apache server. Tutorials are available online. You can find them yourself.

2. Test under Linux system.

Then you need to install Linux system under the original windows system of the computer. Linux can coexist with windows or be installed in a virtual machine. Then, install PHP 5 and Apache server under Linux. After ok, local development and testing can be carried out.

Remember to give points! ! !