[xdebug-dev] Bug 0000170: xdebug.trace_output_dir is always /tmp

From: <xdebug-dev[@]lists.xdebug.org>
Date: Mon, 8 May 2006 00:03:55 +0200

The following bug has been RESOLVED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000170
======================================================================
Reporter: Flink
Handler: derick
======================================================================
Project: Xdebug
Bug ID: 170
Category: Installation
Reproducibility: always
Severity: trivial
Priority: normal
Status: resolved
Operating System:
PHP Version: 5.1.1
Xdebug Version: 2.0.0rc1-dev
Resolution: unable to duplicate
======================================================================
Date Submitted: 2006-02-25 17:31 CET
Last Modified: 2006-05-08 00:03 CEST
======================================================================
Summary: xdebug.trace_output_dir is always /tmp
Description:
It is not possible to change the trace_output_dir.
I have entered into php.ini file and restarted apache:

; XDEBUG 2 PROFILER
;zend_extension="/usr/lib/php/extensions"
xdebug.profiler_enable = 1
xdebug.profiler_output_dir = /var/www/html

However the phpinfo file always shows
xdebug.profiler_output_dir /tmp /tmp
xdebug.profiler_output_name crc32 crc32
======================================================================

----------------------------------------------------------------------
 Flink - 2006-02-25 17:39 CET
----------------------------------------------------------------------
Something with the installation seems to be wrong.
When I start a local PHP web application, the no file starting with
"cachegrind.out." can be found in /tmp

What can be wrong here?

----------------------------------------------------------------------
 derick - 2006-02-25 17:47 CET
----------------------------------------------------------------------
This line will never work. Firstly it is commented out, and secondly it
misses the "xdebug.so" at the end... now you're trying to load an
directory as an extension.
;zend_extension="/usr/lib/php/extensions".

----------------------------------------------------------------------
 Flink - 2006-02-25 19:16 CET
----------------------------------------------------------------------
The additions should have been made automatically during the installation
with the Mandriva Control Center. So if this is missing this is a bug with
Mandriva Linux.

; XDEBUG 2 PROFILER
zend_extension="/usr/lib/php/extensions/xdebug.so"
xdebug.profiler_enable = 1
xdebug.profiler_output_dir = /var/www/html

There is however no difference with these entries in /etc/php.ini
No file is created in /var/www/html or /tmp.

----------------------------------------------------------------------
 derick - 2006-05-08 00:03 CEST
----------------------------------------------------------------------
If phpinfo() output doesn't show the correct settings then it's definitely
not a problem with Xdebug. Check your installation first.

Bug History
Date Modified Username Field Change
======================================================================
2006-02-25 17:31Flink New Bug
2006-02-25 17:31Flink Bug Monitored: Flink
2006-02-25 17:39Flink Bugnote Added: 0000374
2006-02-25 17:47derick Additional Information Updated
2006-02-25 17:47derick Bugnote Added: 0000376
2006-02-25 17:47derick Status new => feedback
2006-02-25 19:16Flink Bugnote Added: 0000379
2006-05-08 00:03derick Bugnote Added: 0000405
2006-05-08 00:03derick Assigned To => derick
2006-05-08 00:03derick Resolution open => unable to duplicate
2006-05-08 00:03derick Status feedback => resolved
======================================================================
Received on Mon May 08 2006 - 00:04:02 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST