Project specific PHP interpreter possible

Posted by Tomas Mysik on Aug 08 2008, 02:00:27 PM CEST

Recently, we have added support to define PHP interpreter per project. You can easily try this feature by yourself, just invoke Project Properties, select run configuration "Script (run in command line)" and you are nearly done.

Hint: As you can see or read, one can select not only PHP interpreter ;)


Category: Features | Permalink | Comments [14]

Trackback URL: http://blogs.sun.com/netbeansphp/entry/project_specific_php_interpreter_possible
Comments:

Hi,

This is great news! I can't wait for the final release :)

Thanks a lot!

Posted by raymond on August 08, 2008 at 03:25 PM CEST #

Hi,

It will be very cool if we could set the -c flag for setting php.ini with the php interpreter

Posted by stef13013 on August 08, 2008 at 04:15 PM CEST #

There is the field arguments, but this probably doesn't help. May be it would be enough to allow edit the PHP Interpreter text field.

Thanks
Petr

Posted by Petr on August 08, 2008 at 05:08 PM CEST #

Hi,

With Xdebug, every string output seems to be "bufferized"
I mean, all printf() and echo() actions are flushed on netbeans output window only at the end of the script execution :(

What can I do to flush in "real time"

thanks...

Posted by stef on August 09, 2008 at 12:46 AM CEST #

Hi Stef,

which build do you use? This issue was already fixed a few weeks ago.

Thanks,
Petr

Posted by Petr on August 09, 2008 at 11:31 PM CEST #

Hi Petr,
I'm using Build 200807040101...

thanks...

Posted by stef13013 on August 10, 2008 at 12:05 AM CEST #

I have checked Issuezilla and the issue was fixed on July 15th. It will be in the beta or you can use a development build.

Thanks,
Petr

Posted by Petr on August 10, 2008 at 01:24 AM CEST #

Hi,

Thanks guy, I just took the dev. build...
work great !

Just a couple of things :

- What is the real purpose of the "Include path" option ?

- The toolbar stills buggy when you add/remove icons (refresh on screen doesn't seem to occur :()

Anyway great job !!

Posted by stef on August 10, 2008 at 06:23 PM CEST #

Hi Stef,

If you put a folder with php files into the Include path, then NetBeans sees these files and all editor features can work these files as well. For example code completion shows classes, functions etc. from these files.

For example your server has extended php include path. We are not able to parse the php.ini for your server, so you can setup it for the php project in this way.

Regarding the toolbar. Could you provide exact steps how to reproduce? I will enter new issue or you can do it directly.

Thanks,
Petr

Posted by Petr on August 11, 2008 at 10:01 PM CEST #

i get an error when i try to specify the index file with a .php extension but it works fine if the file extension is .html

Anyone know why?

BiraRai

Posted by Bira Rai on September 11, 2008 at 10:32 PM CEST #

Hi Bira,

could you specify which error? I have always as index file a .php file.

Posted by Petr on September 12, 2008 at 12:50 AM CEST #

The netbeans is very good, the debugger helps me, I have a guestion.
How xdebug co ordinate with netbeans at remote machine?
I call debug and there is the "waiting for xdebug" always.
When I am at server and not at a remote pc there is not that problem!

Posted by dimis on September 13, 2008 at 09:12 AM CEST #

Hi Dimis,

I was thinking last week exactly about this. I haven't tried it yet, but I'm going to do it.

Theoretically it should work, because the debugger in NetBeans communicate with the xdebug extension on a server via sockets, even if there are both on your same local machine. So there shouldn't be any differences.

Regards,
Petr

Posted by Petr on September 14, 2008 at 09:30 PM CEST #

It was a very nice idea! Just wanna say thank you for the information you have shared. Just continue writing this kind of post. I will be your loyal reader. Thanks again.

Posted by links of london on October 31, 2009 at 03:36 AM CET #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed