Skip to content

Commit e8d89de

Browse files
committed
Merge branch 'xdebug_3_5'
* xdebug_3_5: Document to use PIE instead of PECL in the README
2 parents b84d857 + 83635ea commit e8d89de

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

README.rst

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -39,27 +39,19 @@ dump the full execution of your script to a file, and more.
3939
Requirements
4040
------------
4141

42-
Xdebug requires a `supported version <https://www.php.net/supported-versions.php>`_ of PHP. For
43-
installation it requires the `pecl` tool (available through the `php-pear`
44-
package), unless your Linux distribution has an Xdebug package (`php-xdebug`).
42+
Xdebug requires a `supported version <https://www.php.net/supported-versions.php>`_
43+
of PHP. For installation it requires the ``pie`` tool, unless your Linux
44+
distribution has an Xdebug package (most often: ``php-xdebug``).
4545

4646
Installation
4747
------------
4848

49-
On most Linux distributions you can install Xdebug through its package
50-
manager. You can also compile from source with the `pecl` tool through `pecl
51-
install xdebug`. The latter also works for MacOS as long as PHP is installed
52-
with Homebrew.
49+
On most Linux distributions you can install Xdebug through `their package
50+
manager <https://xdebug.org/docs/install#linux>`_.
5351

54-
On Windows, you need to `download <https://xdebug.org/download#releases>`_ a
55-
binary. Use the `Wizard <https://xdebug.org/wizard>`_.
56-
57-
Unless you have installed Xdebug with a package manager on Linux, you also
58-
need to add the following line to your `php.ini` file, or create a new Xdebug
59-
specific ini file `xdebug.ini` in the `conf.d` directory. In either case, it
60-
needs the following line added::
61-
62-
zend_extension=xdebug
52+
You can also install Xdebug on Linux, macOS, and Windows, with the
53+
`PIE <https://github.com/php/pie?tab=readme-ov-file#using-pie---what-do-i-need-to-get-started>`_
54+
installer through ``pie install xdebug/xdebug``.
6355

6456
For more extensive installation instructions, see the documentation at
6557
https://xdebug.org/docs/install

0 commit comments

Comments
 (0)