Skip to content

Remove INI settings from stripped modules #15

@pronskiy

Description

@pronskiy

Several INI settings remain from modules that were stripped in Phase 1. They are registered but do nothing:

  • xdebug.output_dir / php_debugger.output_dir — was for profiler/trace output
  • xdebug.use_compression / php_debugger.use_compression — was for trace compression
  • xdebug.file_link_format / php_debugger.file_link_format — was for develop mode
  • xdebug.filename_format / php_debugger.filename_format — was for develop mode

What to do

  1. Remove the STD_PHP_INI_ENTRY lines for these settings in xdebug.c (both xdebug.* and php_debugger.* blocks)
  2. Remove the corresponding struct members in the globals if unused elsewhere
  3. Run make — should compile cleanly
  4. Run the test suite — no new failures

Acceptance criteria

  • Dead INI settings removed from both prefix blocks
  • Extension builds cleanly
  • phpinfo() no longer shows these settings
  • Test suite: no new failures

Metadata

Metadata

Assignees

No one assigned

    Labels

    cleanupCode/repo cleanup, dead code removalgood first issueEasy to pick up, no deep C knowledge needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions