note 46027 added to function.mysql-connect
| From: | yevgeny at 607design dot com | Date: | Mon, 27 Sep 2004 13:26:06 +0000 |
| Subject: | note 46027 added to function.mysql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-77431@lists.php.net to get a copy of this message | ||
PHP5 does not load the MySQL library by default; you must manually enable it by uncommenting the
following line in php.ini:
extension=php_mysql.dll
The extension_dir directive is set to the value of "./" by default. I was unable to
determine what the implied relative directory is, so I changed it to something less ambiguous
(C:\php).
Also, the MySQL library requires libmysql.dll, so you would probably want to copy it to C:\WINNT.
Hope this helps someone.
----
Manual Page -- http://www.php.net/manual/en/function.mysql-connect.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46027
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46027&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46027&report=yes
Search -- http://master.php.net/manage/user-notes.php