Heim  >  Artikel  >  Backend-Entwicklung  >  首次通过eclipse运行php代码遇到些有关问题,各位帮忙啊多谢

首次通过eclipse运行php代码遇到些有关问题,各位帮忙啊多谢

WBOY
WBOYOriginal
2016-06-13 12:43:23743Durchsuche

首次通过eclipse运行php代码遇到些问题,各位帮忙啊,谢谢!
因为装php的运行环境太麻烦,途中遇到很多报错,所以装了一个wamp,然后用eclipse启动一个flower源码,

运行之后在eclipse框的中间位置出现

http://localhost/flower/admin.php

  The webpage cannot be found 
。。。。。。。

这个提示,上面的flower是从wamp下的apache下htdocs下的代码,我把flower的源码放到htdocs下面。

问题现在在IE中输入http://localhost/flower/admin.php 这个的话,提示页面没找到,在firefox下输入这个地址之后显示的是admin.php里的两行代码。

而且在firefox中运行http://localhost,提示It works! 但wamp下apache下的htdocs下的index.html里的内容不是It works!这到底是运行的哪个localhost啊?


还有最后一个问题是运行eclise里的flower,怎样才能蹦出一个浏览器来运行网页,而不是在eclipse中间位置,被包含在eclise里面啊

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
Vorheriger Artikel: emplode函数的有关问题 Nächster Artikel: php增添solr扩展 in ubuntu