NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
debugger on a production server


Joined: 29 Feb 2008
Posts: 3
Reply with quote
We have two site instances on our production server. One is for testing and real-tme debugging, lets call it beta.somemywebserver. Аnd another is the public one. I want to set up two php configurations for beta with debugger enabled, and the other for public with no debugger. Can I do this?

Server configuration is Debian Linux with lighttpd server running PHP in fastcgi mode.
View user's profileFind all posts by Nick MitinSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7857
Reply with quote
Two different php configurations is possible ONLY if you run php as php cgi. It will work but much slower that regular apache module.
I'd recommend you to follow the steps below:
-leave php as is
-install debugger
-disable debugger in php.ini and make sure it is disabled in phpinfo()
-enable debugger for your testing server using php_admin_value in the corresponding vhost apache settings (see http://www.php.net/htaccess for details)
(you may also want to add debugger.hosts_allowed setting to enable your developers run debugger)

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
debugger on a production server
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