Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » running php file
running php file [message #541613] Mon, 21 June 2010 19:22 Go to next message
Josh_Dude83 is currently offline Josh_Dude83Friend
Messages: 3
Registered: June 2010
Location: Pittsburgh, Pennsylvania
Junior Member
So i just installed the eclipse PDT. I have a simple php file:
<html>
 <head>
  <title>First PHP Example</title>
 </head>
 <body>
 <?php echo "<p><h1>Output</h1>";
       echo "<h2>Output</h2>";
       echo "<h3>Output</h3></p>";
  ?>
 <script language="PHP">
  echo "\n<b>More PHP Output</b><br />\n";
 </script>
 </body>
</html>


I click the run as php web page and it goes to:
http://localhost/CS1520/ex1.php
within eclipse. However, it fails and says navigation to the webpage was cancelled and nothing shows up. I'm new to eclipse and even moreso php. Any help would be appreciated so I can run the php code.
Re: running php file [message #541619 is a reply to message #541613] Mon, 21 June 2010 19:59 Go to previous message
Josh_Dude83 is currently offline Josh_Dude83Friend
Messages: 3
Registered: June 2010
Location: Pittsburgh, Pennsylvania
Junior Member
i did a quick windows 7 ie debug and it says:
"the remote device or resources (localhost) is not set up to accept connections on port world wide web (http)"
Previous Topic:Exported RCP tutorial crashes when run
Next Topic:Newbie: Galileo Code Complete
Goto Forum:
  


Current Time: Thu Apr 18 16:04:20 GMT 2024

Powered by FUDForum. Page generated in 0.02176 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top