BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Age of Conan Archive => AoC 0.6 support => Topic started by: Shaidar on January 23, 2010, 07:05:03 pm

Title: Missing php_sockets.dll when starting bot
Post by: Shaidar 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?
Title: Re: Missing php_sockets.dll when starting bot
Post by: Drizzurdeen on January 23, 2010, 11:40:21 pm
http://php.net/manual/de/sockets.installation.php

maybe this would help u ... hope so ;)
Title: Re: Missing php_sockets.dll when starting bot
Post by: Shaidar 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?
Title: Re: Missing php_sockets.dll when starting bot
Post by: Getrix 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"
Title: Re: Missing php_sockets.dll when starting bot
Post by: Shaidar 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.
SimplePortal 2.3.7 © 2008-2025, SimplePortal