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?
August 29, 2008, 09:01:30 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 288 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
Experienced
****
Offline Offline

Posts: 240


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
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
Experienced
****
Offline Offline

Posts: 240


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
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
Dont get any TowerAttack ...
by Ziodberg
[Today at 06:15:35 PM]

Org Relaying
by Nytridr
[Today at 03:43:06 PM]

Auto reinvite not setting...
by Temar
[Today at 02:12:59 PM]

Link 2 Guilds via 2 Bots?
by Nytridr
[Today at 01:19:39 PM]

Question about Logon.php
by Temar
[Today at 07:17:13 AM]

MOTD module from 2.x to 4...
by Karsta
[Today at 04:14:55 AM]

Upcoming Channels
by Temar
[Today at 04:00:07 AM]

Reducing the load on a se...
by Alreadythere
[August 28, 2008, 03:29:35 PM]

Ported Modules
by krommel
[August 28, 2008, 12:01:19 PM]

Communication between gui...
by Temar
[August 27, 2008, 08:28:49 PM]
Stats
Members
Total Members: 949
Latest: pobo
Stats
Total Posts: 10356
Total Topics: 1406
Online Today: 20
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 2
Guests: 32
Total: 34
chamoul
Chakki

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.588 seconds with 28 queries. (Pretty URLs adds 0.03s, 4q)
Loading...