-- Elvin Şiriyev <[email protected]> wrote
(on Sunday, 23 August 2009, 03:03 AM +0500):
> And with
> 
> $ sudo php -v
> 
> it is working.
> 
> but running zf as root there is same error.

The fact that you are getting segfaults with PHP itself is not good, and
typically indicates that one or more active modules is at fault. Try
disabling PHP modules in your php.ini until the segfault goes away.

Another thing to try: see if another PHP distribution works -- compile
it by hand, grab XAMPP or Zend Server, etc; it could very likely be an
issue with the PHP distributed under ubuntu. (Though an avid linux (and
Ubuntu) user myself, I've rarely used the PHP from my distributions as
they're often out-of-date or do not come with standard options enabled
-- and occasionally have issues such as you're presenting.)

> 2009/8/23 Elvin Şiriyev <[email protected]>
> 
>     i think it is fault of php-cli. because of that :
> 
>     $ php -v
>     PHP 5.2.6-3ubuntu4.1 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 23 2009
>     14:35:05)
>     Copyright (c) 1997-2008 The PHP Group
>     Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
>     Segmentation fault
> 
>     PHP version : 5.2.6-3ubuntu4.1
>     ZF version : 1.9.1
>     OS : ubuntu jaunty 9.04
>     include_path : .:/usr/share/php:/usr/share/pear
> 
> 
> 
>     On Sun, Aug 23, 2009 at 2:14 AM, Matthew Weier O'Phinney 
> <[email protected]>
>     wrote:
>     >
>     > -- Elvin Şiriyev <[email protected]> wrote
>     > (on Sunday, 23 August 2009, 12:49 AM +0500):
>     > > I don't know why i get that error message. please help. thanks.
>     > >
>     > > $ zf show version
>     > > Segmentation fault
>     >
>     > Can you tell us:
>     >  * what version of ZF you are using
>     >  * what version of PHP you are using
>     >  * what OS you are using (and optimally, what shell -- bash, zsh, etc)
>     >  * what your include_path looks like
>     >
>     > Those items will better aid in diagnosis of the issue.
>     >
>     > --
>     > Matthew Weier O'Phinney
>     > Project Lead            | [email protected]
>     > Zend Framework          | http://framework.zend.com/
> 
>      
> 

-- 
Matthew Weier O'Phinney
Project Lead            | [email protected]
Zend Framework          | http://framework.zend.com/

Reply via email to