Home > Development Tools > phpstorm > What to do if phpstorm form submission displays 404

What to do if phpstorm form submission displays 404

爱喝马黛茶的安东尼
Release: 2019-08-08 14:17:49
Original
4822 people have browsed it

What to do if phpstorm form submission displays 404

When running the relevant form submission or php page jump, 404 not found will be prompted, that is, the server cannot be found. This is because the phpstorm page runs under localhost:63342 port by default, and our apache server generally defaults to port 80, so when submitting the form to the server, it will not find the relevant php program, although your path is correct. Therefore, you need to configure the server environment of phpstorm:

In the file->settings->build, execution, deployment->Deployment page column, select the green " " button in the upper left corner to create a new one, give it a name, type Select inplace (meaning local debugging), and then set the web sever root url to: http://localhost.

Related recommendations: "PhpStorm Usage Tutorial"

What to do if phpstorm form submission displays 404

##Fill in the localpath under the mappings tab, which is the root directory of your apache website .

What to do if phpstorm form submission displays 404

Click ok to complete the configuration, so that after you click run, the page will run under port 80. At this time, submission or jump will not display 404 not found.

The above is the detailed content of What to do if phpstorm form submission displays 404. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template