I have an old server running PHP 4.4.5, MySQL 5.0.19-nt and PhpMyAdmin 2.8.0.2
running under IIS5 and XP Pro SP2
ALL is well - but the machine is ancient and slow.
I have a new server, much faster, again IIS 5 and XP Pro SP2
I have installed PHP 5.2.4, MySQL 5.0.45 and phpMyAdmin 2.11.1.
Myadmin logs in and talks to the databases
I have copied a simple ‘list database’ PHP file from the old server to the new server
It doesnt work, and after 4 hours I have pulled out what little hair I had left.
The error is
Fatal error: Call to undefined function mysql_connect() in D:websitestsrguidedtourshowdatabase.php on line 85
mysqli extension was already enabled, I enabled mysql extension as well - no change
I also copied the libmysql.dll file to the c:windowssystem32 folder - no change after reboot.
I had problems with the path to the php.ini file
I set Path to “…;d:php;…” in - so why php.ini is read from c:windowssystem32 I have no idea - I also set the system variable PHPRC system variable to d:php - no change
Any help would be appreciated - before I am completely bald
Allan
(cross posting with http://www.htmlforums.com/php-programming/t-no-error-messages-from-mysql-in-php-96408.html )