Home  >  Article  >  Backend Development  >  How to debug remotely when developing PHP with Netbeans

How to debug remotely when developing PHP with Netbeans

(*-*)浩
(*-*)浩Original
2019-10-14 13:38:462267browse

It is difficult to maintain the development environment if it is built too much. It is difficult to find the root cause of local problems, which may not be encountered in the actual production environment. So here I will write an operational experience on how to connect to a remote site using NetBeans.

How to debug remotely when developing PHP with Netbeans

Open NetBeans, File-New Project. At this time, select PHP in the category and then proceed to the next step. (Recommended learning: PHP video tutorial)

How to debug remotely when developing PHP with NetbeansHow to debug remotely when developing PHP with Netbeans Project name, for the sake of originality, I fill in Baidu, and I choose version 5.3 for the PHP version. The default is UTF-8. Avoid garbled characters. The default location of the source folder will be fine. Next step.

How to debug remotely when developing PHP with Netbeans# Configure the operation. This is a critical step. Select the remote Web site as the operation mode. Write the domain name for the project URL, if the server is configured with a certain port. Also add the port number. Upload file selection runtime. Next, remote connection - management.

How to debug remotely when developing PHP with NetbeansFill in the IP, password, account and other information of the remote server in each blank, and then test the connection. This is to prevent the configuration from being completed without a successful connection, resulting in later upload failure. As shown in the picture, the connection is successful.

How to debug remotely when developing PHP with Netbeans

The above is the detailed content of How to debug remotely when developing PHP with Netbeans. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn