xdebug not loading. not found in phpinfo() after apache restart

后端 未结 3 489
刺人心
刺人心 2021-02-04 22:05

I\'ve been scouring every resource I could find, but came up empty. I get the dreaded \"Waiting for Connection\" message in NetBeans 6.9 when I start a debug session. After much

3条回答
  •  后悔当初
    2021-02-04 23:06

    I had a similar problem with XAMPP on Mac OSX 10.6.

    I got no version Numbers when running phpize in the xdebug download directory.

    PHP Api Version:        
    Zend Module Api No:     
    Zend Extension Api No
    

    I had to install the 'Development Package' which adds /Applications/XAMPP/xamppfiles/include and other files to your XAMPP install. Installing the Development Package also fixed pecl so I tried using pecl to install xdebug.

    pecl install xdebug
    

    but apache failed to start with error

    Failed loading /Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/xdebug.so:  dlopen(/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/xdebug.so, 9): no suitable image found.  Did find:
            /Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/xdebug.so: mach-o, but wrong architecture
    

    I tried compiling from source and got the same 'wrong architecture' errors

    Finally I just used the KomodoIDE binary from active state which worked.

提交回复
热议问题