I am running Windows2000 Professional on my laptop (don't ask) and had been using PHP3, Apache 1.3.12, and MySql with quite a few crashes. So I downloaded PHP4.0.1 and loaded the file in following the install instructions . PHP IS working and i see my pages...but i can't get it to work with mysql. To make a long story short i can't connect to mysql anymore because i do not have the mysql extension available to me through version 4 since it is included in the isapi extension/filter. the problem is that when i add the isapi extension to php.ini i get the warning message: "Invalid library (maybe not a PHP library) 'php4isapi.dll'" If i copy my old version of php_mysql to c:\php4\ and then add that extension to php.ini with the extension dir=" C:\PHP4\" i get the error message: "The dynamic link library LIBMYSQL.dll could not be found in the specified path c:\php4;.;C:\WINDOWS\System32"...so i copied that file from c:\mysql\debug\libmysql.dll to c:\windows\system32\ and then these 2 messages appeared: "The procedure entry point mysql_errno could not be located in the dynamic link library LIBMYSQL.dll" and then "Unable to load dynamic library 'C:\PHP4\php_mysql.dll' - The specified procedure could not be found." Sorry this was so long...a simpler answer than this message would be best. Please help me out...this is driving me crazy!
1) I have the same problem for 'C:\PHP4\php_mysql.dll' .
2) where did you read that php4_isapi.dll is an extension ?? I wonder if the link between this dll and the exe is not an hard link. Did you try without write in your php.ini ??
Vince
i'm not sure what you mean about "trying it without write." i read somewhere (have been to millions sites recently trying to find answers) that the isapi.sll this was a filter, but i could be wrong here. either way, since php works...but just not with mysql support i am TOTALLY confused.
I think you just want use MySql functions in PHP4, to do so, you don't need to do anything about dlls. MySql function support is buildin in PHP4, you can use phpinfo() to show.
how could i be that stupid! thank you so much.