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

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

Author Topic: php_sockets.dll failed  (Read 1768 times)

0 Members and 1 Guest are viewing this topic.

Offline nyteshade

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
php_sockets.dll failed
« on: December 16, 2007, 08:01:14 am »
 
I followed everything the wiki said, although I suppose if I have a problem... I missed something?

I've unrared the BeBot into a folder in C:/ and I installed PhP also at C:/

I changed the Startbot.php:

/*
   This default should work for Windows installs where php is installed to the bot directory.
   */
   $php_bin = "C:\php\php.exe";
   $php_args = " -c ./ ";
   $main_php = "Main.php";   


php_sockets.dll failed. Sockets extention required to run this bot error line 76 is all I keep getting. If I do anything else and try to start the bot I see it open quick and that's it, it closes before it does anything. Error logs aren't saying a whole lot either. I'm about to give up.

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: php_sockets.dll failed
« Reply #1 on: December 16, 2007, 11:57:23 am »
You have to adapt the extension_dir line in your php.ini, it has to point to the right directory. The default is extension_dir = ./php_extension/.

Offline nyteshade

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: php_sockets.dll failed
« Reply #2 on: December 16, 2007, 06:35:37 pm »



; Mainly for windows where additional modules are always required
extension_dir = ./php_extension/


is what it says. I know absolutly nothing about what I'm doing or php or anything to do with coding anything for that matter. I learn quickly I suppose as long as it's watered down enough

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: php_sockets.dll failed
« Reply #3 on: December 16, 2007, 07:53:17 pm »
Copy the php files and directories in the same directory as bebot, should work then.

 

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


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 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: 658
  • 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