BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.5 support => Topic started by: Handor on June 06, 2008, 08:34:02 pm

Title: c:\php5\??
Post by: Handor on June 06, 2008, 08: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 =)
Title: Re: c:\php5\??
Post by: Nytridr on June 06, 2008, 08: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: [Select]
; 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
Title: Re: c:\php5\??
Post by: Handor on June 06, 2008, 09:46:15 pm
Good information to know Nyt :), 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

Title: Re: c:\php5\??
Post by: Nytridr on June 07, 2008, 06:29:00 am
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.
SimplePortal 2.3.7 © 2008-2024, SimplePortal