views:

526

answers:

2

Hello

I am using a PHP shopping cart which requires me to use Zend Optimizer.

I am using Netbeans as the IDE, and it requires Xdebug, but that's incompatible with Zend.

These are the lines in my php.ini

zend_extension_ts =
"D:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
zend_extension_manager.optimizer_ts =
"D:\xampp\php\zendOptimizer\lib\Optimizer"

;zend_extension_ts="./php/ext/php_xdebug-2.0.5-5.2.dll"   **<< Xdebug**

Whenever I enable Xdebug, my shopping cart gives an error and it does not work.

Is there a way to solve this issue or use another Debugger with Netbeans?

+3  A: 

AFAIK you cannot use them side by side. You can choose not to specify the debugger in NetBeans and do the old-fashion print_r-style debugging.

KahWee Teng
This is my understanding as well. I don't really see why one would need Zend Optimizer for a shopping cart, esp. when there are many alternatives I imagine
Jani Hartikainen
I think he's using ViArt: http://www.viart.com/is_it_possible_to_install_viart_shopping_cart_without_zend_optimizer.html
KahWee Teng
I have switched my IDE. Not using Netbeans anymore , sadly :(
Ibn Saeed
A: 

I have a question following that. Is there a way to debug an application made with Zend Framework (MVC) and Netbeans? I've been trying to get my xdebug with Netbeans for any other projets and it works. Websites made with Zend Framework won't debug.

Is there a special setup required for that (in php.ini or other files) ?

you should post this as a separate question. short answer: you can.
Elzo Valugi