Re: php crashes with msyql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Noah Silverman wrote:
Chris,

Thanks in advance for all the help.   i appreciate it.

The script
-------------------------
<?php
mysql_connect('123.123.123.123','user','pass');
?>
----------------------


The error from apache log
-------------------------------------
[Tue Mar 21 15:36:05 2006] [notice] child pid 19337 exit signal Segmentation fault (11)
-------------------------------------

How I got here:

I had an old copy of apache and php running (apache 2.0.? and php 4.3.5)
I delete apache
I configured, made, and installed apache (2.2.0)
I configured, made, and installed php (4.4.2)

The mysql being used is the pre-compiled one from mysql.com. I have used it on other servers and it works fine.

I can provide an strace of the apache processing crashing if anyone is interested,

Don't know how to read those things myself :)


Is php reporting the same version as mysql is running? A phpinfo page has this under the 'mysql' section:

Client API Version

Is that the same as

mysql -V

reports?

--
Postgresql & php tutorials
http://www.designmagick.com/

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux