i did edit the php.ini file but nothing happend.
so i read again the install.txt file and saw that in order to enable mysql you need the lidmysql ( or whatever the name is) file from previous versions. but it was already in the php folder so i just added the line >> loadfile lidmysql.dll
to the httpd file
but now it seems to work when it feels like it...
Enabling the module in your php.ini file and restarting your web server should've been all you needed to do. I've never used "loadfile lidmysql.dll" in my httpd file ever and my scripts almost all use a database.
Apparently I was wrong.
I rechecked when mysql works. It works if first I run php 5.2.0 and right after I upgrade and run php 5.3.1
I am absolutely sure of this since I used the phpinfo() function to check this.
That sounds like it might be either incorrect usage of the function, an old module (did you download the zip file I suggested a few posts back that has the PHP src and all modules?), or an incorrect configuration.
Are you able to connect to and use MySQL separately from PHP?
I could've swarn I advised you to download the "VC6 x86 Thread Safe" version from php.net and unzip the contents into your PHP directory. Maybe I was confused with another similar thread.
Bookmarks