andy@AndyMacBookPro:~$ php -v
PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0
PHP 5.4.30 (cli 200920923:2099:2009
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
/片
將:extension=/usr/local/Cellar/php54-xdebug/2.2.5/xdebug.so
🜎 ellar /php54-xdebug/2.2.5/xdebug.so
andy@AndyMacBookPro:/private/etc$ php -v
andy@AndyMacBookPro:/private/etc$ php -vPHP 5. ) (built: Jul 29 2014 23:43:29)Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies, cppp. ) 2002-2014, by Derick Rethans
關於更多:http://blog.163.com/lgh_2002/blog/static/440175562017501032/033203/033/0135/0332/03135/0332/0332/0331
zend_extension載入php擴充時需用全路徑,而extension載入時可以用相對extension_dir的路徑。
以上就介紹了PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0,包括了方面的內容,希望對PHP教程有興趣的朋友有所幫助。