L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 12, 2008, 11:35:29 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > BeBot 0.5 support > Topic: c:\php5\??
Pages: [1]   Go Down
« previous next »
Print
Author Topic: c:\php5\??  (Read 319 times)
0 Members and 1 Guest are viewing this topic.
Handor
Freshman
*
Offline Offline

Posts: 10


c:\php5\??
« on: June 06, 2008, 01:34:02 PM »


   Hows it going guys and gals.

Windows XP SP3
Bebot v0.4.3
PHP 5.2.6

Current setup, works flawless.

    Every time I try to install the newer svn releases ( for example v0.5.2) with the same php in bot directory it searches for the PHP extensions in C:\php5. If its not there I get the errors saying it needs sockets, and etc. So i make the directory for testing purposes, move copy everything from C:\bebot\php_extension\*.* to c:\php5 and the bot loads fine. I tried to dig through the php files, and confs and I dont see anywhere to adjust this or a area calling for c:\php5.  How do I change this to look for it in the normal directory? I'm a hard drive neat freak  =P  hate staring at the added directory with only 2 files in it.

  Thanks guys, and I did search the forums before posting and it doesn't seem like anyone else has questioned this.

Thanks for reading =)
Logged
Nytridr
Expert
*****
Offline Offline

Gender: Male
Posts: 255


WWW
Re: c:\php5\??
« Reply #1 on: June 06, 2008, 01:47:45 PM »

put c:\php5 in your path directive in your environment, under the advanced tab in your "My Computer" Properties.   This has always worked flawless for me.

Also setup your php.ini file to point to where your modules are, like php_mysql.dll  and so on

Here is what my php.ini looks like  (well partially at least)

Code:
; Error handling and logging ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
display_errors = On
display_startup_errors = On
log_errors = On
log_errors_max_len = 0
error_log = ./log/php_errors.txt
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
error_reporting = E_ALL & ~E_NOTICE
; BeBot will normally use about 10-13megs with default
; modules. Default php memory limit is 8megs.
; Raise default on hosts that permitt it.
memory_limit = 20M

; Mainly for windows where additional modules are always required
extension_dir = ./php_extension/
extension=php_zip.dll
extension=php_sockets.dll
extension=php_mysql.dll

Hope that helps
« Last Edit: June 06, 2008, 01:50:49 PM by Nytridr » Logged

Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)
Handor
Freshman
*
Offline Offline

Posts: 10


Re: c:\php5\??
« Reply #2 on: June 06, 2008, 02:46:15 PM »

Good information to know Nyt Smiley, and I also figured out my sad issue.




can I get a round of applause?    =)


on my machine, fresh install of php package, and .0.5.2 doesn't have a php.ini...*cough*  copied the one from my 0.4.3 install to the 0.5.2 directory..and whalla..fixed.. so apparently the default directory lacking a .ini files defaults to c:\php5

Logged
Nytridr
Expert
*****
Offline Offline

Gender: Male
Posts: 255


WWW
Re: c:\php5\??
« Reply #3 on: June 06, 2008, 11:29:00 PM »

good job..  yea the bots stoped coming with php.ini files since most systems should have them from there php install both manual installs and automatic installs. 

good to hear you figured it out.
Logged

Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > BeBot 0.5 support > Topic: c:\php5\??
« previous next »
 
Jump to:  

Recent
Bossloot for 5.2
by Brac
[Today at 04:45:17 PM]

!security Levels
by Nytridr
[Today at 02:00:16 PM]

Ported Modules
by Jiheld
[Today at 09:00:13 AM]

raid/point system suggest...
by Temar
[October 11, 2008, 11:45:40 PM]

!timers suggestions: alts...
by Alreadythere
[October 11, 2008, 03:19:46 PM]

!server does not work
by Alreadythere
[October 11, 2008, 06:54:38 AM]

TWC
by clashbot
[October 10, 2008, 08:52:57 AM]

Using Bebot in AoC Raid c...
by IKShadow
[October 09, 2008, 02:38:50 PM]

!items database
by cthulhu
[October 09, 2008, 08:00:27 AM]

File upload issue
by GBH
[October 08, 2008, 10:33:40 AM]
Stats
Members
Total Members: 988
Latest: Talmahera
Stats
Total Posts: 10808
Total Topics: 1458
Online Today: 15
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 2
Guests: 22
Total: 24
Hades
Zeephonz

Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.168 seconds with 28 queries. (Pretty URLs adds 0.032s, 4q)
Loading...