-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
php8.4 + phalcon = undefined symbol: php_strtoupper #2250
Comments
i got the same issue in php8.4
# php & phalcon package version
$ apt-cache policy php8.4
php8.4:
Installed: 8.4.3-1+ubuntu20.04.1+deb.sury.org+1
Candidate: 8.4.3-1+ubuntu20.04.1+deb.sury.org+1
Version table:
*** 8.4.3-1+ubuntu20.04.1+deb.sury.org+1 500
500 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main amd64 Packages
500 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main i386 Packages
100 /var/lib/dpkg/status
$ apt-cache policy php8.4-phalcon
php8.4-phalcon:
Installed: 5.8.0-6+ubuntu20.04.1+deb.sury.org+1
Candidate: 5.8.0-6+ubuntu20.04.1+deb.sury.org+1
Version table:
*** 5.8.0-6+ubuntu20.04.1+deb.sury.org+1 500
500 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
$ apt-cache policy php8.3
php8.3:
Installed: 8.3.16-1+ubuntu20.04.1+deb.sury.org+1
Candidate: 8.3.16-1+ubuntu20.04.1+deb.sury.org+1
Version table:
*** 8.3.16-1+ubuntu20.04.1+deb.sury.org+1 500
500 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main amd64 Packages
500 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main i386 Packages
100 /var/lib/dpkg/status
$ apt-cache policy php8.3-phalcon
php8.3-phalcon:
Installed: 5.8.0-6+ubuntu20.04.1+deb.sury.org+1
Candidate: 5.8.0-6+ubuntu20.04.1+deb.sury.org+1
Version table:
*** 5.8.0-6+ubuntu20.04.1+deb.sury.org+1 500
500 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status phpinfo $ php8.4 -i | grep phalcon
PHP Warning: PHP Startup: Unable to load dynamic library 'phalcon.so' (tried: /usr/lib/php/20240924/phalcon.so (/usr/lib/php/20240924/phalcon.so: undefined symbol: php_strtoupper), /usr/lib/php/20240924/phalcon.so.so (/usr/lib/php/20240924/phalcon.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
52:/etc/php/8.4/cli/conf.d/35-phalcon.ini
# tried to find if module was correctly present in expected path
$ ls -l /usr/lib/php/20240924/phalcon*
-rw-r--r-- 1 root root 7518472 Oct 7 17:07 /usr/lib/php/20240924/phalcon.so
$ php8.3 -i | grep phalcon
52:/etc/php/8.3/cli/conf.d/35-phalcon.ini
522:phalcon
525:Phalcon is a full stack PHP framework, delivered as a PHP extension, offering lower resource consumption and high performance.
526:phalcon => enabled
527:Author => Phalcon Team and contributors
533:phalcon.db.escape_identifiers => On => On
534:phalcon.db.force_casting => Off => Off
535:phalcon.form.strict_entity_property_check => Off => Off
536:phalcon.orm.case_insensitive_column_map => Off => Off
537:phalcon.orm.cast_last_insert_id_to_int => Off => Off
538:phalcon.orm.cast_on_hydrate => Off => Off
539:phalcon.orm.column_renaming => On => On
540:phalcon.orm.disable_assign_setters => Off => Off
541:phalcon.orm.dynamic_update => On => On
542:phalcon.orm.enable_implicit_joins => On => On
543:phalcon.orm.enable_literals => On => On
544:phalcon.orm.events => On => On
545:phalcon.orm.exception_on_failed_metadata_save => On => On
546:phalcon.orm.exception_on_failed_save => Off => Off
547:phalcon.orm.ignore_unknown_columns => Off => Off
548:phalcon.orm.late_state_binding => Off => Off
549:phalcon.orm.not_null_validations => On => On
550:phalcon.orm.resultset_prefetch_records => 0 => 0
551:phalcon.orm.update_snapshot_on_save => On => On
552:phalcon.orm.virtual_foreign_keys => On => On
553:phalcon.warning.enable => On => On
EDIT: just find out the PR "Add support for PHP8.4" #phalcon/cphalcon#16688 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Frequently asked questions
Describe the bug
tried to install phalcon package for php 8.4, then I got this when running php8.4 :
To Reproduce
sudo apt install php8.4-phalcon
php8.4 -v
Your understanding of what is happening
as phalcon works with other versions of php, maybe a typo (
php_strtoupper
) in a 8.4 specific code ?What steps did you take to resolve issue yourself before reporting it here
Expected behavior
no PHP warning, and phalcon working
Distribution (please complete the following information):
Package(s) (please complete the following information):
Additional context
nothing special.
The text was updated successfully, but these errors were encountered: