ok i was wandering if i'm just hosting my site on somebody elses server how can i put that file in the required directory?
Is their a way to instal it in another directory then just call it from their?
thanks
Toby
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My setup is on a FreeBSD system by my ISP 9netave.com. So the steps
I explain here may or may not make sense to you.
On 9net, I get acess to one folder below my doc root, and I made a folder called
PHPLIB and dumped all the PHPLIB stuff in there... I overwrote the template.inc
with the updated version from the PHPWidgets project and dumped phpwidgets.inc.php3
in that directory.
Next, I modified the "php3.ini" file in my CGI-BIN dir (you may have to place it in a different
dir for mod_php3 ISPs or ask the admin to make these changes to their master .ini in the /etc/
dir):
- Changed the include directory to
1.
include_path = /ux41/2/009/phplib:. ;
before the colon is my phplib dir from the system root
(you can find your root folder in the start the document_root var in phpinfo();),
notice after the colon is a period, this is important or else no include files will
be included from the current directory unless you specifiy the whole path... so
make damn sure that period is there unless you like to type. :)
2.
; automatically add files before or after any PHP 3.0 document
auto_prepend_file = prepend.php3
auto_append_file =
prepend.php3 is in my /ux41/2/009/phplib dir, so without my include path
it would not be found.
anything else I changed there would have been in the docs that came with
PHPLIB, i.e. setting up the session db....
I hope that helps you get rolling,
-Ironstorm
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ok i was wandering if i'm just hosting my site on somebody elses server how can i put that file in the required directory?
Is their a way to instal it in another directory then just call it from their?
thanks
Toby
I apoligize for the delay,
My setup is on a FreeBSD system by my ISP 9netave.com. So the steps
I explain here may or may not make sense to you.
On 9net, I get acess to one folder below my doc root, and I made a folder called
PHPLIB and dumped all the PHPLIB stuff in there... I overwrote the template.inc
with the updated version from the PHPWidgets project and dumped phpwidgets.inc.php3
in that directory.
Next, I modified the "php3.ini" file in my CGI-BIN dir (you may have to place it in a different
dir for mod_php3 ISPs or ask the admin to make these changes to their master .ini in the /etc/
dir):
- Changed the include directory to
1.
include_path = /ux41/2/009/phplib:. ;
before the colon is my phplib dir from the system root
(you can find your root folder in the start the document_root var in phpinfo();),
notice after the colon is a period, this is important or else no include files will
be included from the current directory unless you specifiy the whole path... so
make damn sure that period is there unless you like to type. :)
2.
; automatically add files before or after any PHP 3.0 document
auto_prepend_file = prepend.php3
auto_append_file =
prepend.php3 is in my /ux41/2/009/phplib dir, so without my include path
it would not be found.
anything else I changed there would have been in the docs that came with
PHPLIB, i.e. setting up the session db....
I hope that helps you get rolling,
-Ironstorm