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: php.ini file  (Read 2794 times)

0 Members and 1 Guest are viewing this topic.

Offline Neznanec

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
php.ini file
« on: June 02, 2010, 01:00:22 am »
I read whole documentation on Bebot wiki and only think I dont understand is this php.ini file part.

"The last thing we need now is a php.ini file containing some PHP settings. You can use the following php.ini as a starting point: "
then there is text below.

how do I make this file or where to find it. its kinda important because bot just cant access phpext folder in which are sockets and few other things.

Only thing that bothering me :D and its so damn important for bot to start.

Offline Neznanec

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: php.ini file
« Reply #1 on: June 03, 2010, 01:35:08 am »
well I managed to reapir that :)    but now it loads Curl extension but then nothing happens for 2-3 mins then it says

        Your operating system is detected as 32bit

===================================================

Curl extension loaded

Warning: mysql_connect(): [2002] A connection attempt failed because the connected party did not  (trying to conn
ect via tcp://localhost:3306) in C:\Users\Gosak\Desktop\BeBot\Sources\MySQL.php on line 129

Warning: mysql_connect(): A connection attempt failed because the connected party did not properly respond after
a period of time, or established connection failed because connected host has failed to respond.
 in C:\Users\Gosak\Desktop\BeBot\Sources\MySQL.php on line 129
MySQL ERROR(# 1) on query: Cannot connect to the database server at localhost as user gosak!
A connection attempt failed because the connected party did not properly respond after a period of time, or estab
lished connection failed because connected host has failed to respond.

C:\Users\Gosak\Desktop\BeBot>pause
Press any key to continue . . .




but I am sure that I have set up the database.

Offline Neznanec

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: php.ini file
« Reply #2 on: June 03, 2010, 01:40:52 am »
C:\Users\Gosak>mysqlshow -u root -p
Enter password: ******
+--------------------+
|     Databases      |
+--------------------+
| information_schema |
| gosak              |
| mysql              |
| s8gh9a             |
| test               |
+--------------------+



databases I created and gosak is one of them.

Offline Ixiaan

  • BeBot Rookie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: php.ini file
« Reply #3 on: June 04, 2010, 10:19:55 pm »
Quote
Cannot connect to the database server at localhost as user gosak!

Make sure the gosak SQL user has permissions to modify whichever SQL database you are using. In your previous post you loged on as root, you should do mysql -u gosak -p to check the permissions.

 

* 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: 198
  • 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