BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Age of Conan Archive => BeBot Hyborian support => Topic started by: n3xx on July 20, 2008, 05:14:05 am

Title: php_mysql.dll is not a valid win32 application?
Post by: n3xx on July 20, 2008, 05:14:05 am
everytime i try to run the bot it just gets stuck on

Unable to load dynamic libarary c:\php5\php_mysql.dll is not a valid win32 aplication

i have made sure to download lastest php and the file its talking about is in there?
Title: Re: php_mysql.dll is not a valid win32 application?
Post by: n3xx on July 20, 2008, 05:18:26 am
also i thought i would add im running winxp x64 i donno if this is a problem
Title: Re: php_mysql.dll is not a valid win32 application?
Post by: Zeephonz on July 20, 2008, 08:00:48 am
Make sure the php.ini file is the same directory as the bot.... I don't think it's in the 0.5.2 download, so get it from the 0.4.3 download.

In that file are 3 lines you need to edit...

extension_dir (add path to where php_mysql.dll is)
uncomment the 2 lines (extension=) for windows support files.

Title: Re: php_mysql.dll is not a valid win32 application?
Post by: n3xx on July 20, 2008, 10:07:52 pm
Warning: dl(): Unable to load dynamic library 'C:\Program Files\PHP\ext\php_mysq
l.dll' - %1 is not a valid Win32 application.
 in C:\bebot\Main.php on line 107
Loading php_mysql.dll failed. MySQL extention required to run this bot
C:\bebot>pause
Press any key to continue . . .


i did what you said i edited the .ini just like you said that is the error i get
Title: Re: php_mysql.dll is not a valid win32 application?
Post by: n3xx on July 21, 2008, 02:48:23 am
nvm i just reinstalled php and it works ok now
SimplePortal 2.3.7 © 2008-2025, SimplePortal