hello, i installed PHP 5.2.3 today ony my server (windows 2003 IIS6) and was going to install PHPBB but got halted at this text (The PHP configuration on your server doesn't support the database type that you chose) when trying to install it with MYSQL4.x/5.x setting and wonder what i have missed in the install... anyone that know this ?
You need to configure php with MySQL support. In your php.ini file under Configure Command you need to have MySQL in their.
this is what php.net say for mysql 1:in my php.ini i havd already added my c:\php to the windows path 2: the file php_mysql.dll is enabled as an extension in my php.ini already 3: my extension dir is set to c:\php\ext in php.ini 4: i restarted the server after installing php and changing the php.ini MySQL is no longer enabled by default, so the php_mysql.dll DLL must be enabled inside of php.ini. Also, PHP needs access to the MySQL client library. A file named libmysql.dll is included in the Windows PHP distribution and in order for PHP to talk to MySQL this file needs to be available to the Windows systems PATH. See the FAQ titled "How do I add my PHP directory to the PATH on Windows" for information on how to do this. Although copying libmysql.dll to the Windows system directory also works (because the system directory is by default in the system's PATH), it's not recommended. As with enabling any PHP extension (such as php_mysql.dll), the PHP directive extension_dir should be set to the directory where the PHP extensions are located. See also the Manual Windows Installation Instructions. An example extension_dir value for PHP 5 is c:\php\ext
On windows you need to manually move libmysql.dll into /windows/system32/ directory for PHP to register it during server startup. php.ini has very little to do with installation of MySQL as long as the extensions are uncommented it should be all good in most cases, on windows you need to deal with the dll file.
hey there, i just moved the php_mysql.dll into my system32 folder and restarted the server and i still recive "The PHP configuration on your server doesn't support the database type that you chose" when trying to install someting with the option MYSQL :/
I just looked at your phpinfo, you don't have MySQL installed correctly as far as PHP goes. php_mysql.dll != libmysql.dll php_mysql.dll is the php mysql module libmysql.dll is the mysql client library libmysql.dll needs to be placed somewhere thats visible to windows PATH variable, /windows/system32/ is one of the options where you can put it.
I just looked at your phpinfo, you don't have MySQL installed correctly for it to work with PHP. Might want to follow the instructions php_mysql.dll != libmysql.dll php_mysql.dll is the php mysql module libmysql.dll is the mysql client library libmysql.dll needs to be placed somewhere thats visible to windows PATH variable, /windows/system32/ is one of the options where you can put it.
Cheers Mrmonster! now it's loading in phpinfo and insteed of the other database message i now get this Your admin username has been created. At this point your basic installation is complete. You will now be taken to a screen which will allow you to administer your new installation. Please be sure to check the General Configuration details and make any required changes. Thank you for choosing phpBB2. thanks alow for the help! rep added!