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

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

Author Topic: Missing php_sockets.dll when starting bot  (Read 3900 times)

0 Members and 1 Guest are viewing this topic.

Offline Shaidar

  • BeBot Rookie
  • *
  • Posts: 11
  • Karma: +0/-0
Missing php_sockets.dll when starting bot
« on: January 23, 2010, 07:05:03 pm »
Hi,
I've installed Vertrigo server which as I understand is all I need to run BeBot (as well as the BeBot files ofc).
In the installation manuel for BeBot (http://bebot.link/wiki/installation) it says to copy php_sockets.dll to the phpext directory. However there is no such file in the Vertrigo directory for me to copy.
So when I start the bot I get this error:
From the StartDebugBot in cmd:
Warning: dl(): Unable to load dynamic library 'C:\php5\php_sockets.dll'

Now this is confusing as I dont have a directory called php5. Both the mysql and php is in the Vertrigo directory.

Any ideas how to fix this?

Offline Drizzurdeen

  • BeBot Apprentice
  • ***
  • Posts: 193
  • Karma: +0/-0
    • Obsidian-Cult
Re: Missing php_sockets.dll when starting bot
« Reply #1 on: January 23, 2010, 11:40:21 pm »
http://php.net/manual/de/sockets.installation.php

maybe this would help u ... hope so ;)

Offline Shaidar

  • BeBot Rookie
  • *
  • Posts: 11
  • Karma: +0/-0
Re: Missing php_sockets.dll when starting bot
« Reply #2 on: January 24, 2010, 09:15:47 am »
Thank you, I've downloaded the missing file and added the line: extension=php_sockets.dll  to the php.ini

But I still get the erroe message. Since the path in the error message is C:\php5\php_sockets.dll I guess I need to change that to say C:\Program files\Vertrigo\php\php_sockets.dll. But where do I change it? I'm no programmer so this might be obvious to others :)

EDIT:
I copy/pasted the php.ini file from the wiki/installation and the problem changed. I now get this error:

Warning: dl(): Unable to load dynamic library 'phpext\php_mysql.dll'

But that file does exist, so why cant it be loaded?. Any ideas?
« Last Edit: January 24, 2010, 10:24:20 am by Shaidar »

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: Missing php_sockets.dll when starting bot
« Reply #3 on: January 24, 2010, 10:54:49 am »
It would be easier for you to put all php/mysql stuff into C:\php5 ...
Having file paths with spaces "Program Files/" could be breaking the stuff too.

Anyway, your setup isnt correct as it try to find php_mysql.dll in a folder named "phpext"
Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

Offline Shaidar

  • BeBot Rookie
  • *
  • Posts: 11
  • Karma: +0/-0
Re: Missing php_sockets.dll when starting bot
« Reply #4 on: January 24, 2010, 11:56:51 am »
Thank you. I think I'll just delete everything and try again without Vertigro, as it seems the installation guide on the wiki only deals with normal php and mysql set up. Too bad as Vertigro was really easy to use.

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


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 ]

* Who's Online
  • Dot Guests: 302
  • 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