BSD Ports

devel/pecl-xdebug 3.5.1 FreeBSD

Xdebug extension for PHP

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
63b6120db0
License
PHP30
Categories
devel, pear
Package size
139.2 KiB, 395.3 KiB installed

Description

The Xdebug extension helps you debugging your script by providing a lot of valuable debug information. The debug information that Xdebug can provide includes the following:

\* stack and function traces in error messages with:
      o full parameter display for user defined functions
      o function name, file name and line indications
      o support for member functions
\* memory allocation
\* protection for infinite recursions

Xdebug also provides:

\* profiling information for PHP scripts
\* script execution analysis
\* capabilities to debug your scripts interactively with a debug client

In the other systems

SystemPortVersion
FreeBSDdevel/pecl-xdebug3.5.1
DragonFlydevel/pecl-xdebug3.3.2

Install

Binary package:

pkg install php82-pecl-xdebug

From the ports tree:

cd /usr/ports/devel/pecl-xdebug/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	php82-pecl-xdebug>0:devel/pecl-xdebug

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.5.13.5.13.1.63.4.43.5.1
FreeBSD:14:quarterly3.5.13.5.1n/a3.3.23.5.1
FreeBSD:15:latest3.5.13.5.1n/a3.4.43.4.4
FreeBSD:15:quarterly3.5.13.5.1n/an/an/a
FreeBSD:16:latest3.5.13.5.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 6

No port depends on this one.

Configuration

No options to configure.

USES
php:pecl,zend tar:tgz
Service scripts
none
Flavors
php83-pecl-xdebug-3.5.1, php84-pecl-xdebug-3.5.1, php85-pecl-xdebug-3.5.1

Message after installing

This file has been added to automatically load the installed extension:
/usr/local/etc/php/ext-20-xdebug.ini.sample

The php debugger 'xdebug' has been installed successful.
Add a line containing

	extension=/usr/local/lib/php/20250925/xdebug.so

or

	zend_extension=/usr/local/lib/php/20250925/xdebug.so

to your php.ini to load it. xdebug is not compatible with the extension
'Zend Optimizer' - you're only able to use one of them. So take care having
at least the lesser required extension disabled by commenting out it's
loader line in your php.ini.

xdebug 3.0 introduces several breaking changes in the configuration.
Please check the documentation at https://xdebug.org/docs/upgrade_guide

Add following section to enable profiling:

xdebug.mode=profile
xdebug.output_dir = /tmp/profiler

Files

distinfo 1
FileSizeSHA256
PECL/xdebug-3.5.1.tgz2827390f26849a5edf3d9120edc100219854599d54f923a8a4d1cb4fe4403520e49678

Commit history 1

DateCommitCreditsLog message
63b6120db0 Muhammad Moinur Rahman */*php86*: Sunrise
Please DO NOT use this version in production, it is an early test version. For upgrade notes please visit: https://github.com/php/php-src/blob/php-8.6.0alpha1/UPGRADING Changelog: https://github.com/php/php-src/blob/php-8.6.0alpha1/NEWS