Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Web Hosting Services

Notices

Reply
 
Thread Tools
  #1  
Old 06-04-2007, 03:58 PM
crazyrunner crazyrunner is offline
Hatchling Croc
 
Join Date: Jun 2007
Posts: 5
Default NuSphere PHP Debugger

Hey folks! We are running under a shared plan. We are looking at using NuShere PHP-ED as our IDE. It has a PHP Debugger which uses a zend module to allow you to remote PHP code debugging, set breakpoints, et al. The problem is I'm not sure how (or if we are allowed in shared hosting) to make the required changes to the php.ini file as described below. If it will work, how do I do it for a shared account.

Thanks!

crazyrunner

1. copy dbg.so-4.4.x module into directory on the server

2. Just add the following lines in php.ini
zend_extension=<directory>/dbg.so-4.4.x

Note: this line should appear before any other zend_extension(s).
Note: if debugger module is loaded using this way, please make sure extension=dbg.so (or extension=php_dbg.dll) line is removed or commented out.

3. Add the following debugger settings to php.ini

[debugger]
debugger.enabled=on
debugger.profiler_enabled=on
debugger.hosts_allow=host1 host2 host3
debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16

a) host1 host2 and host3 are host names or IP or network addresses allowed to start debug sessions. If you run debug session though an SSH tunnel , you need to list just one local IP address only (localhost).
Reply With Quote
  #2  
Old 06-04-2007, 04:04 PM
Sam Sam is offline
Emperor Croc
 
Join Date: Jan 2007
Location: /bin/false
Posts: 3,057
Default Re: NuSphere PHP Debugger

You will need a Dedicated server for that script because it look's like the main servers php.ini has to be modified and shared clients cannot access them files.
Reply With Quote
  #3  
Old 06-04-2007, 04:18 PM
crazyrunner crazyrunner is offline
Hatchling Croc
 
Join Date: Jun 2007
Posts: 5
Default Re: NuSphere PHP Debugger

I wasn't sure if you could add modules to zend by modifying the local copy of php.ini.
Reply With Quote
  #4  
Old 06-04-2007, 07:19 PM
slapshotw's Avatar
slapshotw slapshotw is offline
Veteran Croc
 
Join Date: Jun 2006
Posts: 5,164
Default Re: NuSphere PHP Debugger

You should ticket support about this, they may be able to install this for you.
__________________
Follow me on Twitter! http://twitter.com/mrw
Reply With Quote
  #5  
Old 07-02-2007, 07:45 PM
slapshotw's Avatar
slapshotw slapshotw is offline
Veteran Croc
 
Join Date: Jun 2006
Posts: 5,164
Default Re: NuSphere PHP Debugger

Wow...any thread you didn't touch?
__________________
Follow me on Twitter! http://twitter.com/mrw
Reply With Quote
  #6  
Old 07-03-2007, 05:41 AM
quietFinn's Avatar
quietFinn quietFinn is offline
Veteran Croc
 
Join Date: Feb 2005
Posts: 3,558
Default Re: NuSphere PHP Debugger

Quote:
Originally Posted by slapshotw View Post
Wow...any thread you didn't touch?
He does not touch anything any more.... banned
__________________
quietFinn - netFinn Finland
"Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss
Reply With Quote
  #7  
Old 07-03-2007, 11:48 AM
slapshotw's Avatar
slapshotw slapshotw is offline
Veteran Croc
 
Join Date: Jun 2006
Posts: 5,164
Default Re: NuSphere PHP Debugger

Quote:
Originally Posted by quietFinn View Post
He does not touch anything any more.... banned
Haha excellent! By the way, I love the name of the smily you used: "take that foo"!
__________________
Follow me on Twitter! http://twitter.com/mrw
Reply With Quote
  #8  
Old 07-03-2007, 05:06 PM
Serra's Avatar
Serra Serra is offline
Veteran Croc
 
Join Date: Feb 2005
Location: Orange Park, FL
Posts: 5,073
Default Re: NuSphere PHP Debugger

I like turtles.
__________________
Six stages of Dedi Ownership

Fashionable broken link
image included
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 08:09 PM.