Re: AIX segmentation fault with PHP, Apache and MySQL

2001-05-21 Thread Dave Brooks, BCS Systems

Thanks everyone - it now all goes !

The problem I think was due to using a precompiled binary release of Apache 
that (I guess) had an exports file pointing to a library in the wrong place...

Anyway building everything from sources did the job.


Dave

At 23:36 20/05/01 -0400, you wrote:
Hmm.  Can you be a bit more specific how you upgraded your Apache?
Typically I've had good luck with building the new Apache first, then 
building PHP (using the new apxs that it installs).  You are installing 
these modules as .so, correct?  And building everything from source 
code?  The only thing I can think of here is that your earlier Apache had 
a broken lib somewhere and the new installs are not replacing it..

Z
On Sunday, May 20, 2001, at 10:15 PM, Dave Brooks, BCS Systems wrote:

MySQL 3.23.38 made no difference


 
  Well we now have Apache 1.3.19 and PHP 4.0.5 but still the same problem...
 
  Am about to upgrade MySQL to 3.23.38 to see if this changes things, 
 but feel this is clutching at straws...
 
 
  Thanks,
 
  Dave

  On Thursday, May 17, 2001, at 08:59 AM, Matthew P. Marino wrote:
 
   Apache is up to 1.3.17 at least. I would update apache and see what
   gives. PHP4
   wasn't coded until Apache 1.3.15 was out.
  
   Dave Brooks, BCS Systems wrote:
  
   Hello,
  
   I am trying to port a PHP/MySQL application that happily runs under
   Linux
   across to an AIX box.
  
   We have MySQL is running under AIX - using mysql we can create tables,
   insert rows, etc and even access data via a C program.
  
   PHP is running as an Apache module - a simple phpinfo() works.
  
   If our PHP scripts are invoked when mysqld is not active we get a
   database
   error Can't connect to server, as to be expected.
  
   If however, mysqld is started and then we attempt our script, Apache
   reports a segmentation fault (as shown in its error logs) and the
   client
   browser gets an unexpected network error.
  
   Any ideas, debugging clues, etc would be much appreciated.
  
   AIX 4.3.3
   Apache 1.3.12 (IBM HTTP Server)
   MySQL 3.23.32
   PHP 4.0.4 pl 1
  
   Many thanks,
  
   Dave Brooks
  
   -
   Before posting, please check:
  http://www.mysql.com/manual.php   (the manual)
  http://lists.mysql.com/   (the list archive)
  
   To request this thread, e-mail [EMAIL PROTECTED]
   To unsubscribe, e-mail mysql-unsubscribe-
   [EMAIL PROTECTED]
   Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
  
   -
   Before posting, please check:
  http://www.mysql.com/manual.php   (the manual)
  http://lists.mysql.com/   (the list archive)
  
   To request this thread, e-mail [EMAIL PROTECTED]
   To unsubscribe, e-mail mysql-unsubscribe-
   [EMAIL PROTECTED]
   Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
  


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail mysql-unsubscribe-
[EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail mysql-unsubscribe-
[EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: AIX segmentation fault with PHP, Apache and MySQL

2001-05-20 Thread Dave Brooks, BCS Systems

Well we now have Apache 1.3.19 and PHP 4.0.5 but still the same problem...

Am about to upgrade MySQL to 3.23.38 to see if this changes things, but 
feel this is clutching at straws...


Thanks,

Dave

  On Thursday, May 17, 2001, at 08:59 AM, Matthew P. Marino wrote:
 
   Apache is up to 1.3.17 at least. I would update apache and see what
   gives. PHP4
   wasn't coded until Apache 1.3.15 was out.
  
   Dave Brooks, BCS Systems wrote:
  
   Hello,
  
   I am trying to port a PHP/MySQL application that happily runs under
   Linux
   across to an AIX box.
  
   We have MySQL is running under AIX - using mysql we can create tables,
   insert rows, etc and even access data via a C program.
  
   PHP is running as an Apache module - a simple phpinfo() works.
  
   If our PHP scripts are invoked when mysqld is not active we get a
   database
   error Can't connect to server, as to be expected.
  
   If however, mysqld is started and then we attempt our script, Apache
   reports a segmentation fault (as shown in its error logs) and the
   client
   browser gets an unexpected network error.
  
   Any ideas, debugging clues, etc would be much appreciated.
  
   AIX 4.3.3
   Apache 1.3.12 (IBM HTTP Server)
   MySQL 3.23.32
   PHP 4.0.4 pl 1
  
   Many thanks,
  
   Dave Brooks
  
   -
   Before posting, please check:
  http://www.mysql.com/manual.php   (the manual)
  http://lists.mysql.com/   (the list archive)
  
   To request this thread, e-mail [EMAIL PROTECTED]
   To unsubscribe, e-mail mysql-unsubscribe-
   [EMAIL PROTECTED]
   Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
  
   -
   Before posting, please check:
  http://www.mysql.com/manual.php   (the manual)
  http://lists.mysql.com/   (the list archive)
  
   To request this thread, e-mail [EMAIL PROTECTED]
   To unsubscribe, e-mail mysql-unsubscribe-
   [EMAIL PROTECTED]
   Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
  


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: AIX segmentation fault with PHP, Apache and MySQL

2001-05-20 Thread Dave Brooks, BCS Systems

MySQL 3.23.38 made no difference


 
  Well we now have Apache 1.3.19 and PHP 4.0.5 but still the same problem...
 
  Am about to upgrade MySQL to 3.23.38 to see if this changes things, but 
feel this is clutching at straws...
 
 
  Thanks,
 
  Dave

  On Thursday, May 17, 2001, at 08:59 AM, Matthew P. Marino wrote:
 
   Apache is up to 1.3.17 at least. I would update apache and see what
   gives. PHP4
   wasn't coded until Apache 1.3.15 was out.
  
   Dave Brooks, BCS Systems wrote:
  
   Hello,
  
   I am trying to port a PHP/MySQL application that happily runs under
   Linux
   across to an AIX box.
  
   We have MySQL is running under AIX - using mysql we can create tables,
   insert rows, etc and even access data via a C program.
  
   PHP is running as an Apache module - a simple phpinfo() works.
  
   If our PHP scripts are invoked when mysqld is not active we get a
   database
   error Can't connect to server, as to be expected.
  
   If however, mysqld is started and then we attempt our script, Apache
   reports a segmentation fault (as shown in its error logs) and the
   client
   browser gets an unexpected network error.
  
   Any ideas, debugging clues, etc would be much appreciated.
  
   AIX 4.3.3
   Apache 1.3.12 (IBM HTTP Server)
   MySQL 3.23.32
   PHP 4.0.4 pl 1
  
   Many thanks,
  
   Dave Brooks
  
   -
   Before posting, please check:
  http://www.mysql.com/manual.php   (the manual)
  http://lists.mysql.com/   (the list archive)
  
   To request this thread, e-mail [EMAIL PROTECTED]
   To unsubscribe, e-mail mysql-unsubscribe-
   [EMAIL PROTECTED]
   Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
  
   -
   Before posting, please check:
  http://www.mysql.com/manual.php   (the manual)
  http://lists.mysql.com/   (the list archive)
  
   To request this thread, e-mail [EMAIL PROTECTED]
   To unsubscribe, e-mail mysql-unsubscribe-
   [EMAIL PROTECTED]
   Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
  


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: AIX segmentation fault with PHP, Apache and MySQL

2001-05-20 Thread Zachary Burnham

Hmm.  Can you be a bit more specific how you upgraded your Apache?  
Typically I've had good luck with building the new Apache first, then 
building PHP (using the new apxs that it installs).  You are installing 
these modules as .so, correct?  And building everything from source 
code?  The only thing I can think of here is that your earlier Apache 
had a broken lib somewhere and the new installs are not replacing it..

Z
On Sunday, May 20, 2001, at 10:15 PM, Dave Brooks, BCS Systems wrote:

 MySQL 3.23.38 made no difference


 
  Well we now have Apache 1.3.19 and PHP 4.0.5 but still the same 
 problem...
 
  Am about to upgrade MySQL to 3.23.38 to see if this changes things, 
 but feel this is clutching at straws...
 
 
  Thanks,
 
  Dave

  On Thursday, May 17, 2001, at 08:59 AM, Matthew P. Marino wrote:
 
   Apache is up to 1.3.17 at least. I would update apache and see what
   gives. PHP4
   wasn't coded until Apache 1.3.15 was out.
  
   Dave Brooks, BCS Systems wrote:
  
   Hello,
  
   I am trying to port a PHP/MySQL application that happily runs 
 under
   Linux
   across to an AIX box.
  
   We have MySQL is running under AIX - using mysql we can create 
 tables,
   insert rows, etc and even access data via a C program.
  
   PHP is running as an Apache module - a simple phpinfo() works.
  
   If our PHP scripts are invoked when mysqld is not active we get a
   database
   error Can't connect to server, as to be expected.
  
   If however, mysqld is started and then we attempt our script, 
 Apache
   reports a segmentation fault (as shown in its error logs) and the
   client
   browser gets an unexpected network error.
  
   Any ideas, debugging clues, etc would be much appreciated.
  
   AIX 4.3.3
   Apache 1.3.12 (IBM HTTP Server)
   MySQL 3.23.32
   PHP 4.0.4 pl 1
  
   Many thanks,
  
   Dave Brooks
  
   
 -
   Before posting, please check:
  http://www.mysql.com/manual.php   (the manual)
  http://lists.mysql.com/   (the list archive)
  
   To request this thread, e-mail [EMAIL PROTECTED]
   To unsubscribe, e-mail mysql-unsubscribe-
   [EMAIL PROTECTED]
   Trouble unsubscribing? Try: 
 http://lists.mysql.com/php/unsubscribe.php
  
   
 -
   Before posting, please check:
  http://www.mysql.com/manual.php   (the manual)
  http://lists.mysql.com/   (the list archive)
  
   To request this thread, e-mail [EMAIL PROTECTED]
   To unsubscribe, e-mail mysql-unsubscribe-
   [EMAIL PROTECTED]
   Trouble unsubscribing? Try: 
 http://lists.mysql.com/php/unsubscribe.php
  


 -
 Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

 To request this thread, e-mail [EMAIL PROTECTED]
 To unsubscribe, e-mail mysql-unsubscribe-
 [EMAIL PROTECTED]
 Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




 -
 Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

 To request this thread, e-mail [EMAIL PROTECTED]
 To unsubscribe, e-mail mysql-unsubscribe-
 [EMAIL PROTECTED]
 Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




AIX segmentation fault with PHP, Apache and MySQL

2001-05-17 Thread Dave Brooks, BCS Systems

Hello,

I am trying to port a PHP/MySQL application that happily runs under Linux 
across to an AIX box.

We have MySQL is running under AIX - using mysql we can create tables, 
insert rows, etc and even access data via a C program.

PHP is running as an Apache module - a simple phpinfo() works.

If our PHP scripts are invoked when mysqld is not active we get a database 
error Can't connect to server, as to be expected.

If however, mysqld is started and then we attempt our script, Apache 
reports a segmentation fault (as shown in its error logs) and the client 
browser gets an unexpected network error.

Any ideas, debugging clues, etc would be much appreciated.

AIX 4.3.3
Apache 1.3.12 (IBM HTTP Server)
MySQL 3.23.32
PHP 4.0.4 pl 1


Many thanks,


Dave Brooks


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: AIX segmentation fault with PHP, Apache and MySQL

2001-05-17 Thread Zachary Burnham

1.3.19 actually, Matt :)  I'm running .19 on both my Linux machine and 
the G4.  And as far as I can remember, PHP4.0.4pl1 worked ok on 1.3.14, 
I was doing that for a while.

Z
On Thursday, May 17, 2001, at 08:59 AM, Matthew P. Marino wrote:

 Apache is up to 1.3.17 at least. I would update apache and see what 
 gives. PHP4
 wasn't coded until Apache 1.3.15 was out.

 Dave Brooks, BCS Systems wrote:

 Hello,

 I am trying to port a PHP/MySQL application that happily runs under 
 Linux
 across to an AIX box.

 We have MySQL is running under AIX - using mysql we can create tables,
 insert rows, etc and even access data via a C program.

 PHP is running as an Apache module - a simple phpinfo() works.

 If our PHP scripts are invoked when mysqld is not active we get a 
 database
 error Can't connect to server, as to be expected.

 If however, mysqld is started and then we attempt our script, Apache
 reports a segmentation fault (as shown in its error logs) and the 
 client
 browser gets an unexpected network error.

 Any ideas, debugging clues, etc would be much appreciated.

 AIX 4.3.3
 Apache 1.3.12 (IBM HTTP Server)
 MySQL 3.23.32
 PHP 4.0.4 pl 1

 Many thanks,

 Dave Brooks

 -
 Before posting, please check:
http://www.mysql.com/manual.php   (the manual)
http://lists.mysql.com/   (the list archive)

 To request this thread, e-mail [EMAIL PROTECTED]
 To unsubscribe, e-mail mysql-unsubscribe-
 [EMAIL PROTECTED]
 Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

 -
 Before posting, please check:
http://www.mysql.com/manual.php   (the manual)
http://lists.mysql.com/   (the list archive)

 To request this thread, e-mail [EMAIL PROTECTED]
 To unsubscribe, e-mail mysql-unsubscribe-
 [EMAIL PROTECTED]
 Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: AIX segmentation fault with PHP, Apache and MySQL

2001-05-17 Thread Matthew P. Marino

These guys work way to fast for me. I'm used to companies that go years between
revisions and have a world wide webcast to mark the event. I stand humbly
corrected. Though on solaris, I couldn't get 4.0.4 to work with 1.3.14. The
point is, it's always best to be current!!

Zachary Burnham wrote:
 
 1.3.19 actually, Matt :)  I'm running .19 on both my Linux machine and
 the G4.  And as far as I can remember, PHP4.0.4pl1 worked ok on 1.3.14,
 I was doing that for a while.
 
 Z
 On Thursday, May 17, 2001, at 08:59 AM, Matthew P. Marino wrote:
 
  Apache is up to 1.3.17 at least. I would update apache and see what
  gives. PHP4
  wasn't coded until Apache 1.3.15 was out.
 
  Dave Brooks, BCS Systems wrote:
 
  Hello,
 
  I am trying to port a PHP/MySQL application that happily runs under
  Linux
  across to an AIX box.
 
  We have MySQL is running under AIX - using mysql we can create tables,
  insert rows, etc and even access data via a C program.
 
  PHP is running as an Apache module - a simple phpinfo() works.
 
  If our PHP scripts are invoked when mysqld is not active we get a
  database
  error Can't connect to server, as to be expected.
 
  If however, mysqld is started and then we attempt our script, Apache
  reports a segmentation fault (as shown in its error logs) and the
  client
  browser gets an unexpected network error.
 
  Any ideas, debugging clues, etc would be much appreciated.
 
  AIX 4.3.3
  Apache 1.3.12 (IBM HTTP Server)
  MySQL 3.23.32
  PHP 4.0.4 pl 1
 
  Many thanks,
 
  Dave Brooks
 
  -
  Before posting, please check:
 http://www.mysql.com/manual.php   (the manual)
 http://lists.mysql.com/   (the list archive)
 
  To request this thread, e-mail [EMAIL PROTECTED]
  To unsubscribe, e-mail mysql-unsubscribe-
  [EMAIL PROTECTED]
  Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
 
  -
  Before posting, please check:
 http://www.mysql.com/manual.php   (the manual)
 http://lists.mysql.com/   (the list archive)
 
  To request this thread, e-mail [EMAIL PROTECTED]
  To unsubscribe, e-mail mysql-unsubscribe-
  [EMAIL PROTECTED]
  Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
 

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php