Annoying MySQL Fatal error
Following my recent re-installation of Windows I had to install a new instance of Apache. I got PHP working alright but on trying to access my MySQL database through a login script I got this error: Fatal error: Call to undefined function mysql_connect() in C:\webroot\MySqlConnector.php on line 26.
To resolve this I had to copy the libmysql.dll to the Apache Group\Apache2\bin\ folder. I
found this to be very unusual since I have never needed to do this before. The most
important thing is that the issue is now gone.