-
Notifications
You must be signed in to change notification settings - Fork 59
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
Some extensions are failed to load in php 7.4 #94
Comments
I have problem with wddx, mcrypt too. |
investigating, reply in a few hours after new builds. |
new build available, please test and report back. |
hell it's been 5 hours since this, this project takes a lot of time jesus |
Hi my problem is going on, i have some output like this :
|
|
seems mcrypt is broken |
I have issues on some extensions as well: PHP Warning: PHP Startup: Unable to load dynamic library 'fileinfo.so' (tried: /usr/lib/php7/modules/fileinfo.so (Error relocating /usr/lib/php7/modules/fileinfo.so: php_error_docref0: symbol not found), /usr/lib/php7/modules/fileinfo.so.so (Error loading shared library /usr/lib/php7/modules/fileinfo.so.so: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'simplexml.so' (tried: /usr/lib/php7/modules/simplexml.so (Error relocating /usr/lib/php7/modules/simplexml.so: add_next_index_zval: symbol not found), /usr/lib/php7/modules/simplexml.so.so (Error loading shared library /usr/lib/php7/modules/simplexml.so.so: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'tokenizer.so' (tried: /usr/lib/php7/modules/tokenizer.so (Error relocating /usr/lib/php7/modules/tokenizer.so: add_next_index_zval: symbol not found), /usr/lib/php7/modules/tokenizer.so.so (Error loading shared library /usr/lib/php7/modules/tokenizer.so.so: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'xmlwriter.so' (tried: /usr/lib/php7/modules/xmlwriter.so (Error relocating /usr/lib/php7/modules/xmlwriter.so: php_error_docref0: symbol not found), /usr/lib/php7/modules/xmlwriter.so.so (Error loading shared library /usr/lib/php7/modules/xmlwriter.so.so: No such file or directory)) in Unknown on line 0 |
If it helps, I'm getting the following extensions reporting as missing: With Alpine 3.11
With Alpine 3.10
Thanks 👍 |
I have same problem :(
|
Mcrypt is deprecated in PHP 7.2 now, try libsodium plus the built in hashing and password functions like: Mcrypt Alternatives: |
Alpine 3.11 PHP Warning: PHP Startup: Unable to load dynamic library 'gd' (tried: /usr/lib/php7/modules/gd (Error loading shared library /usr/lib/php7/modules/gd: No such file or directory), /usr/lib/php7/modules/gd.so (Error relocating /usr/lib/php7/modules/gd.so: _try_convert_to_string: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'iconv' (tried: /usr/lib/php7/modules/iconv (Error loading shared library /usr/lib/php7/modules/iconv: No such file or directory), /usr/lib/php7/modules/iconv.so (Error relocating /usr/lib/php7/modules/iconv.so: zval_try_get_string_func: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/lib/php7/modules/intl (Error loading shared library /usr/lib/php7/modules/intl: No such file or directory), /usr/lib/php7/modules/intl.so (Error relocating /usr/lib/php7/modules/intl.so: zval_try_get_string_func: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'json' (tried: /usr/lib/php7/modules/json (Error loading shared library /usr/lib/php7/modules/json: No such file or directory), /usr/lib/php7/modules/json.so (Error relocating /usr/lib/php7/modules/json.so: php_error_docref: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring' (tried: /usr/lib/php7/modules/mbstring (Error loading shared library /usr/lib/php7/modules/mbstring: No such file or directory), /usr/lib/php7/modules/mbstring.so (Error relocating /usr/lib/php7/modules/mbstring.so: zval_try_get_string_func: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/lib/php7/modules/openssl (Error loading shared library /usr/lib/php7/modules/openssl: No such file or directory), /usr/lib/php7/modules/openssl.so (Error relocating /usr/lib/php7/modules/openssl.so: zend_try_assign_typed_ref_stringl: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo' (tried: /usr/lib/php7/modules/pdo (Error loading shared library /usr/lib/php7/modules/pdo: No such file or directory), /usr/lib/php7/modules/pdo.so (Error relocating /usr/lib/php7/modules/pdo.so: _try_convert_to_string: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_pgsql' (tried: /usr/lib/php7/modules/pdo_pgsql (Error loading shared library /usr/lib/php7/modules/pdo_pgsql: No such file or directory), /usr/lib/php7/modules/pdo_pgsql.so (Error relocating /usr/lib/php7/modules/pdo_pgsql.so: _try_convert_to_string: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'session' (tried: /usr/lib/php7/modules/session (Error loading shared library /usr/lib/php7/modules/session: No such file or directory), /usr/lib/php7/modules/session.so (Error relocating /usr/lib/php7/modules/session.so: _try_convert_to_string: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'xml' (tried: /usr/lib/php7/modules/xml (Error loading shared library /usr/lib/php7/modules/xml: No such file or directory), /usr/lib/php7/modules/xml.so (Error relocating /usr/lib/php7/modules/xml.so: _try_convert_to_string: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'dom' (tried: /usr/lib/php7/modules/dom (Error loading shared library /usr/lib/php7/modules/dom: No such file or directory), /usr/lib/php7/modules/dom.so (Error relocating /usr/lib/php7/modules/dom.so: php_error_docref: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'mysqlnd' (tried: /usr/lib/php7/modules/mysqlnd (Error loading shared library /usr/lib/php7/modules/mysqlnd: No such file or directory), /usr/lib/php7/modules/mysqlnd.so (Error relocating /usr/lib/php7/modules/mysqlnd.so: BIO_new_mem_buf: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/lib/php7/modules/pdo_mysql (Error loading shared library /usr/lib/php7/modules/pdo_mysql: No such file or directory), /usr/lib/php7/modules/pdo_mysql.so (Error relocating /usr/lib/php7/modules/pdo_mysql.so: zval_try_get_string_func: symbol not found)) in Unknown on line 0``` |
also Alpine PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/lib/php7/modules/curl (Error loading shared library /usr/lib/php7/modules/curl: No such file or directory), /usr/lib/php7/modules/curl.so (Error relocating /usr/lib/php7/modules/curl.so: zend_try_assign_typed_ref_long: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'gd' (tried: /usr/lib/php7/modules/gd (Error loading shared library /usr/lib/php7/modules/gd: No such file or directory), /usr/lib/php7/modules/gd.so (Error relocating /usr/lib/php7/modules/gd.so: _try_convert_to_string: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'iconv' (tried: /usr/lib/php7/modules/iconv (Error loading shared library /usr/lib/php7/modules/iconv: No such file or directory), /usr/lib/php7/modules/iconv.so (Error relocating /usr/lib/php7/modules/iconv.so: zval_try_get_string_func: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/lib/php7/modules/intl (Error loading shared library /usr/lib/php7/modules/intl: No such file or directory), /usr/lib/php7/modules/intl.so (Error relocating /usr/lib/php7/modules/intl.so: zval_try_get_string_func: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'json' (tried: /usr/lib/php7/modules/json (Error loading shared library /usr/lib/php7/modules/json: No such file or directory), /usr/lib/php7/modules/json.so (Error relocating /usr/lib/php7/modules/json.so: php_error_docref: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring' (tried: /usr/lib/php7/modules/mbstring (Error loading shared library /usr/lib/php7/modules/mbstring: No such file or directory), /usr/lib/php7/modules/mbstring.so (Error relocating /usr/lib/php7/modules/mbstring.so: zval_try_get_string_func: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/lib/php7/modules/openssl (Error loading shared library /usr/lib/php7/modules/openssl: No such file or directory), /usr/lib/php7/modules/openssl.so (Error relocating /usr/lib/php7/modules/openssl.so: zend_try_assign_typed_ref_stringl: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo' (tried: /usr/lib/php7/modules/pdo (Error loading shared library /usr/lib/php7/modules/pdo: No such file or directory), /usr/lib/php7/modules/pdo.so (Error relocating /usr/lib/php7/modules/pdo.so: _try_convert_to_string: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_pgsql' (tried: /usr/lib/php7/modules/pdo_pgsql (Error loading shared library /usr/lib/php7/modules/pdo_pgsql: No such file or directory), /usr/lib/php7/modules/pdo_pgsql.so (Error relocating /usr/lib/php7/modules/pdo_pgsql.so: _try_convert_to_string: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'pgsql' (tried: /usr/lib/php7/modules/pgsql (Error loading shared library /usr/lib/php7/modules/pgsql: No such file or directory), /usr/lib/php7/modules/pgsql.so (Error relocating /usr/lib/php7/modules/pgsql.so: zval_try_get_string_func: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'session' (tried: /usr/lib/php7/modules/session (Error loading shared library /usr/lib/php7/modules/session: No such file or directory), /usr/lib/php7/modules/session.so (Error relocating /usr/lib/php7/modules/session.so: _try_convert_to_string: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'xml' (tried: /usr/lib/php7/modules/xml (Error loading shared library /usr/lib/php7/modules/xml: No such file or directory), /usr/lib/php7/modules/xml.so (Error relocating /usr/lib/php7/modules/xml.so: _try_convert_to_string: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'zip' (tried: /usr/lib/php7/modules/zip (Error loading shared library /usr/lib/php7/modules/zip: No such file or directory), /usr/lib/php7/modules/zip.so (Error relocating /usr/lib/php7/modules/zip.so: zval_try_get_string_func: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'zlib' (tried: /usr/lib/php7/modules/zlib (Error loading shared library /usr/lib/php7/modules/zlib: No such file or directory), /usr/lib/php7/modules/zlib.so (Error relocating /usr/lib/php7/modules/zlib.so: php_error_docref: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'dom' (tried: /usr/lib/php7/modules/dom (Error loading shared library /usr/lib/php7/modules/dom: No such file or directory), /usr/lib/php7/modules/dom.so (Error relocating /usr/lib/php7/modules/dom.so: php_error_docref: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'mysqlnd' (tried: /usr/lib/php7/modules/mysqlnd (Error loading shared library /usr/lib/php7/modules/mysqlnd: No such file or directory), /usr/lib/php7/modules/mysqlnd.so (Error relocating /usr/lib/php7/modules/mysqlnd.so: BIO_new_mem_buf: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/lib/php7/modules/mysqli (Error loading shared library /usr/lib/php7/modules/mysqli: No such file or directory), /usr/lib/php7/modules/mysqli.so (Error relocating /usr/lib/php7/modules/mysqli.so: zval_try_get_string_func: symbol not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/lib/php7/modules/pdo_mysql (Error loading shared library /usr/lib/php7/modules/pdo_mysql: No such file or directory), /usr/lib/php7/modules/pdo_mysql.so (Error relocating /usr/lib/php7/modules/pdo_mysql.so: zval_try_get_string_func: symbol not found)) in Unknown on line 0 |
Same problem here. Similar list as previous comment. The fun part of it being that the files it is looking for are actually there inside /usr/lib/php7/modules/. It has nothing to do with read permissions, it has, in my case, probably something to do with php7.3 being installed instead of php7.4. The php7-cli is installed from the alpine repository. You can see what is happening by running an empty alpine docker container with only the required lines to add the repository. first you install php7. then you have no cli, that is, "php" does not exist, but "php7" does. when installing php7-cli, the php7 binary is being downgraded. A workaround involving manually symlinking to the php7 library is not going to cut it for everyone, since a few packages are installing the 7.3 version. in my case fileinfo, simplexml, tokenizer, xmlwriter, imagick. I hope this helps solving this issue. |
I'm a bit further in this. The following extensions are missing: php-simplexml, php-tokenizer, php-xmlwriter and php-fileinfo. I believe those are core extensions. If you do not need those, you can safely use the workaround where you symlink the php7 instance. "ln -sf /usr/bin/php7 /usr/bin/php" |
all fixed long ago guys |
Hi .. i'm still having issues with PHP 7.4 , tested with Alpine 3.11 & 3.12 and php-json extension Installing the extension:
JSON extension is listed and checked with
But after that when i'm running
thanks |
@gonzaloplaza can you please share the full Dockerfile, either here or by email: [email protected] |
@henzeb just fixed. I've commented/removed this old line found inside our Dockerfile. Looks like it was causing the problem.
Thank you |
Hi, I'm still having issues with PHP 7.4 when using Alpine 3.12. Below is the error that shows up:
And this is the Docker file that I use:
If those libraries are deprecated. Do you know what I can use to replace it? |
php7-zlib is failed to load in php 7.3
|
@limingxinleo not sure if you resolved this yet but i had the same issue. fix for me was to force the version of
|
Thanks, it works. Could you tell me why it was installing php7-common-7.3.22-r0 ? |
These extensions are failed to loaded when using php 7.4 with Alphin 3.10.
For example, the php7-amqp we're using is 1.9.4 which supports php 7.3 only.
Can we somehow use the newer versions?
Thank you.
The text was updated successfully, but these errors were encountered: