You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since 2 days I receive these messages from my php app, I've tried to disable appsec explicitly by set the "DD_APPSEC_ENABLED" env var to false but it doesn't work and we continue to receive the message.
NOTICE: PHP message: PHP Warning: Unknown: [ddappsec] Invalid message header from helper in Unknown on line 0
NOTICE: PHP message: PHP Warning: Unknown: [ddappsec] Error receiving reply for command config_sync: dd_network in Unknown on line 0
DD_APPSEC_ENABLED=false should definitely prevent appsec from trying to connect. Check phpinfo() and verify the value of datadog.appsec.enabled. Maybe the environment variable is not being set in the correct context. The fact that appsec is trying to send a config_sync message suggests that DD_APPSEC_ENABLED is in its default state (neither true nor false).
You may also choose not to load the ddappsec.so shared library (remove extension=ddappsec.so from the php configuration).
Bug report
Since 2 days I receive these messages from my php app, I've tried to disable appsec explicitly by set the "DD_APPSEC_ENABLED" env var to false but it doesn't work and we continue to receive the message.
PHP version
8.1.31
Tracer or profiler version
1.5.1
Installed extensions
[PHP Modules]
apcu
bcmath
blackfire
Core
ctype
curl
datadog-profiling
date
ddappsec
ddtrace
dom
fileinfo
filter
ftp
hash
iconv
intl
json
libxml
mbstring
mysqlnd
openssl
pcntl
pcre
PDO
pdo_pgsql
pdo_sqlite
Phar
posix
readline
Reflection
session
SimpleXML
sodium
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
Zend OPcache
zlib
[Zend Modules]
Zend OPcache
blackfire
datadog-profiling
ddappsec
ddtrace
Output of
phpinfo()
No response
Upgrading from
No response
The text was updated successfully, but these errors were encountered: