
Hello aaPanel Support Team,
Whenever I run a PHP command from the console (for example cronjobs for Shopware bin/console ...), I always get the following warning message:
PHP Warning: PHP Startup: Unable to load dynamic library 'security_notice.so'
(tried: /www/server/php/83/lib/php/extensions/no-debug-non-zts-20230831/security_notice.so
(/www/server/php/83/lib/php/extensions/no-debug-non-zts-20230831/security_notice.so: cannot open shared object file: Permission denied),
/www/server/php/83/lib/php/extensions/no-debug-non-zts-20230831/security_notice.so.so
(/www/server/php/83/lib/php/extensions/no-debug-non-zts-20230831/security_notice.so.so: cannot open shared object file: No such file or directory))
in Unknown on line 0
Details:
• Server: Ubuntu (aaPanel environment)
• PHP Version: 8.3 (installed via aaPanel)
• Affected: All PHP CLI commands (cronjobs, Shopware console, etc.)
• Cause: PHP is trying to load security_notice.so but the file is either missing or not accessible.
Question:
• Is security_notice.so supposed to be part of aaPanel/PHP by default, or is this a wrong entry in php.ini?
• How can I fix this permanently so that PHP cronjobs run without warnings?
• Should the extension simply be disabled (remove the entry from php.ini)?
• Or is there a missing package in aaPanel that needs to be installed?