Problem with php 4/5, segmentation fault
| From: | robert mena | Date: | Wed, 20 Oct 2004 18:54:17 +0000 |
| Subject: | Problem with php 4/5, segmentation fault | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-199927@lists.php.net to get a copy of this message | ||
Hi,
I have a Linux Fedora Core2 system with apache 2.0.51 and php
installed. Recently I 've noticed that some pages stopped working.
Those pages while accessed does not output anything.
After some tests I noticed that the page comes back to live if I
remove the mysql_pconnect call.
I've tried to upgrade php (to 4.3.9 and even 5.0.2). The mysqlclient
tool can connect with no problem.
The test script is
<?php
error_reporting(E_ALL) ;
echo "HI" ;
if(mysql_pconnect("databasehost","user","pass"))
{
echo "OK" ;
}
else
{
echo "NOT OK" ;
}
?>
If I access via http nothing appears. If I use the cli version I can connect.
Regular html and php without db access work ok.
I've even tryed to downgrade or reinstall apache to 2.0.50 or back to 2.0.51.
Any ideas ?