- a server with PHP >= 5.2.0 installed
- at least one PHP SQLite library extension installed and enabled: PDO, SQLite3, or SQLiteDatabase
The files in the source repositories are for development. You can find the latest stable single-file version here:
https://code.google.com/p/phpliteadmin/wiki/DownloadLinks?tm=2
See https://code.google.com/p/phpliteadmin/wiki/Installation
NEW as of 1.9.4: You can now configure phpLiteAdmin in an external file. If you want to do this:
- rename
phpliteadmin.config.sample.php
intophpliteadmin.config.php
- do not change the settings in
phpliteadmin.php
but inphpliteadmin.config.php
See https://code.google.com/p/phpliteadmin/wiki/Configuration for details.
-
Open
phpliteadmin.config.php
(orphpliteadmin.php
before 1.9.4) in a text editor. -
If you want to have a directory scanned for your databases instead of listing them manually, specify the directory as the value of the
$directory
variable and skip to step 4. -
If you want to specify your databases manually, set the value of the
$directory
variable as false and modify the$databases
array to hold the databases you would like to manage.
- The path field is the file path of the database relative to where
`phpliteadmin.php` will be located on the server. For example, if
`phpliteadmin.php` is located at "databases/manager/phpliteadmin.php" and
you want to manage "databases/yourdatabase.sqlite", the path value
would be "../yourdatabase.sqlite".
- The name field is the human-friendly way of referencing the database
within the application. It can be anything you want.
-
Modify the
$password
variable to be the password used for gaining access to the phpLiteAdmin tool. -
If you want to have multiple installations of phpLiteAdmin on the same server, change the
$cookie_name
variable to be unique for each installation (optional). -
Save and upload
phpliteadmin.php
to your web server. -
Open a web browser and navigate to the uploaded
phpliteadmin.php
file. You will be prompted to enter a password. Use the same password you set in step 4.
-
Download the themes package from the project Downloads page.
-
Unzip the file and choose your desired theme.
-
Upload
phpliteadmin.css
from the theme's directory alongsidephpliteadmin.php
. -
Your theme will automatically override the default.
The project's wiki provides information on how to do certain things and is located at http://code.google.com/p/phpliteadmin/w/ . In addition, the project's discussion group is located at http://groups.google.com/group/phpliteadmin .
If you find any issues while using the tool, please report them at http://code.google.com/p/phpliteadmin/issues/ .