[xdebug-general] Re: How can I configure xdebug to work only on one virtual server ?

From: MEDIAFOREST Technical Contact <tech[@]mediaforest.net>
Date: Tue, 04 Jan 2005 17:15:42 +0100

Hello,
Sorry, but I had loaded this email on another computer and forgotten it.

Here's an example of the apache settings I tried :

<VirtualHost 192.168.1.1>
        DocumentRoot /var/www/test
        ServerName testsite.com
        ErrorLog /var/log/testsite_error.log
        LogLevel debug
        CustomLog /var/log/testsite.log "full"
        
        php_flag log_errors on
        php_value error_reporting 2047
        php_value error_log /var/log/testsite_php.log
        
        php_value include_path .:/var/www/test/include

        php_value zend_extension /usr/lib/php4/extensions/xdebug.so
        
        php_flag xdebug.auto_trace on
        php_flag xdebug.collect_params on
</VirtualHost>

Derick Rethans a écrit :

> Hello,
>
> On Thu, 21 Oct 2004, tech[@]mediaforest.net wrote:
>
>
>>I've got a problem using xdebug :
>>I manage a web server running several (30) virtual domains under Apache
>>(1.3.29)
>>I would like to use xdebug for my testing websites only but not on the
>>public ones.
>>I've tried to set the xdebug params inside Apache <VirtualHost>
>>statements using "php_flag" and "php_value" but it doesn't work.
>>Does anyone has an idea on how to do that ?
>
>
> This should work fine actually, which settings are you trying to set,
> and how?
>
> (Please reply to the mailinglist when replying to this mail)
>
> regards,
> Derick
>
Received on Tue Jan 04 2005 - 17:15:18 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST