I am trying to put together a single Windows 2003 machine running IIS6, PHP, and MySQL in order to run Drupal. When I open the Drupal configuration page, it can't connect to the database. I get this error msg:
"Your web server does not appear to support any common database types. Check with your hosting provider to see if they offer any databases that Drupal supports."
The error page gives me this link:
http://drupal.org/node/270#databaseI have tried the suggestions there. I have reinstalled mysql and php. I have been using MySQL Control Center 0.9.8, which is a Win32 GUI app, to manage mysql and it appears the databse is runnning fine. I can make/edit databases and user accounts. I can manage permissions.
I have a good understanding of how php integrates into IIS, but I have less understanding how mysql is tied in. I have run some of the scripts from
http://www.php.net/mysql_connect but I always get this error:
"Fatal error: Call to undefined function mysql_connect() in C:\Inetpub\wwwroot\drupal-
5.5\php1.p
hp on line 2"
I can telnet to localhost 3306 and get a connection, so I know the SQL server is listening on that port.
I have played around with my.ini and php.ini but that didn't help. I haven't been able to find much in the way of noobie explanatins of what these settings mean.
I'm using these versions:
php-5.2.5-win32-installer.
msi
mysql-5.0.45-win32.zip
drupal-5.5.tar.gz
Windows 2003 Server SP2
PHP appears to be working ine. I'm out of ideas. Here's the output from phpinfo:
System Windows NT WEB1 5.2 build 3790
Build Date Nov 8 2007 23:18:08
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"
Server API ISAPI
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINDOWS
Loaded Configuration File (none)
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety enabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, data, http, ftp, compress.zlib
Registered Stream Socket Transports tcp, udp
Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*
Start Free Trial