Recently, PHP and mySQL were working fine on my server. Now, php works--I can see phpinfo() (www.vorwaller.cc/phpinfo.php)and other php pages fine. mySql also seems to be working--I can access phpmyadmin without any problems.
The strange thing is that php and mySql have stopped working together in every case EXCEPT with phpmyadmin. Anytime I use the mysql_connect() function, I get a call to undefined function error. (http://www.vorwaller.cc/connect.php).
<?php
$db = mysql_connect("localhost", "database", "password");
?>
What has me most confused it that a. it was working before and has now stopped and b. phpmyadmin still works. I also had a phpbb database up and running--it simply gives a blank page (www.vorwaller.cc/forum). I have other sites on the server that have the same problems.
The server is Redhat 7.2 with Ensim.
Has anyone else had this problem or can you offer me suggestions? Thank you in advance, Marcus.