Welcome! Log In Create A New Profile

Advanced

php-fpm failed to start

Posted by iberkner 
php-fpm failed to start
July 08, 2009 10:01AM
I'm making some adjustments to my php.ini file which is causing php-fpm not
to load. This is not a php-fpm specific issue as there's an issue with the
ini. Where can I find out what the problem is? I looked in the php-fpm log
nothing there, is there anywhere else?

Thanks
Re: php-fpm failed to start
July 08, 2009 12:09PM
first thing would be to back out the adjustments

second thing would be to share them to see if we can reproduce :)



On Wed, Jul 8, 2009 at 7:01 AM, Ilan Berkner<iberkner@gmail.com> wrote:
> I'm making some adjustments to my php.ini file which is causing php-fpm not
> to load.  This is not a php-fpm specific issue as there's an issue with the
> ini.  Where can I find out what the problem is?  I looked in the php-fpm log
> nothing there, is there anywhere else?
>
> Thanks
>
Re: php-fpm failed to start
July 08, 2009 12:21PM
Actually, its just one adjustment :-)

I downloaded and compiled the latest version of xdebug and added this line
into the php.ini (without this, it works fine):

zend_extension="/usr/local/xdebug-2.0.5/modules/xdebug.so"

thanks


On Wed, Jul 8, 2009 at 12:09 PM, Michael Shadle wrote:

>
> first thing would be to back out the adjustments
>
> second thing would be to share them to see if we can reproduce :)
>
>
>
> On Wed, Jul 8, 2009 at 7:01 AM, Ilan Berkner wrote:
> > I'm making some adjustments to my php.ini file which is causing php-fpm
> not
> > to load. This is not a php-fpm specific issue as there's an issue with
> the
> > ini. Where can I find out what the problem is? I looked in the php-fpm
> log
> > nothing there, is there anywhere else?
> >
> > Thanks
> >
>
Re: php-fpm failed to start
July 08, 2009 12:34PM
ah yeah i have xdebug and inclued working just fine (at least in php 5.2.x)

i did not try all the modules out in 5.3.0. the current thing i am
working on is drupal and it doesn't like php 5.3.0 yet so i had to
downgrade to 5.2.10.

On Wed, Jul 8, 2009 at 9:21 AM, Ilan Berkner<iberkner@gmail.com> wrote:
> Actually, its just one adjustment :-)
>
> I downloaded and compiled the latest version of xdebug and added this line
> into the php.ini (without this, it works fine):
>
> zend_extension="/usr/local/xdebug-2.0.5/modules/xdebug.so"
>
> thanks
>
>
> On Wed, Jul 8, 2009 at 12:09 PM, Michael Shadle <mike503@gmail.com> wrote:
>>
>> first thing would be to back out the adjustments
>>
>> second thing would be to share them to see if we can reproduce :)
>>
>>
>>
>> On Wed, Jul 8, 2009 at 7:01 AM, Ilan Berkner<iberkner@gmail.com> wrote:
>> > I'm making some adjustments to my php.ini file which is causing php-fpm
>> > not
>> > to load.  This is not a php-fpm specific issue as there's an issue with
>> > the
>> > ini.  Where can I find out what the problem is?  I looked in the php-fpm
>> > log
>> > nothing there, is there anywhere else?
>> >
>> > Thanks
>> >
>
>
Re: php-fpm failed to start
July 08, 2009 01:15PM
Any suggestions as to what may be the culprit?

Thanks

On Wed, Jul 8, 2009 at 12:34 PM, Michael Shadle wrote:

>
> ah yeah i have xdebug and inclued working just fine (at least in php 5.2.x)
>
> i did not try all the modules out in 5.3.0. the current thing i am
> working on is drupal and it doesn't like php 5.3.0 yet so i had to
> downgrade to 5.2.10.
>
> On Wed, Jul 8, 2009 at 9:21 AM, Ilan Berkner wrote:
> > Actually, its just one adjustment :-)
> >
> > I downloaded and compiled the latest version of xdebug and added this
> line
> > into the php.ini (without this, it works fine):
> >
> > zend_extension="/usr/local/xdebug-2.0.5/modules/xdebug.so"
> >
> > thanks
> >
> >
> > On Wed, Jul 8, 2009 at 12:09 PM, Michael Shadle
> wrote:
> >>
> >> first thing would be to back out the adjustments
> >>
> >> second thing would be to share them to see if we can reproduce :)
> >>
> >>
> >>
> >> On Wed, Jul 8, 2009 at 7:01 AM, Ilan Berkner wrote:
> >> > I'm making some adjustments to my php.ini file which is causing
> php-fpm
> >> > not
> >> > to load. This is not a php-fpm specific issue as there's an issue
> with
> >> > the
> >> > ini. Where can I find out what the problem is? I looked in the
> php-fpm
> >> > log
> >> > nothing there, is there anywhere else?
> >> >
> >> > Thanks
> >> >
> >
> >
>
Re: php-fpm failed to start
July 08, 2009 01:17PM
try just extension, not zend_extension



On Wed, Jul 8, 2009 at 10:15 AM, Ilan Berkner<iberkner@gmail.com> wrote:
> Any suggestions as to what may be the culprit?
>
> Thanks
>
> On Wed, Jul 8, 2009 at 12:34 PM, Michael Shadle <mike503@gmail.com> wrote:
>>
>> ah yeah i have xdebug and inclued working just fine (at least in php
>> 5.2.x)
>>
>> i did not try all the modules out in 5.3.0. the current thing i am
>> working on is drupal and it doesn't like php 5.3.0 yet so i had to
>> downgrade to 5.2.10.
>>
>> On Wed, Jul 8, 2009 at 9:21 AM, Ilan Berkner<iberkner@gmail.com> wrote:
>> > Actually, its just one adjustment :-)
>> >
>> > I downloaded and compiled the latest version of xdebug and added this
>> > line
>> > into the php.ini (without this, it works fine):
>> >
>> > zend_extension="/usr/local/xdebug-2.0.5/modules/xdebug.so"
>> >
>> > thanks
>> >
>> >
>> > On Wed, Jul 8, 2009 at 12:09 PM, Michael Shadle <mike503@gmail.com>
>> > wrote:
>> >>
>> >> first thing would be to back out the adjustments
>> >>
>> >> second thing would be to share them to see if we can reproduce :)
>> >>
>> >>
>> >>
>> >> On Wed, Jul 8, 2009 at 7:01 AM, Ilan Berkner<iberkner@gmail.com> wrote:
>> >> > I'm making some adjustments to my php.ini file which is causing
>> >> > php-fpm
>> >> > not
>> >> > to load.  This is not a php-fpm specific issue as there's an issue
>> >> > with
>> >> > the
>> >> > ini.  Where can I find out what the problem is?  I looked in the
>> >> > php-fpm
>> >> > log
>> >> > nothing there, is there anywhere else?
>> >> >
>> >> > Thanks
>> >> >
>> >
>> >
>
>
Re: php-fpm failed to start
July 08, 2009 01:17PM
also is this 5.3 or 5.2?

in 5.3 you can put in the full path to extensions but in 5.2 i think
it tries loading them from the extension path only

On Wed, Jul 8, 2009 at 10:15 AM, Ilan Berkner<iberkner@gmail.com> wrote:
> Any suggestions as to what may be the culprit?
>
> Thanks
>
> On Wed, Jul 8, 2009 at 12:34 PM, Michael Shadle <mike503@gmail.com> wrote:
>>
>> ah yeah i have xdebug and inclued working just fine (at least in php
>> 5.2.x)
>>
>> i did not try all the modules out in 5.3.0. the current thing i am
>> working on is drupal and it doesn't like php 5.3.0 yet so i had to
>> downgrade to 5.2.10.
>>
>> On Wed, Jul 8, 2009 at 9:21 AM, Ilan Berkner<iberkner@gmail.com> wrote:
>> > Actually, its just one adjustment :-)
>> >
>> > I downloaded and compiled the latest version of xdebug and added this
>> > line
>> > into the php.ini (without this, it works fine):
>> >
>> > zend_extension="/usr/local/xdebug-2.0.5/modules/xdebug.so"
>> >
>> > thanks
>> >
>> >
>> > On Wed, Jul 8, 2009 at 12:09 PM, Michael Shadle <mike503@gmail.com>
>> > wrote:
>> >>
>> >> first thing would be to back out the adjustments
>> >>
>> >> second thing would be to share them to see if we can reproduce :)
>> >>
>> >>
>> >>
>> >> On Wed, Jul 8, 2009 at 7:01 AM, Ilan Berkner<iberkner@gmail.com> wrote:
>> >> > I'm making some adjustments to my php.ini file which is causing
>> >> > php-fpm
>> >> > not
>> >> > to load.  This is not a php-fpm specific issue as there's an issue
>> >> > with
>> >> > the
>> >> > ini.  Where can I find out what the problem is?  I looked in the
>> >> > php-fpm
>> >> > log
>> >> > nothing there, is there anywhere else?
>> >> >
>> >> > Thanks
>> >> >
>> >
>> >
>
>
Re: php-fpm failed to start
July 08, 2009 02:00PM
5.2.10

but that doesn't seem to be the issue.

>From what I can tell, xdebug is not compatible with zend optimizer, although
I disabled the zend optimizer and its still not loading as a zend extension.

When I specified it just as an extension, it seemed to load ok, although I'm
not sure if that's going to work, i.e. if I have zend optimizer installed
can I use xdebug as a non-zend extension?

On Wed, Jul 8, 2009 at 1:17 PM, Michael Shadle wrote:

>
> also is this 5.3 or 5.2?
>
> in 5.3 you can put in the full path to extensions but in 5.2 i think
> it tries loading them from the extension path only
>
> On Wed, Jul 8, 2009 at 10:15 AM, Ilan Berkner wrote:
> > Any suggestions as to what may be the culprit?
> >
> > Thanks
> >
> > On Wed, Jul 8, 2009 at 12:34 PM, Michael Shadle
> wrote:
> >>
> >> ah yeah i have xdebug and inclued working just fine (at least in php
> >> 5.2.x)
> >>
> >> i did not try all the modules out in 5.3.0. the current thing i am
> >> working on is drupal and it doesn't like php 5.3.0 yet so i had to
> >> downgrade to 5.2.10.
> >>
> >> On Wed, Jul 8, 2009 at 9:21 AM, Ilan Berkner wrote:
> >> > Actually, its just one adjustment :-)
> >> >
> >> > I downloaded and compiled the latest version of xdebug and added this
> >> > line
> >> > into the php.ini (without this, it works fine):
> >> >
> >> > zend_extension="/usr/local/xdebug-2.0.5/modules/xdebug.so"
> >> >
> >> > thanks
> >> >
> >> >
> >> > On Wed, Jul 8, 2009 at 12:09 PM, Michael Shadle
> >> > wrote:
> >> >>
> >> >> first thing would be to back out the adjustments
> >> >>
> >> >> second thing would be to share them to see if we can reproduce :)
> >> >>
> >> >>
> >> >>
> >> >> On Wed, Jul 8, 2009 at 7:01 AM, Ilan Berkner
> wrote:
> >> >> > I'm making some adjustments to my php.ini file which is causing
> >> >> > php-fpm
> >> >> > not
> >> >> > to load. This is not a php-fpm specific issue as there's an issue
> >> >> > with
> >> >> > the
> >> >> > ini. Where can I find out what the problem is? I looked in the
> >> >> > php-fpm
> >> >> > log
> >> >> > nothing there, is there anywhere else?
> >> >> >
> >> >> > Thanks
> >> >> >
> >> >
> >> >
> >
> >
>
Re: php-fpm failed to start
July 08, 2009 02:07PM
Try it :) I don't knowthe technical difference between zend_extension
and extension. I think they removed the zend one in 5.3 anyway. I
don't think you need to use zend_extension except for extensions which
require it. Xdebug shouldn't in my experience.

Sent from my iPhone

On Jul 8, 2009, at 11:00 AM, Ilan Berkner wrote:

> 5.2.10
>
> but that doesn't seem to be the issue.
>
> From what I can tell, xdebug is not compatible with zend optimizer,
> although I disabled the zend optimizer and its still not loading as
> a zend extension.
>
> When I specified it just as an extension, it seemed to load ok,
> although I'm not sure if that's going to work, i.e. if I have zend
> optimizer installed can I use xdebug as a non-zend extension?
>
> On Wed, Jul 8, 2009 at 1:17 PM, Michael Shadle
> wrote:
>
> also is this 5.3 or 5.2?
>
> in 5.3 you can put in the full path to extensions but in 5.2 i think
> it tries loading them from the extension path only
>
> On Wed, Jul 8, 2009 at 10:15 AM, Ilan Berkner
> wrote:
> > Any suggestions as to what may be the culprit?
> >
> > Thanks
> >
> > On Wed, Jul 8, 2009 at 12:34 PM, Michael Shadle
> wrote:
> >>
> >> ah yeah i have xdebug and inclued working just fine (at least in
> php
> >> 5.2.x)
> >>
> >> i did not try all the modules out in 5.3.0. the current thing i am
> >> working on is drupal and it doesn't like php 5.3.0 yet so i had to
> >> downgrade to 5.2.10.
> >>
> >> On Wed, Jul 8, 2009 at 9:21 AM, Ilan Berkner
> wrote:
> >> > Actually, its just one adjustment :-)
> >> >
> >> > I downloaded and compiled the latest version of xdebug and
> added this
> >> > line
> >> > into the php.ini (without this, it works fine):
> >> >
> >> > zend_extension="/usr/local/xdebug-2.0.5/modules/xdebug.so"
> >> >
> >> > thanks
> >> >
> >> >
> >> > On Wed, Jul 8, 2009 at 12:09 PM, Michael Shadle >
> >> > wrote:
> >> >>
> >> >> first thing would be to back out the adjustments
> >> >>
> >> >> second thing would be to share them to see if we can
> reproduce :)
> >> >>
> >> >>
> >> >>
> >> >> On Wed, Jul 8, 2009 at 7:01 AM, Ilan
> Berkner wrote:
> >> >> > I'm making some adjustments to my php.ini file which is
> causing
> >> >> > php-fpm
> >> >> > not
> >> >> > to load. This is not a php-fpm specific issue as there's an
> issue
> >> >> > with
> >> >> > the
> >> >> > ini. Where can I find out what the problem is? I looked in
> the
> >> >> > php-fpm
> >> >> > log
> >> >> > nothing there, is there anywhere else?
> >> >> >
> >> >> > Thanks
> >> >> >
> >> >
> >> >
> >
> >
>
Jason
Re: php-fpm failed to start
July 08, 2009 02:09PM
You for sure need to turn off the optimizer.

You also must fully qualify the extension path in the ini file. Even
though some extensions don't need a fully qualified path it's always
best practice to do so. This way you can quickly eliminate path
issues and get to the issue at hand.

Just bash script phpize to turn off/on the zend optimizer with on/off
xdebug so it can execute at will during issues like this.

On Jul 8, 2:00
Re: php-fpm failed to start
July 08, 2009 02:15PM
Thanks to all for responding :-)

The issue is specifically (as mentioned) that xdebug is not compatible with
any other zend extensions. The problem I'm facing is that my site requires
zend optimizer and the zend ioncube extensions in order to run (there's a
3rd party application that requires these).

I got it to run as a zend extension once I disabled the other ones :-)

Can anyone recommend another debugger that would be comparable to xdebug?

Thanks!!!


On Wed, Jul 8, 2009 at 2:09 PM, Jason wrote:

>
> You for sure need to turn off the optimizer.
>
> You also must fully qualify the extension path in the ini file. Even
> though some extensions don't need a fully qualified path it's always
> best practice to do so. This way you can quickly eliminate path
> issues and get to the issue at hand.
>
> Just bash script phpize to turn off/on the zend optimizer with on/off
> xdebug so it can execute at will during issues like this.
>
> On Jul 8, 2:00 pm, Ilan Berkner wrote:
> > 5.2.10
> >
> > but that doesn't seem to be the issue.
> >
> > From what I can tell, xdebug is not compatible with zend optimizer,
> although
> > I disabled the zend optimizer and its still not loading as a zend
> extension.
> >
> > When I specified it just as an extension, it seemed to load ok, although
> I'm
> > not sure if that's going to work, i.e. if I have zend optimizer installed
> > can I use xdebug as a non-zend extension?
> >
> >
> >
> > On Wed, Jul 8, 2009 at 1:17 PM, Michael Shadle
> wrote:
> >
> > > also is this 5.3 or 5.2?
> >
> > > in 5.3 you can put in the full path to extensions but in 5.2 i think
> > > it tries loading them from the extension path only
> >
> > > On Wed, Jul 8, 2009 at 10:15 AM, Ilan Berkner
> wrote:
> > > > Any suggestions as to what may be the culprit?
> >
> > > > Thanks
> >
> > > > On Wed, Jul 8, 2009 at 12:34 PM, Michael Shadle
> > > wrote:
> >
> > > >> ah yeah i have xdebug and inclued working just fine (at least in php
> > > >> 5.2.x)
> >
> > > >> i did not try all the modules out in 5.3.0. the current thing i am
> > > >> working on is drupal and it doesn't like php 5.3.0 yet so i had to
> > > >> downgrade to 5.2.10.
> >
> > > >> On Wed, Jul 8, 2009 at 9:21 AM, Ilan Berkner
> wrote:
> > > >> > Actually, its just one adjustment :-)
> >
> > > >> > I downloaded and compiled the latest version of xdebug and added
> this
> > > >> > line
> > > >> > into the php.ini (without this, it works fine):
> >
> > > >> > zend_extension="/usr/local/xdebug-2.0.5/modules/xdebug.so"
> >
> > > >> > thanks
> >
> > > >> > On Wed, Jul 8, 2009 at 12:09 PM, Michael Shadle <
> mike...@gmail.com>
> > > >> > wrote:
> >
> > > >> >> first thing would be to back out the adjustments
> >
> > > >> >> second thing would be to share them to see if we can reproduce :)
> >
> > > >> >> On Wed, Jul 8, 2009 at 7:01 AM, Ilan Berkner
> > > wrote:
> > > >> >> > I'm making some adjustments to my php.ini file which is causing
> > > >> >> > php-fpm
> > > >> >> > not
> > > >> >> > to load. This is not a php-fpm specific issue as there's an
> issue
> > > >> >> > with
> > > >> >> > the
> > > >> >> > ini. Where can I find out what the problem is? I looked in
> the
> > > >> >> > php-fpm
> > > >> >> > log
> > > >> >> > nothing there, is there anywhere else?
> >
> > > >> >> > Thanks
>
Re: php-fpm failed to start
July 08, 2009 03:51PM
Only thing I can think of is something like http://derickrethans.nl/vld.php

On Wed, Jul 8, 2009 at 11:15 AM, Ilan Berkner<iberkner@gmail.com> wrote:
> Thanks to all for responding :-)
>
> The issue is specifically (as mentioned) that xdebug is not compatible with
> any other zend extensions.  The problem I'm facing is that my site requires
> zend optimizer and the zend ioncube extensions in order to run (there's a
> 3rd party application that requires these).
>
> I got it to run as a zend extension once I disabled the other ones :-)
>
> Can anyone recommend another debugger that would be comparable to xdebug?
>
> Thanks!!!
>
>
> On Wed, Jul 8, 2009 at 2:09 PM, Jason <jason.giedymin@gmail.com> wrote:
>>
>> You for sure need to turn off the optimizer.
>>
>> You also must fully qualify the extension path in the ini file.  Even
>> though some extensions don't need a fully qualified path it's always
>> best practice to do so.  This way you can quickly eliminate path
>> issues and get to the issue at hand.
>>
>> Just bash script phpize to turn off/on the zend optimizer with on/off
>> xdebug so it can execute at will during issues like this.
>>
>> On Jul 8, 2:00 pm, Ilan Berkner <iberk...@gmail.com> wrote:
>> > 5.2.10
>> >
>> > but that doesn't seem to be the issue.
>> >
>> > From what I can tell, xdebug is not compatible with zend optimizer,
>> > although
>> > I disabled the zend optimizer and its still not loading as a zend
>> > extension.
>> >
>> > When I specified it just as an extension, it seemed to load ok, although
>> > I'm
>> > not sure if that's going to work, i.e. if I have zend optimizer
>> > installed
>> > can I use xdebug as a non-zend extension?
>> >
>> >
>> >
>> > On Wed, Jul 8, 2009 at 1:17 PM, Michael Shadle <mike...@gmail.com>
>> > wrote:
>> >
>> > > also is this 5.3 or 5.2?
>> >
>> > > in 5.3 you can put in the full path to extensions but in 5.2 i think
>> > > it tries loading them from the extension path only
>> >
>> > > On Wed, Jul 8, 2009 at 10:15 AM, Ilan Berkner<iberk...@gmail.com>
>> > > wrote:
>> > > > Any suggestions as to what may be the culprit?
>> >
>> > > > Thanks
>> >
>> > > > On Wed, Jul 8, 2009 at 12:34 PM, Michael Shadle <mike...@gmail.com>
>> > > wrote:
>> >
>> > > >> ah yeah i have xdebug and inclued working just fine (at least in
>> > > >> php
>> > > >> 5.2.x)
>> >
>> > > >> i did not try all the modules out in 5.3.0. the current thing i am
>> > > >> working on is drupal and it doesn't like php 5.3.0 yet so i had to
>> > > >> downgrade to 5.2.10.
>> >
>> > > >> On Wed, Jul 8, 2009 at 9:21 AM, Ilan Berkner<iberk...@gmail.com>
>> > > >> wrote:
>> > > >> > Actually, its just one adjustment :-)
>> >
>> > > >> > I downloaded and compiled the latest version of xdebug and added
>> > > >> > this
>> > > >> > line
>> > > >> > into the php.ini (without this, it works fine):
>> >
>> > > >> > zend_extension="/usr/local/xdebug-2.0.5/modules/xdebug.so"
>> >
>> > > >> > thanks
>> >
>> > > >> > On Wed, Jul 8, 2009 at 12:09 PM, Michael Shadle
>> > > >> > <mike...@gmail.com>
>> > > >> > wrote:
>> >
>> > > >> >> first thing would be to back out the adjustments
>> >
>> > > >> >> second thing would be to share them to see if we can reproduce
>> > > >> >> :)
>> >
>> > > >> >> On Wed, Jul 8, 2009 at 7:01 AM, Ilan Berkner<iberk...@gmail.com>
>> > > wrote:
>> > > >> >> > I'm making some adjustments to my php.ini file which is
>> > > >> >> > causing
>> > > >> >> > php-fpm
>> > > >> >> > not
>> > > >> >> > to load.  This is not a php-fpm specific issue as there's an
>> > > >> >> > issue
>> > > >> >> > with
>> > > >> >> > the
>> > > >> >> > ini.  Where can I find out what the problem is?  I looked in
>> > > >> >> > the
>> > > >> >> > php-fpm
>> > > >> >> > log
>> > > >> >> > nothing there, is there anywhere else?
>> >
>> > > >> >> > Thanks
>
Re: php-fpm failed to start
July 08, 2009 03:58PM
disregard that.

like it says it doesn't do encrypted files. i thought perhaps it could
debug AFTER decryption but i am pretty sure that this goes against the
encryption stuff, so you won't be able to xdebug or anything that's
encrypted, as it would expose internals that are encrypted for a
reason...

On Wed, Jul 8, 2009 at 12:51 PM, Michael Shadle<mike503@gmail.com> wrote:
> Only thing I can think of is something like http://derickrethans.nl/vld.php
>
Antony Dovgal
Re: php-fpm failed to start
July 08, 2009 04:04PM
On 08.07.2009 23:51, Michael Shadle wrote:
> Only thing I can think of is something like http://derickrethans.nl/vld.php

That's completely different thing.

--
Wbr,
Antony Dovgal
---
http://pinba.org - realtime statistics for PHP
Antony Dovgal
Re: php-fpm failed to start
July 08, 2009 04:05PM
On 08.07.2009 22:15, Ilan Berkner wrote:
> Thanks to all for responding :-)
>
> The issue is specifically (as mentioned) that xdebug is not compatible with
> any other zend extensions. The problem I'm facing is that my site requires
> zend optimizer and the zend ioncube extensions in order to run (there's a
> 3rd party application that requires these).
>
> I got it to run as a zend extension once I disabled the other ones :-)
>
> Can anyone recommend another debugger that would be comparable to xdebug?

Xdebug it is.

Either you're debugging or you're running a production site, but not both.

--
Wbr,
Antony Dovgal
---
http://pinba.org - realtime statistics for PHP
Re: php-fpm failed to start
July 08, 2009 04:10PM
This is on a development platform (I'm not debugging a production site). I'm
doing load testing and really just want to identify the bottlenecks
(whether its php or mysql or both or whatever). The problem is that a 3rd
party component that we're using requires zend optimizer and ioncube and I
need to test with this component turned on.

I may be able to turn it off for testing purposes if that's what ends up
being the necessary thing to do.

For now, I'm primarily interested in profiling, not so much live debugging
and I may be able to accomplish that by running xdebug as just a regular
extension (which seems to be working for now) and using its profiling
functions.

Any help / suggestions as always are greatly appreciated.



On Wed, Jul 8, 2009 at 4:05 PM, Antony Dovgal wrote:

>
> On 08.07.2009 22:15, Ilan Berkner wrote:
> > Thanks to all for responding :-)
> >
> > The issue is specifically (as mentioned) that xdebug is not compatible
> with
> > any other zend extensions. The problem I'm facing is that my site
> requires
> > zend optimizer and the zend ioncube extensions in order to run (there's a
> > 3rd party application that requires these).
> >
> > I got it to run as a zend extension once I disabled the other ones :-)
> >
> > Can anyone recommend another debugger that would be comparable to xdebug?
>
> Xdebug it is.
>
> Either you're debugging or you're running a production site, but not both.
>
> --
> Wbr,
> Antony Dovgal
> ---
> http://pinba.org - realtime statistics for PHP
>
Re: php-fpm failed to start
July 08, 2009 04:17PM
On Wed, Jul 8, 2009 at 1:04 PM, Antony Dovgal<tony@daylessday.org> wrote:

> That's completely different thing.

I figure if it's profiling you want, it doesn't get more hardcore than
that, right? :)
Re: php-fpm failed to start
July 08, 2009 04:22PM
No kidding.

In my load testing I'm finding that there's a CPU spike tied to the php-cgi
processes running via php-fpm. Its either the php code is just on a holding
pattern for the data server, which is likely or there's some php function
which is "out of control" for some reason (we had a few coders in the past
who used recursion in a VERY BAD WAY). So I think that profiling the code
and seeing which php code is holding the longest is the way to go.

Am I on the right path?

On Wed, Jul 8, 2009 at 4:17 PM, Michael Shadle wrote:

>
> On Wed, Jul 8, 2009 at 1:04 PM, Antony Dovgal wrote:
>
> > That's completely different thing.
>
> I figure if it's profiling you want, it doesn't get more hardcore than
> that, right? :)
>
Re: php-fpm failed to start
July 08, 2009 04:31PM
On Wed, Jul 8, 2009 at 1:22 PM, Ilan Berkner<iberkner@gmail.com> wrote:

> Am I on the right path?

Yes, but with the encoded stuff I don't think you can easily :)
Yorgo Sun
Re: php-fpm failed to start
July 28, 2009 09:07PM
first, you can try a extension name apd. It's same pecl extension like
xdebug. It can calculate all the script's functions' run time.
second, you should configure php-fpm to running on not deamon mode, then I
think you can find out why from the output.

I'm doing same work on php script profiling. Now, I'm finding another tool
to calculate the cpu usage. Is there anyone knew?

I guessed some extension cost more cpu. I've made a test, when I wrote a php
script that only with mysql pdo connection and query, it cost cpu usage(x%)
was less then a php script with memcached(2x%). so hope someone can help me
to solve this problem.

thanks

2009/7/9 Ilan Berkner

> No kidding.
>
> In my load testing I'm finding that there's a CPU spike tied to the php-cgi
> processes running via php-fpm. Its either the php code is just on a holding
> pattern for the data server, which is likely or there's some php function
> which is "out of control" for some reason (we had a few coders in the past
> who used recursion in a VERY BAD WAY). So I think that profiling the code
> and seeing which php code is holding the longest is the way to go.
>
> Am I on the right path?
>
> On Wed, Jul 8, 2009 at 4:17 PM, Michael Shadle wrote:
>
>>
>> On Wed, Jul 8, 2009 at 1:04 PM, Antony Dovgal wrote:
>>
>> > That's completely different thing.
>>
>> I figure if it's profiling you want, it doesn't get more hardcore than
>> that, right? :)
>>
>
>


--
孙绍轩 Yorgo Sun
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 102
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready