Home > Article > Backend Development > What should I do if php cannot find the object?
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.
The operating environment of this article: Windows7 system, PHP7.1 version, DELL G3 computer
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!