X

An Oracle blog about NetBeans for PHP

Project specific PHP interpreter possible

Guest Author

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 ;)


Join the discussion

Comments ( 13 )
  • raymond Friday, August 8, 2008

    Hi,

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

    Thanks a lot!


  • stef13013 Friday, August 8, 2008

    Hi,

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


  • Petr Friday, August 8, 2008

    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


  • stef Friday, August 8, 2008

    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...


  • Petr Saturday, August 9, 2008

    Hi Stef,

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

    Thanks,

    Petr


  • stef13013 Saturday, August 9, 2008

    Hi Petr,

    I'm using Build 200807040101...

    thanks...


  • Petr Saturday, August 9, 2008

    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


  • stef Sunday, August 10, 2008

    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 !!


  • Petr Monday, August 11, 2008

    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


  • Bira Rai Thursday, September 11, 2008

    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


  • Petr Thursday, September 11, 2008

    Hi Bira,

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


  • dimis Saturday, September 13, 2008

    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!


  • Petr Sunday, September 14, 2008

    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


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.