View Single Post
  #3 (permalink)  
Old November 10th, 2005, 02:54 AM
imranphp imranphp is offline
Registered User
 
Join Date: Nov 2005
Location: , , Pakistan.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

do the following
1)include your php path (e.g c:\php)in the enviroment variables.
my computer-->Properties-->Advanced-->Enviroment Variables-->Select "PATH" from the list and press Edit.go to the end of line and
enter your php path for example c:\php

2)Copy php_mysql.dll to c:\php (or to your php path). if it is already there then ok.
   (you can find it in the ext folder of your php folder)
3)copy libmysql.dll to c:\php (or to your php path). if it is already there then ok.

4)Open php.ini file and add the following line in the extension list
   Extension=php_mysql.dll
  Save and close file.

5)restart your system.

6)Your above code is right now run it again.
          thanks (imran ali)

Reply With Quote