Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » After install, no run-as PHP Web Page
After install, no run-as PHP Web Page [message #919856] Sat, 22 September 2012 12:28 Go to next message
John Allsopp is currently offline John AllsoppFriend
Messages: 5
Registered: August 2012
Junior Member
Hi

I've always coded from scratch in a text editor and using a remote web server so I need a helping hand to get my environment sorted.

I've installed Eclipse (Version: 3.7.1 Build id: R3_7_1) and I've tried to adapt http:// www. i-programmer.info/programming/php/463-beginning-php-with-eclipse.html?start=1 to my OS which is Fedora 16.

I've got Apache running, http:// localhost/ helloWorld/hello2.php returns what it should, and I've got it set up as a file in Eclipse.

But, when I go to run > run as, I get no options. I seem to need 'PHP Web Page' as an option, but I'm not getting it.

What should I do next?

All help appreciated Smile
Re: After install, no run-as PHP Web Page [message #919894 is a reply to message #919856] Sat, 22 September 2012 13:25 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3248
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 09/22/2012 06:28 AM, John Allsopp wrote:
> Hi
>
> I've always coded from scratch in a text editor and using a remote web
> server so I need a helping hand to get my environment sorted.
>
> I've installed Eclipse (Version: 3.7.1 Build id: R3_7_1) and I've tried
> to adapt http:// www.
> i-programmer.info/programming/php/463-beginning-php-with-eclipse.html?start=1
> to my OS which is Fedora 16.
>
> I've got Apache running, http:// localhost/ helloWorld/hello2.php
> returns what it should, and I've got it set up as a file in Eclipse.
>
> But, when I go to run > run as, I get no options. I seem to need 'PHP
> Web Page' as an option, but I'm not getting it.
>
> What should I do next?
>
> All help appreciated :)

I'm not a PHP guy and I've never written a page in it. However, in
analogous situations (I do web applications in Java, with JSPs, HTMLs,
xhtmls, etc.), I right-click and choose Run As -> Run on Server. This
launches the internal browser where I see my thing. Is this not an
option for a .php file?
Re: After install, no run-as PHP Web Page [message #920027 is a reply to message #919894] Sat, 22 September 2012 16:47 Go to previous message
John Allsopp is currently offline John AllsoppFriend
Messages: 5
Registered: August 2012
Junior Member
Aha, not quite, but there is a route to setting up a new environment, so I've just got to work out how to point to PHP. If anyone knows, yell ..
Previous Topic:Eclipse Plugin deploy ExternalTools
Next Topic:Git
Goto Forum:
  


Current Time: Sat Nov 29 07:34:19 GMT 2014

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

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