I am working on setting up a new server. It is running PHP v4.4.1, CentOS
4.3 i686 - WHM X v3.1.0, Cpanel WHM 10.8.0 cPanel 10.8.2-R83, MySQL
4.1.18-standard, Apache 1.3.34 (Unix), Kernel 2.6.9-34.EL.
When I attempt to do even the most basic MySQL call in a PHP page, I get:
*** glibc detected *** double free or corruption (!prev): 0x09e66628 ***
[Mon May 22 17:11:53 2006] [notice] child pid 30190 exit signal Aborted (6)
in the error log. I have no idea where to start looking to see why this
happens. Is it PHP? Is it MySQL? Is it configuration?
I wrote a test script:
<?php
$db = mysql_connect(' localhost','dat abase_user', 'database_psswo rd');
mysql_select_db ('database_name ',$db);
$sql = "SELECT * FROM database_table" ;
$result = mysql_query($sq l, $db);
$row = mysql_fetch_ass oc($result);
echo '<h1>DB Testing</h1><pre>';
print_r($row);
echo '</pre>';
?>
Even this rudimentary script, run from the server, produced the error:
root@host [/home/site/www]# php ./phptest.php
<h1>DB Testing</h1><pre>Array
(
[content_id] => 1
[content_tstamp] => 2005-10-13 20:17:25
[content_title] => Welcome to Our Site
[content_text] => We are a family owned business located in Orange
County, Califorina. We work hard all year to produce only the finest widgets
available. Our widgets are always fresh, right out of the trees, we never
use widgets from previous years. Feel free to browse our site and thanks for
your interest.
[content_image] =>
2:000_0011.JPG: 2_2_1fkgh7E4vJ. jpg:225::6:2_2_ 1fkgh7E4vJ-225x.jpg::0:2_2 _1fkgh7E4vJ.jpg
[content_subtitl e] => Your source for fresh widgets direct from the
grower.
)
</pre>*** glibc detected *** corrupted double-linked list: 0x092b9450 ***
Aborted
root@host [/home/site/www]#
Thoughts?
4.3 i686 - WHM X v3.1.0, Cpanel WHM 10.8.0 cPanel 10.8.2-R83, MySQL
4.1.18-standard, Apache 1.3.34 (Unix), Kernel 2.6.9-34.EL.
When I attempt to do even the most basic MySQL call in a PHP page, I get:
*** glibc detected *** double free or corruption (!prev): 0x09e66628 ***
[Mon May 22 17:11:53 2006] [notice] child pid 30190 exit signal Aborted (6)
in the error log. I have no idea where to start looking to see why this
happens. Is it PHP? Is it MySQL? Is it configuration?
I wrote a test script:
<?php
$db = mysql_connect(' localhost','dat abase_user', 'database_psswo rd');
mysql_select_db ('database_name ',$db);
$sql = "SELECT * FROM database_table" ;
$result = mysql_query($sq l, $db);
$row = mysql_fetch_ass oc($result);
echo '<h1>DB Testing</h1><pre>';
print_r($row);
echo '</pre>';
?>
Even this rudimentary script, run from the server, produced the error:
root@host [/home/site/www]# php ./phptest.php
<h1>DB Testing</h1><pre>Array
(
[content_id] => 1
[content_tstamp] => 2005-10-13 20:17:25
[content_title] => Welcome to Our Site
[content_text] => We are a family owned business located in Orange
County, Califorina. We work hard all year to produce only the finest widgets
available. Our widgets are always fresh, right out of the trees, we never
use widgets from previous years. Feel free to browse our site and thanks for
your interest.
[content_image] =>
2:000_0011.JPG: 2_2_1fkgh7E4vJ. jpg:225::6:2_2_ 1fkgh7E4vJ-225x.jpg::0:2_2 _1fkgh7E4vJ.jpg
[content_subtitl e] => Your source for fresh widgets direct from the
grower.
)
</pre>*** glibc detected *** corrupted double-linked list: 0x092b9450 ***
Aborted
root@host [/home/site/www]#
Thoughts?