Need PHP testing tool that connects to external Linux server

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mairhtin O'Feannag

    Need PHP testing tool that connects to external Linux server

    Hello all,

    I seem to be having difficulties finding a tool that will allow me to debug
    my PHP scripts on a remote server. All the tools I have found that run on
    windows, assume a windows installation of PHP.

    I am trying to debug a call to db2_stmt_error, which is included in ibm_db2
    driver. It returns no text, and dumps nothing to the results page. I'm
    using CoffeeCup to maintain the source on my workstation and FTP it to the
    server for testing. I don't have access to a GUI on the server, as it is a
    quasi-production machine.

    I would really appreciate any assistance on this, as it is driving me nuts.
    If you would like copies of the source, or to talk more directly, I can be
    reached at mairhtin ... at .... mairhtin ... dot ... com . TIA,

    Mairhtin, aka "morch"
  • petersprc@gmail.com

    #2
    Re: Need PHP testing tool that connects to external Linux server

    Does db2_stmt_errorm sg give you anything? You might try troubleshooting
    the query that gives an error and see if you can make it give you a
    different error message. Maybe there's a log on the db server you could
    check? If you want to debug the C code, you would probably need some
    kind of shell or remote desktop access to the box.

    Mairhtin O'Feannag wrote:
    Hello all,
    >
    I seem to be having difficulties finding a tool that will allow me to debug
    my PHP scripts on a remote server. All the tools I have found that run on
    windows, assume a windows installation of PHP.
    >
    I am trying to debug a call to db2_stmt_error, which is included in ibm_db2
    driver. It returns no text, and dumps nothing to the results page. I'm
    using CoffeeCup to maintain the source on my workstation and FTP it to the
    server for testing. I don't have access to a GUI on the server, as it is a
    quasi-production machine.
    >
    I would really appreciate any assistance on this, as it is driving me nuts.
    If you would like copies of the source, or to talk more directly, I can be
    reached at mairhtin ... at .... mairhtin ... dot ... com . TIA,
    >
    Mairhtin, aka "morch"

    Comment

    • NC

      #3
      Re: Need PHP testing tool that connects to external Linux server

      Mairhtin O'Feannag wrote:
      >
      I seem to be having difficulties finding a tool that will
      allow me to debug my PHP scripts on a remote server.
      Did you try dbg:



      It is also entirely possible that your server does not support
      debugging; servers working in production environments usually
      have debugging support disabled for performance reasons...

      Best regards,
      NC

      Comment

      • tipoete

        #4
        Re: Need PHP testing tool that connects to external Linux server


        NC a écrit :
        Mairhtin O'Feannag wrote:

        I seem to be having difficulties finding a tool that will
        allow me to debug my PHP scripts on a remote server.
        >
        Did you try dbg:
        >
        What about XDebug ?



        Comment

        Working...