0

i already compiled Phalcon framework (version 2.1) for php 5.6 and if i allow the framework in php.ini i got this message.

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/phalcon.so' - /usr/lib/php/20131226/phalcon.so: undefined symbol: zend_hash_str_del in Unknown on line 0

compilation works well and without errors

My server setup Ubuntu ISPConfig 3 PHP 7.0, PHP 5.6.30

8
  • make sure your extension=phalcon.so is loaded after your other extensions Commented Aug 10, 2017 at 13:57
  • Which PHP is used by application? Has that PHP included phalconphp? Commented Aug 10, 2017 at 16:15
  • Did you compile Phalcon for PHP 5.6 and use with PHP 7.0? Commented Aug 10, 2017 at 21:22
  • @Timothy: Yes in ubuntu i have in conf.d folder where php get extensions and it is loaded as last Commented Aug 14, 2017 at 13:44
  • @klay No i compiled extension with php 5.6 and using it with 5.6 Commented Aug 14, 2017 at 13:45

1 Answer 1

0

Finally fixed. I download clean project from git and manually edit configure script in build folder to link to php5.6, phpize5.6 and add --with-php-config=/usr/bin/php-config5.6 executables and run classic install from source

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.