I am not sure this is the correct forum, but I have a RedHat server running Apache 2.0 with MySQL 4.0.18 and PHP 4.0.
I copied the webpages over to another server, with several virtual domains but can not seem to get the PHP page to function properly. It is complaining about mysql_connect as an unknown function when I try to display the index.php page (it reads from the MySQL database).
However, if I type in php index.php > newpage.html it works fine, so the MySQL permissions and connectivity are fine.
As another test, I created the infamous phpinfo(); test page and it works fine.
Am I missing something in the Apache config for PHP_MySQL modules or something?
Any ideas or pointers would be greatly appreciated.
Tony