Home > Backend Development > PHP Problem > What should I do if php cannot find the object?

What should I do if php cannot find the object?

藏色散人
Release: 2023-03-09 21:44:02
Original
3899 people have browsed it

The solution to the problem that php cannot find the object: first select the web server settings in the run; then click the external web server settings; then click the existing URL; finally delete it in the browser running URL column The content after "http://localhost/" is sufficient.

What should I do if php cannot find the object?

The operating environment of this article: Windows7 system, PHP7.1 version, DELL G3 computer

About not being able to find the object when running PHP using HBuilder

What should I do if php cannot find the object?

The reason why the object cannot be found here is that the external web server is browsing The setting is wrong when the server runs the URL and ctrl SR is started. You should not believe the "dashboard/" automatically added after "http://localhost/"! Even modifying the URL in the browser is useless! ! ! QnQ

Solution:

Select web server settings in Run, click External web server Set , click on the existing URL, edit , run the browser URL and delete the content after http://localhost/ in the column

(Although Firefox can also partially display the .php file directly, but...it’s weird, something is wrong [Wangchai])

[Recommended learning: PHP video tutorial

The above is the detailed content of What should I do if php cannot find the object?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
php
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