3

I am trying to use xdebug in phpstorm. I have successfully installed xdebug and set the path in php.ini. However, I am still getting message that "failed loading usr/lib/php/20151012/xdebug.so:undefined sybol:zend_sort".

My php executable is "php-cgi-5.6.20"

My php.ini: zend_extension = "/usr/lib/php/20151012/xdebug.so"

1
  • 1
    Need more info. But so far it's possible that 1) you are mixing nts (non thread safe) version of xdebug with ts (thread safe) version of PHP (or other way around); 2) you are using xdebug that is not meant to work with this PHP version (e.g. using xdebug compiled for PHP 7.0 with actual PHP 5.6) Commented Jan 6, 2017 at 1:01

1 Answer 1

1

With the same zend_extension path try to use php executable '7.0', and not '5.6'. It worked for me.

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.