File: README.Debian

package info (click to toggle)
libphp-adodb 4.52-1sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 464 kB
  • ctags: 3
  • sloc: sh: 45; makefile: 12
file content (54 lines) | stat: -rw-r--r-- 1,458 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
libphp-adodb for Debian
-----------------------

I. Using the adodb php library
-------------------------------
You should include the adodb path to your php.ini file in
/etc/php4/apache/php.ini. After this you can easily include
the scripts without the full path the to adodb library:

   include_path = ".:/usr/share/pear:/usr/share/php4:/usr/share/adodb"

   <?php
      include('adodb.inc.php');
   ?>

Sample scripts can be found under /usr/share/doc/libphp-adodb/examples/.

You _MUST_ also install the php4 package for each database you would like
to use in your php scripts with adodb:

   for mysql:
   # apt-get install php4-mysql



II. Installing icons in apache
-------------------------------

This is an example configuration to setup your apache web-server to use
the adodb icons:

   Alias /adodb-icons/ /usr/share/adodb/icons/
   <Directory /usr/share/adodb/icons>
      Options Indexes MultiViews
      AllowOverride None
      Order allow,deny
      Allow from all
   </Directory>



III. Unsing sql-based sessions
-------------------------------

Under /usr/share/doc/examples/session you can find some sql scripts to create
tables, which can be used to store apache sessions into it. Please consult
the documentation of your database, about how you can install/apply those
scripts.

For more details, please have a look at: adodb-sess.txt (in this directory)


 -- Thorsten Sauter <tsauter@debian.org>  Mon, 15 Dec 2003 22:19:22 +0100