|
From: | peter.zhang |
Subject: | About install the xdebug. |
Date: | Mon, 12 Jul 2010 15:30:21 +0800 |
Dear,
when I restart the apache , I get the error logs as
follow:
<br />
<b>Warning</b>: Xdebug MUST be loaded as a Zend extension in <b>Unknown</b> on line <b>0</b><br /> <br /> <b>Warning</b>: Xdebug MUST be loaded as a Zend extension in <b>Unknown</b> on line <b>0</b><br /> Failed loading xdebug.so: xdebug.so: cannot open shared object file: No such file or directory Failed loading xdebug.so: xdebug.so: cannot open shared object file: No such file or directory Failed loading xdebug.so: xdebug.so: cannot open shared object file: No such file or directory Failed loading xdebug.so: xdebug.so: cannot open shared object file: No such file or directory <br /> <b>Warning</b>: Xdebug MUST be loaded as a Zend extension in <b>Unknown</b> on line <b>0</b><br /> <br /> <b>Warning</b>: Xdebug MUST be loaded as a Zend extension in <b>Unknown</b> on line <b>0</b><br /> Failed loading xdebug.so: xdebug.so: cannot open shared object file: No such file or directory Failed loading xdebug.so: xdebug.so: cannot open shared object file: No such file or directory <br /> <b>Warning</b>: Xdebug MUST be loaded as a Zend extension in <b>Unknown</b> on line <b>0</b><br /> <br /> <b>Warning</b>: Xdebug MUST be loaded as a Zend extension in <b>Unknown</b> on line <b>0</b><br /> Failed loading xdebug.so: xdebug.so: cannot open shared object file: No such file or directory Failed loading xdebug.so: xdebug.so: cannot open shared object file: No such file or directory Failed loading xdebug.so: xdebug.so: cannot open shared object file: No such file or directory Failed loading xdebug.so: xdebug.so: cannot open shared object file: No such file or directory <br /> <b>Warning</b>: Xdebug MUST be loaded as a Zend extension in <b>Unknown</b> on line <b>0</b><br /> <br /> <b>Warning</b>: Xdebug MUST be loaded as a Zend extension in <b>Unknown</b> on line <b>0</b><br /> Failed loading xdebug.so: xdebug.so: cannot open shared object file: No such file or directory Failed loading xdebug.so: xdebug.so: cannot open shared object file: No such file or directory .......
install:
tar -xzvf xdebug-2.1.0.tgz
cd xdebug-2.1.0
phpize
./configure
make
make install
update the php.ini
zend_extension="/opt/local/php/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so"
xdebug.profiler_output_dir =
"/tmp/xdebug/"
xdebug.profiler_enable = Off xdebug.profiler_enable_trigger = 1 address@hidden xdebug-2.1.0]# php -m
[PHP Modules] apc Core ctype curl date dom ereg fileinfo filter hash iconv json ldap libxml memcache mysql pcre PDO pdo_mysql pdo_sqlite Phar posix Reflection session SimpleXML sockets SPL SQLite sqlite3 standard tokenizer xdebug xml xmlreader xmlwriter [Zend Modules]
Xdebug I can load the xdebug module, but the apache log
also exist, I hope you can tell me how to deal with the issue.
Thank you.
Best Regards,
Peter Zhang
|
[Prev in Thread] | Current Thread | [Next in Thread] |