views:

142

answers:

1

I am runing a php script using eclipse. when a set breakpoint and run the script it throws me this error.

form the error it is apparent that i have change something the php.ini file. but i dont know what i have to change to make either zend or xdebug. even i dont know what the differnce b/w them.

following the error

The session could not be started. In order to generate debug information, please make sure that the debugger is properly configured as a php.ini directive

A: 

It's impossible to answer this without more information about your specific setup. Xdebug has some set-up documentation here which may get you started.

The reference manual for xdebug's configuration settings (i.e. the lines you would want to put into your php.ini) can be found over here.

i dont know what i have to change to make either zend or xdebug. even i dont know what the differnce b/w them.

Xdebug is a PHP extension, the zend framework is a ...well, a framework. They are completely unrelated. You don't have to change anything in zend-framework's configuration in order to get xdebug up and running. Your problem is just a PHP(.ini) thing.

Additional Note: If your PHP installation is on Windows, this page might help you a lot. (at least it claims to show you "how to configure PHP to get Xdebug running" - I haven't tested it, I don't run Windows)

RWS
The OP probably means the zend debugger with zend. PDT supports xdebug as well as the zend debugger.
Raoul Duke