Re: [PHP] Problem with pspell module

2004-06-30 Thread Curt Zirzow
* Thus wrote Shannon Werb:
> > -Original Message-
> > From: Curt Zirzow [mailto:[EMAIL PROTECTED] 
> > 
> > You can install it with the pear utility:
> > 
> >   pear install apc
> 

> I tried, no luck:
> batt3# pear install apc
> downloading APC-2.0.4.tgz ...
> Starting to download APC-2.0.4.tgz (44,606 bytes)
> done: 44,606 bytes
> 35 source files, building
> running: phpize
> aclocal: not found
> `phpize' failed

well, crap.. this is getting more complicated than i had expected
:)

If you're willing to take this all the way, you're going to need to
install some dependencies (that I forgot to mention)

You're going to need the tools:

  autoconf (version 2.13)
  automake (version 1.4+)

Once those are installed, the phpize tool *should* work.


Curt
-- 
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
> -Original Message-
> From: Curt Zirzow [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, June 30, 2004 10:02 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Problem with pspell module
> 
> * Thus wrote Shannon Werb:
> > > -Original Message-
> > > From: Shannon Werb [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, June 30, 2004 9:27 PM
> > > To: 'Curt Zirzow'; [EMAIL PROTECTED]
> > > Subject: RE: [PHP] Problem with pspell module
> > > 
> > > > > (gdb)
> > > > 
> > > > Disable php accelerator and see if it happens. You'll most
> > > likely need
> > > > to reinstall php accelerator.
> > > > 
> > > > > 
> > > 
> > > SHIT, that did it...
> > > I didn't disable it in php.ini like I had thought, but once I did 
> > > everything is fine...
> > > So why is this causing it?
> > > 
> > > To re-install it maybe I just need to rebuild it?
> > > 
> > > I don't remember if I had source on it, trying now...
> > 
> > 
> > OK, I found that PHPA is delivered pre-built with an .so for each 
> > platform and has not been modified in a long time...  Is 
> this a bug in 
> > PHPA from ZEND?  Can I somehow get it to work?  I would 
> hate to have 
> > to run with PHPA off to offer pspell...
> 
> Well, you could use an alternative accelerater, one I would 
> recomend is APC, and happens to be called "Alternative PHP Cache" :)
> 
> The biggest advantage is that you can upgrade you're php 
> without waiting for a third party to make the binary for you. 
>  And does come highly recommended by many.
> 
> Home page (seems outdated):
> http://apc.communityconnect.com/
> 
> Extension page:
> http://pecl.php.net/apc
> 
> You can install it with the pear utility:
> 
>   pear install apc

Well I still fail at aclocal, permission denied, trying to figure out why so
I can try this package out.  Fails through pear install and through manual
build???

> 
> That will fetch the code, compile it against your installed 
> version of php and install it.
> 
> 
> Curt
> --
> First, let me assure you that this is not one of those shady 
> pyramid schemes you've been hearing about.  No, sir.  Our 
> model is the trapezoid!
> 
> --
> PHP General Mailing List (http://www.php.net/) To 
> unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
I found phpize...
It is complaining about aclocal
I edited to find aclocal in /usr/local/share
Now I get /usr/local/bin/phpize: /usr/local/share/aclocal: permission denied

Do I need to run phpize?

Regards,
Shannon 

> -Original Message-
> From: Curt Zirzow [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, June 30, 2004 10:02 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Problem with pspell module
> 
> * Thus wrote Shannon Werb:
> > > -Original Message-
> > > From: Shannon Werb [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, June 30, 2004 9:27 PM
> > > To: 'Curt Zirzow'; [EMAIL PROTECTED]
> > > Subject: RE: [PHP] Problem with pspell module
> > > 
> > > > > (gdb)
> > > > 
> > > > Disable php accelerator and see if it happens. You'll most
> > > likely need
> > > > to reinstall php accelerator.
> > > > 
> > > > > 
> > > 
> > > SHIT, that did it...
> > > I didn't disable it in php.ini like I had thought, but once I did 
> > > everything is fine...
> > > So why is this causing it?
> > > 
> > > To re-install it maybe I just need to rebuild it?
> > > 
> > > I don't remember if I had source on it, trying now...
> > 
> > 
> > OK, I found that PHPA is delivered pre-built with an .so for each 
> > platform and has not been modified in a long time...  Is 
> this a bug in 
> > PHPA from ZEND?  Can I somehow get it to work?  I would 
> hate to have 
> > to run with PHPA off to offer pspell...
> 
> Well, you could use an alternative accelerater, one I would 
> recomend is APC, and happens to be called "Alternative PHP Cache" :)
> 
> The biggest advantage is that you can upgrade you're php 
> without waiting for a third party to make the binary for you. 
>  And does come highly recommended by many.
> 
> Home page (seems outdated):
> http://apc.communityconnect.com/
> 
> Extension page:
> http://pecl.php.net/apc
> 
> You can install it with the pear utility:
> 
>   pear install apc
> 
> That will fetch the code, compile it against your installed 
> version of php and install it.
> 
> 
> Curt
> --
> First, let me assure you that this is not one of those shady 
> pyramid schemes you've been hearing about.  No, sir.  Our 
> model is the trapezoid!
> 
> --
> PHP General Mailing List (http://www.php.net/) To 
> unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
> -Original Message-
> From: Curt Zirzow [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, June 30, 2004 10:02 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Problem with pspell module
> 
> * Thus wrote Shannon Werb:
> > > -Original Message-
> > > From: Shannon Werb [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, June 30, 2004 9:27 PM
> > > To: 'Curt Zirzow'; [EMAIL PROTECTED]
> > > Subject: RE: [PHP] Problem with pspell module
> > > 
> > > > > (gdb)
> > > > 
> > > > Disable php accelerator and see if it happens. You'll most
> > > likely need
> > > > to reinstall php accelerator.
> > > > 
> > > > > 
> > > 
> > > SHIT, that did it...
> > > I didn't disable it in php.ini like I had thought, but once I did 
> > > everything is fine...
> > > So why is this causing it?
> > > 
> > > To re-install it maybe I just need to rebuild it?
> > > 
> > > I don't remember if I had source on it, trying now...
> > 
> > 
> > OK, I found that PHPA is delivered pre-built with an .so for each 
> > platform and has not been modified in a long time...  Is 
> this a bug in 
> > PHPA from ZEND?  Can I somehow get it to work?  I would 
> hate to have 
> > to run with PHPA off to offer pspell...
> 
> Well, you could use an alternative accelerater, one I would 
> recomend is APC, and happens to be called "Alternative PHP Cache" :)
> 
> The biggest advantage is that you can upgrade you're php 
> without waiting for a third party to make the binary for you. 
>  And does come highly recommended by many.
> 
> Home page (seems outdated):
> http://apc.communityconnect.com/
> 
> Extension page:
> http://pecl.php.net/apc
> 
> You can install it with the pear utility:
> 
>   pear install apc

I tried, no luck:
batt3# pear install apc
downloading APC-2.0.4.tgz ...
Starting to download APC-2.0.4.tgz (44,606 bytes)
done: 44,606 bytes
35 source files, building
running: phpize
aclocal: not found
`phpize' failed

So I then tried to do it manually and the INSTALL recommend I run phpsize,
which I don't have on my system in my php directory???

Thoughts?

> 
> That will fetch the code, compile it against your installed 
> version of php and install it.
> 
> 
> Curt
> --
> First, let me assure you that this is not one of those shady 
> pyramid schemes you've been hearing about.  No, sir.  Our 
> model is the trapezoid!
> 
> --
> PHP General Mailing List (http://www.php.net/) To 
> unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Problem with pspell module

2004-06-30 Thread Curt Zirzow
* Thus wrote Shannon Werb:
> > -Original Message-
> > From: Shannon Werb [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, June 30, 2004 9:27 PM
> > To: 'Curt Zirzow'; [EMAIL PROTECTED]
> > Subject: RE: [PHP] Problem with pspell module
> > 
> > > > (gdb)
> > > 
> > > Disable php accelerator and see if it happens. You'll most 
> > likely need 
> > > to reinstall php accelerator.
> > > 
> > > > 
> > 
> > SHIT, that did it...
> > I didn't disable it in php.ini like I had thought, but once I 
> > did everything is fine...
> > So why is this causing it?
> > 
> > To re-install it maybe I just need to rebuild it?
> > 
> > I don't remember if I had source on it, trying now...
> 
> 
> OK, I found that PHPA is delivered pre-built with an .so for each platform
> and has not been modified in a long time...  Is this a bug in PHPA from
> ZEND?  Can I somehow get it to work?  I would hate to have to run with PHPA
> off to offer pspell...

Well, you could use an alternative accelerater, one I would
recomend is APC, and happens to be called "Alternative PHP Cache" :)

The biggest advantage is that you can upgrade you're php without
waiting for a third party to make the binary for you.  And does
come highly recommended by many.

Home page (seems outdated):
http://apc.communityconnect.com/

Extension page:
http://pecl.php.net/apc

You can install it with the pear utility:

  pear install apc

That will fetch the code, compile it against your installed
version of php and install it.


Curt
-- 
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
> -Original Message-
> From: Shannon Werb [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, June 30, 2004 9:27 PM
> To: 'Curt Zirzow'; [EMAIL PROTECTED]
> Subject: RE: [PHP] Problem with pspell module
> 
> > > (gdb)
> > 
> > Disable php accelerator and see if it happens. You'll most 
> likely need 
> > to reinstall php accelerator.
> > 
> > > 
> 
> SHIT, that did it...
> I didn't disable it in php.ini like I had thought, but once I 
> did everything is fine...
> So why is this causing it?
> 
> To re-install it maybe I just need to rebuild it?
> 
> I don't remember if I had source on it, trying now...


OK, I found that PHPA is delivered pre-built with an .so for each platform
and has not been modified in a long time...  Is this a bug in PHPA from
ZEND?  Can I somehow get it to work?  I would hate to have to run with PHPA
off to offer pspell...

What do you recommend?

> 
> > 
> 
> --
> PHP General Mailing List (http://www.php.net/) To 
> unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
> > (gdb)
> 
> Disable php accelerator and see if it happens. You'll most 
> likely need to reinstall php accelerator.
> 
> > 

SHIT, that did it...
I didn't disable it in php.ini like I had thought, but once I did everything
is fine...
So why is this causing it?

To re-install it maybe I just need to rebuild it?

I don't remember if I had source on it, trying now...

> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
I disabled it, still happened...

But as soon as I remove the --with-pspell from the php configure it works
fine.

So are you saying I should try and reinstall php-accelerator after I build
with pspell enabled?

Regards,
Shannon 

> -Original Message-
> From: Curt Zirzow [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, June 30, 2004 9:31 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Problem with pspell module
> 
> * Thus wrote Shannon Werb:
> > Following is my backtrace, I found how to do it at:
> > http://bugs.php.net/bugs-generating-backtrace.php
> 
> > 
> > BACKTRACE:
> > (gdb) bt
> > #0  0x0 in ?? ()
> > #1  0x28519319 in _init ()
> >from /usr/local/lib/php/phpa/php_accelerator_1.3.3r2.so
> > #2  0x28524595 in _fini ()
> >from /usr/local/lib/php/phpa/php_accelerator_1.3.3r2.so
> > #3  0x280c6e59 in find_symdef () from /usr/libexec/ld-elf.so.1
> > #4  0x28171f94 in exit () from /usr/lib/libc.so.4
> > #5  0x80781bc in clean_parent_exit ()
> > #6  0x807b529 in main ()
> > #7  0x804f905 in _start ()
> > (gdb)
> 
> Disable php accelerator and see if it happens. You'll most 
> likely need to reinstall php accelerator.
> 
> > 
> > I have updated my bug report to include this...
> > 
> > Now I wish I knew how to read the darn thing?
> 
> a backtrace simply shoes the calling stack of functions, very 
> helpful in seeing why and where its crashing. 
> 
> 
> #0 is where the program crashed, and the 0x0 means that 
> execution tried to access a NULL pointer which is illegal, 
> thus the crash.
> 
> 
> Curt
> --
> First, let me assure you that this is not one of those shady 
> pyramid schemes you've been hearing about.  No, sir.  Our 
> model is the trapezoid!
> 
> --
> PHP General Mailing List (http://www.php.net/) To 
> unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Problem with pspell module

2004-06-30 Thread Curt Zirzow
* Thus wrote Shannon Werb:
> Following is my backtrace, I found how to do it at:
> http://bugs.php.net/bugs-generating-backtrace.php

> 
> BACKTRACE:
> (gdb) bt
> #0  0x0 in ?? ()
> #1  0x28519319 in _init ()
>from /usr/local/lib/php/phpa/php_accelerator_1.3.3r2.so
> #2  0x28524595 in _fini ()
>from /usr/local/lib/php/phpa/php_accelerator_1.3.3r2.so
> #3  0x280c6e59 in find_symdef () from /usr/libexec/ld-elf.so.1
> #4  0x28171f94 in exit () from /usr/lib/libc.so.4
> #5  0x80781bc in clean_parent_exit ()
> #6  0x807b529 in main ()
> #7  0x804f905 in _start ()
> (gdb)  

Disable php accelerator and see if it happens. You'll most likely
need to reinstall php accelerator.

> 
> I have updated my bug report to include this...
> 
> Now I wish I knew how to read the darn thing?

a backtrace simply shoes the calling stack of functions, very
helpful in seeing why and where its crashing. 


#0 is where the program crashed, and the 0x0 means that execution
tried to access a NULL pointer which is illegal, thus the crash.


Curt
-- 
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
Following is my backtrace, I found how to do it at:
http://bugs.php.net/bugs-generating-backtrace.php

BACKTRACE:
batt3# gdb /usr/local/apache/bin/httpd /usr/local/apache/httpd.core
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
(no debugging symbols found)...
Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libcrypt.so.2...(no debugging symbols
found)...
done.
Reading symbols from /usr/lib/libc.so.4...(no debugging symbols
found)...done.
Reading symbols from /usr/local/lib/php/phpa/php_accelerator_1.3.3r2.so...
(no debugging symbols found)...done.
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols
found)...
done.
#0  0x0 in ?? ()
(gdb) bt
#0  0x0 in ?? ()
#1  0x28519319 in _init ()
   from /usr/local/lib/php/phpa/php_accelerator_1.3.3r2.so
#2  0x28524595 in _fini ()
   from /usr/local/lib/php/phpa/php_accelerator_1.3.3r2.so
#3  0x280c6e59 in find_symdef () from /usr/libexec/ld-elf.so.1
#4  0x28171f94 in exit () from /usr/lib/libc.so.4
#5  0x80781bc in clean_parent_exit ()
#6  0x807b529 in main ()
#7  0x804f905 in _start ()
(gdb)  


I have updated my bug report to include this...

Now I wish I knew how to read the darn thing?

Regards,
Shannon

http://www.battcave.com/


> -Original Message-
> From: Shannon Werb [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, June 30, 2004 8:34 PM
> To: 'Curt Zirzow'
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: [PHP] Problem with pspell module
> 
> Curt, how do I do this?
> I have the httpd.core that apache produced, how should I send it in?
> 
> Regards,
> Shannon 
> 
> > -Original Message-
> > From: Curt Zirzow [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, June 30, 2004 8:10 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [PHP] Problem with pspell module
> > 
> > * Thus wrote Shannon Werb:
> > > Hi all, I filed a PHP bug related to others I found online, but 
> > > thought I would throw it by the list also...
> > > You can find the bug at:
> > > http://bugs.php.net/bug.php?id=28967
> >  
> > You're going to need to get some sort of backtrace, either from the 
> > core dump or ran interactivly.
> > 
> > 
> > Curt
> > --
> > First, let me assure you that this is not one of those 
> shady pyramid 
> > schemes you've been hearing about.  No, sir.  Our model is the 
> > trapezoid!
> > 
> > --
> > PHP General Mailing List (http://www.php.net/) To 
> unsubscribe, visit: 
> > http://www.php.net/unsub.php
> > 
> > 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
Curt, how do I do this?
I have the httpd.core that apache produced, how should I send it in?

Regards,
Shannon 

> -Original Message-
> From: Curt Zirzow [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, June 30, 2004 8:10 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Problem with pspell module
> 
> * Thus wrote Shannon Werb:
> > Hi all, I filed a PHP bug related to others I found online, but 
> > thought I would throw it by the list also...
> > You can find the bug at:
> > http://bugs.php.net/bug.php?id=28967
>  
> You're going to need to get some sort of backtrace, either 
> from the core dump or ran interactivly.
> 
> 
> Curt
> --
> First, let me assure you that this is not one of those shady 
> pyramid schemes you've been hearing about.  No, sir.  Our 
> model is the trapezoid!
> 
> --
> PHP General Mailing List (http://www.php.net/) To 
> unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Problem with pspell module

2004-06-30 Thread Curt Zirzow
* Thus wrote Shannon Werb:
> Hi all, I filed a PHP bug related to others I found online, but thought I
> would throw it by the list also...
> You can find the bug at:
> http://bugs.php.net/bug.php?id=28967
 
You're going to need to get some sort of backtrace, either from the
core dump or ran interactivly.


Curt
-- 
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Problem with pspell module

2004-06-30 Thread Shannon Werb
Hi all, I filed a PHP bug related to others I found online, but thought I
would throw it by the list also...
You can find the bug at:
http://bugs.php.net/bug.php?id=28967


[30 Jun 5:40am CEST] shannon at swerb dot com
 
Description:

Hi there, sorry, but I am running out of ideas here...

I have tracked my problem to similar to the bugs 17402 or 8133 or 8464. 
I have tried php 4.3.4 through 4.3.7 including latest snapshot.  My
configure options are:
'./configure' '--with-mysql' '--with-apxs=/usr/local/apache/bin/apxs'
'--includedir=/usr/local/include' '--with-pspell' '--with-xml'
'--with-zlib' '--with-mcrypt=/usr/src/libmcrypt-2.5.7'
'--enable-memory-limit=yes' '--enable-shmop' 

I have also tried various other configurations, the common configure
option is always pspell.  If I remove it the issue goes away...

The issue is that the so module is installed and then I can start apache
standard and with ssl, but cannot do a restart or a graceful without
getting a seg fault and core dumped, can't figure out what is going on
here. i have updated my glib, gmake functions, I have used various
version of aspell, all with no luck.  No matter what I try I cannot get
the pspell module enabled and to allow apache to do a restart or
graceful without a core dump.

I am using apache 1.3.27.

Thanks for your help!

Best Regards,
Shannon

http://www.battcave.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php