Problem with php 4/5, segmentation fault

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

 



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 ?

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux