I'm fairly new to php and mysql, but I've been reading up and am starting my own website on my own server using Apache 2.0.40 on RedHat 8.0
I decided to test mysql and php with this little php code:
<?php
$linkID = mysql_pconnect("localhost", "******", "******");
if($linkID != FALSE)
{
print "Persistent connection established";
}
else
{
print "Hey, it don't work";
}
?>
(username and password changed by me)
I get this error when I visit the page I put this code on:
Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/Admin/mysqltest.php on line 12
Any suggestions?