note 44394 added to ref.mysql
| From: | twayn at hotpepper dot com | Date: | Wed, 04 Aug 2004 16:57:52 +0000 |
| Subject: | note 44394 added to ref.mysql | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-73937@lists.php.net to get a copy of this message | ||
To get PHP 5 and mySQL working on Windows (2000 or XP), this is what I did:
1. I made an directory called c:\PHP\extensions
2. I placed php_mysql.dll (from the php-5.0.0-Win32.zip) in the above directory
3. I placed libmysql.dll (also from the php-5.0.0-Win32.zip NOT from my copy of mySQL!!!) in
C:\WINNT\system32 (for Win2k) and C:\WINDOWS\system32 (for XP)
4. In the php.ini file, I edited the extension_dir to read:
extension_dir = "c:/PHP/extensions/"
5. In the php.ini file, I uncommented (if you don't see this line, add it):
extension=php_mysql.dll
That's it!
----
Manual Page -- http://www.php.net/manual/en/ref.mysql.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44394
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44394&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44394&report=yes
Search -- http://master.php.net/manage/user-notes.php