If you try to download a current build of the ZendDebugger from Zend.com you probably get the following error:
This happens because there is no Build for PHP 5.3.2 or 5.3.1 available.Zend Debugger requires Zend Engine API version 220060519.The Zend Engine API version 220090626 which is installed, is newer.Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Debugger.
But if you take a look at the Zend Server release notes you will see, that Zend Server is shipped with PHP 5.3.2 and an enabled debugging runtime environment.
So if you use debian or ubuntu you can simply add the Zend-Server deb repository to your apt/sources.lit
- copy the following line into /etc/apt/sources.list
deb http://repos.zend.com/zend-server/deb server non-free
- update your local package list:
$: sudo aptitude update
- install the debugger
$: sudo aptitude install php-5.3-debugger-zend-server
- The ZendDebugger is now located under /usr/local/zend/lib/debugger/php-5.3.x/ZendDebugger.so
- Now create a new ini file under /etc/php5/conf.d/ and add the following lines:
zend_extension=/usr/lib/php5/20060613/ZendDebugger.so zend_debugger.allow_hosts=127.0.0.1 zend_debugger.expose_remotely=always
- call the following command in your console to see if everything works:
$: php -i | grep "Zend Debug"
Output: "with Zend Debugger v5.3, Copyright (c) 1999-2010, by Zend Technologies"
I'd like to appriciate for this information which is pretty useful for us. Thanks and keep it up!
AntwortenLöschenExpert Wordpress Developer | Malaysia Website Design Company
Codelobster IDE works much better on Linux/Ubuntu.
AntwortenLöschen