xdebug/PDT-RC3/xampp Apache dies- help? [message #36689] |
Wed, 18 July 2007 13:25 |
Eclipse User |
|
|
|
Originally posted by: malibuss66.hotmail.com
I've tried Zend Debugger and it gave me problems as well.
I'd really like to get XDebug working but I'm having trouble. Apache
ends up crashing whenever I start a trace. Here are my levels of
everything at the moment:
win xp sp2
Java 5 Update 11
xampp 1.6.2 (note: root dir is C:\xampp-rc3)
(contains PHP 5.2.2)
Eclipse PDT (all-in-one) RC3 (<---Is this right? Doc says PHP IDE)
xdebug-2.0.0rc4
xdebug plugin (Dave Kelsey's) 0.2.2
Relevent settings in php.ini (xampp has optimizer by default):
-----------------------------------
implicit_flush = On
[Zend]
zend_extension_ts =
"\xampp-r3\php\zendOptimizer\lib\ZendExtensionManager.dll"
zend_extension_manager.optimizer_ts =
"\xampp-r3\php\zendOptimizer\lib\Optimizer"
zend_optimizer.enable_loader = 0
zend_optimizer.optimization_level=15
[xdebug]
xdebug.remote_enable=1
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
zend_extension_ts="C:\xampp-rc3\php\ext\php_xdebug-2.0.0rc4-5.2.1.dll "
-------------------------------------
Any help that could be given would be greatly appreciated!! I wasn't
sure about the php.ini.. If there could be two zend_extension_ts lines..
So I tried commenting out the Zend section as well with the same result.
|
|
|
Re: xdebug/PDT-RC3/xampp Apache dies- help? [message #36724 is a reply to message #36689] |
Wed, 18 July 2007 13:29 |
Eclipse User |
|
|
|
Originally posted by: malibuss66.hotmail.com
Sorry, typo on the Zend optimizer paths.. They should be /xampp-rc3/..
ie. they are correct paths.
malibu wrote:
> I've tried Zend Debugger and it gave me problems as well.
>
> I'd really like to get XDebug working but I'm having trouble. Apache
> ends up crashing whenever I start a trace. Here are my levels of
> everything at the moment:
>
> win xp sp2
> Java 5 Update 11
> xampp 1.6.2 (note: root dir is C:\xampp-rc3)
> (contains PHP 5.2.2)
> Eclipse PDT (all-in-one) RC3 (<---Is this right? Doc says PHP IDE)
> xdebug-2.0.0rc4
> xdebug plugin (Dave Kelsey's) 0.2.2
>
> Relevent settings in php.ini (xampp has optimizer by default):
> -----------------------------------
> implicit_flush = On
>
> [Zend]
> zend_extension_ts =
> "\xampp-r3\php\zendOptimizer\lib\ZendExtensionManager.dll"
> zend_extension_manager.optimizer_ts =
> "\xampp-r3\php\zendOptimizer\lib\Optimizer"
> zend_optimizer.enable_loader = 0
> zend_optimizer.optimization_level=15
>
> [xdebug]
> xdebug.remote_enable=1
> xdebug.remote_host=localhost
> xdebug.remote_port=9000
> xdebug.remote_handler="dbgp"
> zend_extension_ts="C:\xampp-rc3\php\ext\php_xdebug-2.0.0rc4-5.2.1.dll "
> -------------------------------------
>
>
> Any help that could be given would be greatly appreciated!! I wasn't
> sure about the php.ini.. If there could be two zend_extension_ts lines..
> So I tried commenting out the Zend section as well with the same result.
|
|
|
|
|
Re: xdebug/PDT-RC3/xampp Apache dies- help? [message #36860 is a reply to message #36792] |
Wed, 18 July 2007 15:53 |
Eclipse User |
|
|
|
Originally posted by: malibuss66.hotmail.com
Cool, thanks.. I suspected that may be the case, and I tried the
following config. It doesn't work either. Is there something wrong
with this one? Thanks.
[Zend]
;zend_extension_ts =
"\xampp-r3\php\zendOptimizer\lib\ZendExtensionManager.dll"
;zend_extension_manager.optimizer_ts =
"\xampp-r3\php\zendOptimizer\lib\Optimizer"
;zend_optimizer.enable_loader = 0
;zend_optimizer.optimization_level=15
[xdebug]
xdebug.remote_enable=1
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
zend_extension_ts="C:\xampp-rc3\php\ext\php_xdebug-2.0.0rc4-5.2.1.dll "
Dave Kelsey wrote:
> Actually I should have said the Zend Optimizer rather than the Zend
> Extension
> Manager, but it may be that also having the Zend Extension Manager may
> cause
> problems with XDebug also
>
> Dave Kelsey
>
> Dave Kelsey wrote:
>> XDebug won't work with the Zend Extension Manager. If you want to know
>> more about this, you may want to go to http://www.xdebug.org and look
>> at the mailing list archives
>>
>> Dericks (the author of XDebug) specific entry can be found at
>> http://xdebug.org/archives/xdebug-general/0978.html
>>
>> Dave Kelsey
>>
>> malibu wrote:
>>> I've tried Zend Debugger and it gave me problems as well.
>>>
>>> I'd really like to get XDebug working but I'm having trouble. Apache
>>> ends up crashing whenever I start a trace. Here are my levels of
>>> everything at the moment:
>>>
>>> win xp sp2
>>> Java 5 Update 11
>>> xampp 1.6.2 (note: root dir is C:\xampp-rc3)
>>> (contains PHP 5.2.2)
>>> Eclipse PDT (all-in-one) RC3 (<---Is this right? Doc says PHP IDE)
>>> xdebug-2.0.0rc4
>>> xdebug plugin (Dave Kelsey's) 0.2.2
>>>
>>> Relevent settings in php.ini (xampp has optimizer by default):
>>> -----------------------------------
>>> implicit_flush = On
>>>
>>> [Zend]
>>> zend_extension_ts =
>>> "\xampp-r3\php\zendOptimizer\lib\ZendExtensionManager.dll"
>>> zend_extension_manager.optimizer_ts =
>>> "\xampp-r3\php\zendOptimizer\lib\Optimizer"
>>> zend_optimizer.enable_loader = 0
>>> zend_optimizer.optimization_level=15
>>>
>>> [xdebug]
>>> xdebug.remote_enable=1
>>> xdebug.remote_host=localhost
>>> xdebug.remote_port=9000
>>> xdebug.remote_handler="dbgp"
>>> zend_extension_ts="C:\xampp-rc3\php\ext\php_xdebug-2.0.0rc4-5.2.1.dll "
>>> -------------------------------------
>>>
>>>
>>> Any help that could be given would be greatly appreciated!! I wasn't
>>> sure about the php.ini.. If there could be two zend_extension_ts
>>> lines.. So I tried commenting out the Zend section as well with the
>>> same result.
|
|
|
|
Re: xdebug/PDT-RC3/xampp Apache dies- help? [message #37028 is a reply to message #36995] |
Wed, 18 July 2007 19:11 |
Eclipse User |
|
|
|
Originally posted by: malibuss66.hotmail.com
phpinfo (and my site) runs fine on it's own... But if you're asking if I
can run phpinfo with the debugging active, that is a very good question.
I'll try it tonight. I'll also try the xdebug forum. Thank you very
much for your help.
Dave Kelsey wrote:
> Not that I can see. Can you run phpinfo and get the output or does
> apache crash even when trying to run to make sure that everything
> is disabled and xdebug is present.
>
> You may want to look on http://www.xdebug.org mailing list archives
> to see if anyone else has had problems with xdebug in this type of
> configuration.
>
> Cheers
> Dave Kelsey
>
> malibu wrote:
>> Cool, thanks.. I suspected that may be the case, and I tried the
>> following config. It doesn't work either. Is there something wrong
>> with this one? Thanks.
>>
>> [Zend]
>> ;zend_extension_ts =
>> "\xampp-r3\php\zendOptimizer\lib\ZendExtensionManager.dll"
>> ;zend_extension_manager.optimizer_ts =
>> "\xampp-r3\php\zendOptimizer\lib\Optimizer"
>> ;zend_optimizer.enable_loader = 0
>> ;zend_optimizer.optimization_level=15
>>
>> [xdebug]
>> xdebug.remote_enable=1
>> xdebug.remote_host=localhost
>> xdebug.remote_port=9000
>> xdebug.remote_handler="dbgp"
>> zend_extension_ts="C:\xampp-rc3\php\ext\php_xdebug-2.0.0rc4-5.2.1.dll "
>>
>> Dave Kelsey wrote:
>>> Actually I should have said the Zend Optimizer rather than the Zend
>>> Extension
>>> Manager, but it may be that also having the Zend Extension Manager
>>> may cause
>>> problems with XDebug also
>>>
>>> Dave Kelsey
>>>
>>> Dave Kelsey wrote:
>>>> XDebug won't work with the Zend Extension Manager. If you want to know
>>>> more about this, you may want to go to http://www.xdebug.org and look
>>>> at the mailing list archives
>>>>
>>>> Dericks (the author of XDebug) specific entry can be found at
>>>> http://xdebug.org/archives/xdebug-general/0978.html
>>>>
>>>> Dave Kelsey
>>>>
>>>> malibu wrote:
>>>>> I've tried Zend Debugger and it gave me problems as well.
>>>>>
>>>>> I'd really like to get XDebug working but I'm having trouble.
>>>>> Apache ends up crashing whenever I start a trace. Here are my
>>>>> levels of everything at the moment:
>>>>>
>>>>> win xp sp2
>>>>> Java 5 Update 11
>>>>> xampp 1.6.2 (note: root dir is C:\xampp-rc3)
>>>>> (contains PHP 5.2.2)
>>>>> Eclipse PDT (all-in-one) RC3 (<---Is this right? Doc says PHP IDE)
>>>>> xdebug-2.0.0rc4
>>>>> xdebug plugin (Dave Kelsey's) 0.2.2
>>>>>
>>>>> Relevent settings in php.ini (xampp has optimizer by default):
>>>>> -----------------------------------
>>>>> implicit_flush = On
>>>>>
>>>>> [Zend]
>>>>> zend_extension_ts =
>>>>> "\xampp-r3\php\zendOptimizer\lib\ZendExtensionManager.dll"
>>>>> zend_extension_manager.optimizer_ts =
>>>>> "\xampp-r3\php\zendOptimizer\lib\Optimizer"
>>>>> zend_optimizer.enable_loader = 0
>>>>> zend_optimizer.optimization_level=15
>>>>>
>>>>> [xdebug]
>>>>> xdebug.remote_enable=1
>>>>> xdebug.remote_host=localhost
>>>>> xdebug.remote_port=9000
>>>>> xdebug.remote_handler="dbgp"
>>>>> zend_extension_ts="C:\xampp-rc3\php\ext\php_xdebug-2.0.0rc4-5.2.1.dll "
>>>>> -------------------------------------
>>>>>
>>>>>
>>>>> Any help that could be given would be greatly appreciated!! I
>>>>> wasn't sure about the php.ini.. If there could be two
>>>>> zend_extension_ts lines.. So I tried commenting out the Zend
>>>>> section as well with the same result.
|
|
|
Re: xdebug/PDT-RC3/xampp Apache dies- help? SOLVED [message #37130 is a reply to message #37028] |
Wed, 18 July 2007 22:15 |
Eclipse User |
|
|
|
Originally posted by: malibuss66.hotmail.com
You tipped me in the right direction, and I think I've solved it. I did
the phpinfo.php as you recommended and it worked fine. I did alittle
searching on the Symfony site and happened across a post about xdebug,
specifically. It seems when you access a Symfony site through the
development front end, Symfony itself extracts info from xdebug (if it
detects that xdebug is installed) to show in the internal debug panel.
It would seem that this conflicts with the plugin. I pointed the plugin
to my normal index.php instead of my frontend_dev.php and after a bit of
tiptoing around my login page I was able to catch a breakpoint.. First
inside my immediate index.php and then further into the site.
It is a bit unfortunate, because accessing the site through this method
will enable caching on every hit and can be a bit inconvenient for
debugging/developing; but at least it works! Thanks for your assistance.
malibu wrote:
> phpinfo (and my site) runs fine on it's own... But if you're asking if I
> can run phpinfo with the debugging active, that is a very good question.
> I'll try it tonight. I'll also try the xdebug forum. Thank you very
> much for your help.
>
> Dave Kelsey wrote:
>> Not that I can see. Can you run phpinfo and get the output or does
>> apache crash even when trying to run to make sure that everything
>> is disabled and xdebug is present.
>>
>> You may want to look on http://www.xdebug.org mailing list archives
>> to see if anyone else has had problems with xdebug in this type of
>> configuration.
>>
>> Cheers
>> Dave Kelsey
>>
>> malibu wrote:
>>> Cool, thanks.. I suspected that may be the case, and I tried the
>>> following config. It doesn't work either. Is there something wrong
>>> with this one? Thanks.
>>>
>>> [Zend]
>>> ;zend_extension_ts =
>>> "\xampp-r3\php\zendOptimizer\lib\ZendExtensionManager.dll"
>>> ;zend_extension_manager.optimizer_ts =
>>> "\xampp-r3\php\zendOptimizer\lib\Optimizer"
>>> ;zend_optimizer.enable_loader = 0
>>> ;zend_optimizer.optimization_level=15
>>>
>>> [xdebug]
>>> xdebug.remote_enable=1
>>> xdebug.remote_host=localhost
>>> xdebug.remote_port=9000
>>> xdebug.remote_handler="dbgp"
>>> zend_extension_ts="C:\xampp-rc3\php\ext\php_xdebug-2.0.0rc4-5.2.1.dll "
>>>
>>> Dave Kelsey wrote:
>>>> Actually I should have said the Zend Optimizer rather than the Zend
>>>> Extension
>>>> Manager, but it may be that also having the Zend Extension Manager
>>>> may cause
>>>> problems with XDebug also
>>>>
>>>> Dave Kelsey
>>>>
>>>> Dave Kelsey wrote:
>>>>> XDebug won't work with the Zend Extension Manager. If you want to know
>>>>> more about this, you may want to go to http://www.xdebug.org and look
>>>>> at the mailing list archives
>>>>>
>>>>> Dericks (the author of XDebug) specific entry can be found at
>>>>> http://xdebug.org/archives/xdebug-general/0978.html
>>>>>
>>>>> Dave Kelsey
>>>>>
>>>>> malibu wrote:
>>>>>> I've tried Zend Debugger and it gave me problems as well.
>>>>>>
>>>>>> I'd really like to get XDebug working but I'm having trouble.
>>>>>> Apache ends up crashing whenever I start a trace. Here are my
>>>>>> levels of everything at the moment:
>>>>>>
>>>>>> win xp sp2
>>>>>> Java 5 Update 11
>>>>>> xampp 1.6.2 (note: root dir is C:\xampp-rc3)
>>>>>> (contains PHP 5.2.2)
>>>>>> Eclipse PDT (all-in-one) RC3 (<---Is this right? Doc says PHP IDE)
>>>>>> xdebug-2.0.0rc4
>>>>>> xdebug plugin (Dave Kelsey's) 0.2.2
>>>>>>
>>>>>> Relevent settings in php.ini (xampp has optimizer by default):
>>>>>> -----------------------------------
>>>>>> implicit_flush = On
>>>>>>
>>>>>> [Zend]
>>>>>> zend_extension_ts =
>>>>>> "\xampp-r3\php\zendOptimizer\lib\ZendExtensionManager.dll"
>>>>>> zend_extension_manager.optimizer_ts =
>>>>>> "\xampp-r3\php\zendOptimizer\lib\Optimizer"
>>>>>> zend_optimizer.enable_loader = 0
>>>>>> zend_optimizer.optimization_level=15
>>>>>>
>>>>>> [xdebug]
>>>>>> xdebug.remote_enable=1
>>>>>> xdebug.remote_host=localhost
>>>>>> xdebug.remote_port=9000
>>>>>> xdebug.remote_handler="dbgp"
>>>>>> zend_extension_ts="C:\xampp-rc3\php\ext\php_xdebug-2.0.0rc4-5.2.1.dll "
>>>>>>
>>>>>> -------------------------------------
>>>>>>
>>>>>>
>>>>>> Any help that could be given would be greatly appreciated!! I
>>>>>> wasn't sure about the php.ini.. If there could be two
>>>>>> zend_extension_ts lines.. So I tried commenting out the Zend
>>>>>> section as well with the same result.
|
|
|
Powered by
FUDForum. Page generated in 0.15899 seconds