-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
imagick.so library loading bug comes back with different user #17117
Comments
ls -al /root/compile/php8.4-build/php-8.4.1/imagick-3.7.0/modules/ ls -al /opt/php-8.4/lib/php/extensions/no-debug-non-zts-20240924/ |
same for brotli.so :~/compile/php8.4-build/php-8.4.1/imagick-3.7.0# ls -al /opt/php-8.4/lib/php/extensions/no-debug-non-zts-20240924/ ~/compile/php8.4-build/php-8.4.1/php-ext-brotli# php -v ~/compile/php8.4-build/php-8.4.1/php-ext-brotli# sudo -u nginx -H php -v |
Known issue, see Imagick/imagick#690. |
Description
im running php always with unprivileged user nginx not with root , you know why, security is important :-)
php -v
PHP 8.4.1 (cli) (built: Dec 10 2024 19:15:28) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.4.1, Copyright (c) Zend Technologies
with Zend OPcache v8.4.1, Copyright (c), by Zend Technologies
root@~/compile/php8.4-build/php-8.4.1/imagick-3.7.0# sudo -u nginx -H php -v
PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/php-8.4/lib/php/extensions/no-debug-non-zts-20240924/imagick.so (/opt/php-8.4/lib/php/extensions/no-debug-non-zts-20240924/imagick.so: undefined symbol: php_strtolower), /opt/php-8.4/lib/php/extensions/no-debug-non-zts-20240924/imagick.so.so (/opt/php-8.4/lib/php/extensions/no-debug-non-zts-20240924/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'brotli.so' (tried: /opt/php-8.4/lib/php/extensions/no-debug-non-zts-20240924/brotli.so (/opt/php-8.4/lib/php/extensions/no-debug-non-zts-20240924/brotli.so: cannot open shared object file: No such file or directory), /opt/php-8.4/lib/php/extensions/no-debug-non-zts-20240924/brotli.so.so (/opt/php-8.4/lib/php/extensions/no-debug-non-zts-20240924/brotli.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 8.4.1 (cli) (built: Dec 10 2024 19:15:28) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.4.1, Copyright (c) Zend Technologies
with Zend OPcache v8.4.1, Copyright (c), by Zend Technologies
PHP Version
php master latest
Operating System
debian sid
The text was updated successfully, but these errors were encountered: