NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Installing the remote debugger on a Linux VPS


Joined: 25 Sep 2003
Posts: 19
Reply with quote
I've got a Virtual Private Server account with full root/ssh access. What do I need to install on my server and how, so that I can remotely debug my scripts via PHPed?
View user's profileFind all posts by minorgodSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7887
Reply with quote
you have to install dbg.so module and add necessary settings in php.ini.
I believe that everything is described on PHPED FAQ page howto-run-debug-session-t585.html
Feel free to ask if you have and further question(s) Wink

It's my understanding that you use VPN to access to your server. If you asked whether DBG can work through it, I'd answer - no, it's not supported. But you can set up secured tunnel using ssh and work though it.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 25 Sep 2003
Posts: 19
Reply with quote
Thanks for the reply! I access my server normally in most situations, I just use SSH to login as root and configure things, so I think it should work. Now I wonder if there's any stability or performance issues once I've added the shared object to apache? I'm assuming the debug module is only called when the proper headers are sent via PHPed, so hopefully it won't cause any performance probs, but I'm still a bit worried about stability. Guess I'll just give it a try and see what happens.
View user's profileFind all posts by minorgodSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7887
Reply with quote
you have to set debugger.JIT_enabled=off in php.ini otherwise dbg permanently monitors everything you run and tries to connect to the client in case of errors/warnings (depending on debugger.JIT_level setting).
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Installing the remote debugger on a Linux VPS
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic