Skip to main content



      Home
Home » Language IDEs » PHP Development Tools (PDT) » How do I run my PHP file as a PHP CLI Application
How do I run my PHP file as a PHP CLI Application [message #849110] Wed, 18 April 2012 18:25 Go to next message
Eclipse UserFriend
I'm running Indigo SR 2 on OSX 10.7.3 and I installed PDT 3.0.1v2012011100400.

When I right click on a PHP file and select "Run as", I don't see an option to run as a "PHP CLI Application". If I select "Run Configurations", create a new configuration under "PHP CLI Application", select the PHP file with the "Browse" button and hit the "Run" button then it runs successfully.

Can someone tell me what I need to do to be able to right click on the file and run it as a PHP CLI Application?

Thanks in advance,
Patrick
Re: How do I run my PHP file as a PHP CLI Application [message #849241 is a reply to message #849110] Wed, 18 April 2012 21:47 Go to previous messageGo to next message
Eclipse UserFriend
Window->Preferences->PHP->Debug->check "Enable CLI Debug"

(I'm feeling it's a bad trap)
Re: How do I run my PHP file as a PHP CLI Application [message #849974 is a reply to message #849241] Thu, 19 April 2012 12:21 Go to previous messageGo to next message
Eclipse UserFriend
You're right.

On 19. 4. 2012 3:47, Toshihiro Izumi wrote:
> I'm feeling it's a bad trap
Re: How do I run my PHP file as a PHP CLI Application [message #850007 is a reply to message #849974] Thu, 19 April 2012 13:13 Go to previous message
Eclipse UserFriend
Perfect. Thank you!
Previous Topic:conflicting dependency
Next Topic:Working installation, anybody?
Goto Forum:
  


Current Time: Fri Apr 25 08:51:51 EDT 2025

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

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

Back to the top