collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18365
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: php_mysql.dll is not a valid win32 application?  (Read 6563 times)

0 Members and 1 Guest are viewing this topic.

Offline n3xx

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
php_mysql.dll is not a valid win32 application?
« 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?

Offline n3xx

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: php_mysql.dll is not a valid win32 application?
« Reply #1 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

Offline Zeephonz

  • BeBot User
  • **
  • Posts: 43
  • Karma: +0/-0
Re: php_mysql.dll is not a valid win32 application?
« Reply #2 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.


Offline n3xx

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: php_mysql.dll is not a valid win32 application?
« Reply #3 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

Offline n3xx

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: php_mysql.dll is not a valid win32 application?
« Reply #4 on: July 21, 2008, 02:48:23 am »
nvm i just reinstalled php and it works ok now

 

* Recent Posts
0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm ]

* Who's Online
  • Dot Guests: 345
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal