View Issue Details

IDProjectCategoryView StatusLast Update
0001982XdebugProfilingpublic2021-06-04 21:33
Reporteraario-k24 Assigned To 
PriorityurgentSeveritytrivialReproducibilityalways
Status closedResolutionno change required 
Product Version3.0.4 
Summary0001982: Profiling simply does not work
Description

xdebug.ini:

zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20190902/xdebug.so
xdebug.mode=profile
xdebug.client_host=172.17.0.1
xdebug.client_port=9000
xdebug.start_with_request=trigger
xdebug.output_dir=/tmp/xdebug

And it doesn't work. No file is generated.

TagsNo tags attached.
Operating System
PHP Version7.4.0-7.4.4

Activities

aario-k24

2021-06-04 16:39

reporter   ~0005895

phpinfo

aario-k24

2021-06-04 21:29

reporter   ~0005896

Issue was with output dir write permissions.

derick

2021-06-04 21:33

administrator   ~0005897

It's usually that.

Xdebug's log (configured through xdebug.log), or putting xdebug_info(); in a script that you're trying to profile would have made that clear.

Glad it works now.