Public bug reported:

Sorry I created a same issue in Answers though since it's related
specific package, I post it here as suggested.

https://answers.launchpad.net/ubuntu/+question/819365


I have confirmed both version (8.3.6-0ubuntu0.24.04.2 and  
8.3.11-0ubuntu0.24.10.2) are built without `--enable-dtrace`.

Please consider to enable it as a  better option.
Thanks.


----
Until PHP 8.1.2-1ubuntu2.19 in 22.04 Jammy, Dtrace option is enables like below:

$ php -i|grep -i dtrace
DTrace Support => available, disabled

I have noticed PHP8.3 package(8.3.6-0ubuntu0.24.04.2) in 24.04 Noble is
not compiled with --enable-dtrace option.

$ php -i |grep -i dtrace
DTrace Support => disabled

That means, we can't use any USDT probe point without recompiling PHP by
ourselves.

I think it is not an actual bug though, dtrace should be enabled for users who 
want to trace their applications using this probe points with eBPF etc.
The overhead for tracing is eligible since just enabling dtrace doesn't change 
code path in PHP unless USE_ZEND_DTRACE environment variable specified.
So I believe re-enabling dtrace could make better futures for PHP users and 
want to suggest it for upcoming PHP packages, too.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: php8.3 8.3.6-0ubuntu0.24.04.2
ProcVersionSignature: Ubuntu 6.8.0-1017.18-aws 6.8.12
Uname: Linux 6.8.0-1017-aws x86_64
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: unknown
CloudArchitecture: x86_64
CloudBuildName: server
CloudID: aws
CloudName: aws
CloudPlatform: ec2
CloudRegion: ap-northeast-1
CloudSerial: 20240701.1
CloudSubPlatform: metadata (http://169.254.169.254)
Date: Tue Nov 19 15:44:40 2024
Ec2Architecture: x86_64
Ec2Imageid: ami-024b6cf82ad817914
Ec2Instancetype: t3.micro
Ec2Region: ap-northeast-1
PackageArchitecture: all
ProcEnviron:
 LANG=C.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: php8.3
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: php8.3 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug cloud-image noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2088977

Title:
  Dtrace is disabled in PHP8.3 package(noble,oracular)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php8.3/+bug/2088977/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to