-
-
Notifications
You must be signed in to change notification settings - Fork 402
Closed
Labels
Description
Describe the bug
Run shivammathur/setup-php@v2
/usr/bin/bash /home/runner/actions-runner/_work/_actions/shivammathur/setup-php/v2/src/scripts/run.sh
==> Setup PHP
✓ PHP Installed PHP 8.4.6
==> Setup Extensions
PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring.so' (tried: /usr/lib/php/20240924/mbstring.so (/usr/lib/php/20240924/mbstring.so: undefined symbol: zend_get_property_info_for_slot_slow), /usr/lib/php/20240924/mbstring.so.so (/usr/lib/php/20240924/mbstring.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
✓ grpc Installed and enabled
PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring.so' (tried: /usr/lib/php/20240924/mbstring.so (/usr/lib/php/20240924/mbstring.so: undefined symbol: zend_get_property_info_for_slot_slow), /usr/lib/php/20240924/mbstring.so.so (/usr/lib/php/20240924/mbstring.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 'mbstring.so' (tried: /usr/lib/php/20240924/mbstring.so (/usr/lib/php/20240924/mbstring.so: undefined symbol: zend_get_property_info_for_slot_slow), /usr/lib/php/20240924/mbstring.so.so (/usr/lib/php/20240924/mbstring.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 'mbstring.so' (tried: /usr/lib/php/20240924/mbstring.so (/usr/lib/php/20240924/mbstring.so: undefined symbol: zend_get_property_info_for_slot_slow), /usr/lib/php/20240924/mbstring.so.so (/usr/lib/php/20240924/mbstring.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
✓ protobuf Installed and enabled
✓ sodium Enabled
PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring.so' (tried: /usr/lib/php/20240924/mbstring.so (/usr/lib/php/20240924/mbstring.so: undefined symbol: zend_get_property_info_for_slot_slow), /usr/lib/php/20240924/mbstring.so.so (/usr/lib/php/20240924/mbstring.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
✓ :psr Could not find psr on PHP 8.4.6
==> Setup Tools
PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring.so' (tried: /usr/lib/php/20240924/mbstring.so (/usr/lib/php/20240924/mbstring.so: undefined symbol: zend_get_property_info_for_slot_slow), /usr/lib/php/20240924/mbstring.so.so (/usr/lib/php/20240924/mbstring.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
✓ composer Added composer 2.8.6
==> Setup Coverage
✓ none Disabled Xdebug and PCOV
Then when running composer, we see the wrong version of PHP used:
PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring.so' (tried: /usr/lib/php/20240924/mbstring.so (/usr/lib/php/20240924/mbstring.so: undefined symbol: zend_get_property_info_for_slot_slow), /usr/lib/php/20240924/mbstring.so.so (/usr/lib/php/20240924/mbstring.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- Root composer.json requires php ~8.4.5 but your php version (8.4.4) does not satisfy that requirement.
Expecting 8.4.6, but 8.4.4 was used.
Version
- v2
- v1
Runners
Self Hosted
Operating systems
Ubuntu 22.04
PHP versions
8.4
To Reproduce
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
extensions: grpc, protobuf, sodium, :php-psr
tools: composer:v2
coverage: none
env:
update: true
Expected behavior
For the mbstring extension to be loaded, and PHP 8.4.6 linked.
Screenshots/Logs
No response
Additional context
No response
Are you willing to submit a PR?
Yes