Page 2 of 2
Posted: Sun Mar 26, 2006 8:12 pm
by s.dot
in your php.ini
find the line that says
;extension=php_mysql.dll
if there's a ; in front of the line, remove it
and put the dll in your extensions directory
same with libmysql.dll
[[this is what i do on windows, probably differs on linux]]
Posted: Sun Mar 26, 2006 8:14 pm
by josh
[[this is what i do on windows, probably differs on linux]]
correct, the .dll file will throw an error that its an invalid extension most likely
Posted: Sun Mar 26, 2006 8:15 pm
by Cheeseboy
Man this is a pain.

Well if anyone has that extension and post it here i would appreciate it.
Posted: Sun Mar 26, 2006 8:16 pm
by Cheeseboy
and put the dll in your extensions directory
what do you mean?
Heres what my extensions look like:
Code: Select all
;extension=php_mbstring.dll
;extension=php_bz2.dll
;extension=php_cpdf.dll
;extension=php_crack.dll
;extension=php_curl.dll
;extension=php_db.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_dbx.dll
;extension=php_domxml.dll
;extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_filepro.dll
;extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_hyperwave.dll
;extension=php_iconv.dll
;extension=php_ifx.dll
;extension=php_iisfunc.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_java.dll
;extension=php_ldap.dll
;extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
;extension=php_mssql.dll
;extension=php_msql.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
;extension=php_oracle.dll
;extension=php_pdf.dll
;extension=php_pgsql.dll
;extension=php_printer.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_sockets.dll
;extension=php_sybase_ct.dll
;extension=php_w32api.dll
;extension=php_xmlrpc.dll
;extension=php_xslt.dll
;extension=php_yaz.dll
;extension=php_zip.dll
;extension=php_mysql.dll
;extension=php_mysqli.dll
Posted: Sun Mar 26, 2006 8:21 pm
by josh
Worst case scenario all you have to do is compile PHP, just download the source from
http://www.php.net and read the docs...
Posted: Sun Mar 26, 2006 9:45 pm
by jrd
Cheeseboy wrote:The only reason i asked how to link them is best i get this error on phpbb:
The PHP configuration on your server doesn't support the database type that you chose
and people tell me that there not linked properly. How can i fix this error its driving me crazy!

is there some kind of file like php.ini and httpd for mysql?
are you running php5?
Posted: Mon Mar 27, 2006 5:35 am
by s.dot
taken from
http://us2.php.net/mysql
PHP 5+
MySQL is not enabled by default, nor is the MySQL library bundled with PHP. Read this
FAQ for details on why. Use the --with-mysql[=DIR] configure option to include MySQL support. You can download headers and libraries from MySQL.
Posted: Mon Mar 27, 2006 5:45 am
by Cheeseboy
Becasue of that problem i down grade to 4.xx and i have the php_mysql.dll and other extensions now.