Installing for the first time? Click Here

Before upgrading, make sure your server meets these requirements. If you're using paFileDB 2, then paFileDB 3 should work without a problem:
 
paFileDB 2.0 or Higher
Unix, Linux, Windows NT/2k/XP OS*
PHP 4 or Above
MySQL Database Access
About 1 MB space for the PHP and image files--Data for categories and files will take up more space
FTP Upload Access
*paFileDB 3 has been tested on the following OSes and has worked without problems: RedHat Linux, Windows 2000 Pro, Windows XP Pro, all running the Apache web server

You will also need the following things:

Text Editor (Notepad/SimpleText will work just fine
FTP Program (Dreamweaver, Frontpage, and other HTML editors are not recommended)*
A little PHP or general programming knowledge might help, but isn't required :)
*Recommended FTP programs for Windows: SmartFTP (Free), CuteFTP ($39.95/Pro: $59.95), WS_FTP ($39.95)

To upgrade from version 2.x, follow these simple steps:

Unzip the paFileDB 3 zip file (You probably already did if you are reading this)
Go into the "includes" directory in the unzipped directory and open up mysql.php in a text editor such as Notepad. Change the variables so they now contain the correct MySQL settings for your server. Your host can provide these settings for you. If you are unsure how to change variables, it's pretty easy. The default MySQL server variable is set as this:
$db[host] = "localhost";
If your MySQL server is db.mysite.com, you would change that variable to this:
$db[host] = "db.mysite.com";
Once you are done, save and close the file. Note: Some text editors (Such as UltraEdit and EditPlus) will make a backup of the file you just saved, such as mysql.php.bak. These files can be viewed by anyone and probably contain MySQL server passwords and can be a security risk. To make sure these files aren't uploaded, delete them before uploading.
If you are upgrading, you must leave $db[prefix] set as "pafiledb"
Once the settings are configured, use your FTP program to upload the files to your server. Put the paFileDB 3 files in a different directory than paFileDB 2*. Example:
paFileDB 2 is in http://www.mysite.com/pafiledb2
Install paFileDB 3 in http://www.mysite.com/pafiledb3
Note: You do not need to upload install.php, but you do need to upload upgrade.php
If you are running a Windows NT/2k/XP server, skip this step. If you're running a Unix/Linux server, continue reading:
CHMOD the directory "uploads" 777 using your FTP program.*
Run upgrade.php in your browser, example: http://www.mysite.com/pafiledb3/upgrade.php and the upgrader will walk you through the steps to finish upgrading paFileDB 3 to the new version
Once paFileDB 3 is working correctly, you can delete upgrade.php and your old paFileDB 2 files from your server.
*See your FTP program's help file for specific instructions on doing this

If you are upgrading from 3.0 Beta 1, follow these steps:

Unzip the paFileDB 3 zip file (You probably already did if you are reading this)
Go into the "includes" directory in the unzipped directory and open up mysql.php in a text editor such as Notepad. Change the variables so the settings in the Beta 3 mysql.php file are the same as the Beta 1 mysql.php. The settings MUST be the same for a Beta 1 to Beta 2 upgrade.
Once the settings are configured, using your FTP program, delete the directory where paFileDB 3.0 Beta 1 is installed. This will not delete your data. Once it's deleted, upload the following files to the server:
-pafiledb.php
-upgrade.php
-Everything in the following directories: images, includes, lang, sessions, styles, uploads
If you are running a Windows NT/2k/XP server, skip this step. If you're running a Unix/Linux server, continue reading:
CHMOD the directory "uploads" 777 using your FTP program.*
Run upgrade.php and click ">> Continue <<" until you get to the Set Options page. Choose "I am upgrading from Version 3 Beta 1" and scroll down and click ">> Continue <<" You do not need to fill out the Settings and Admin info form on the page.
The upgrade process is complete and you can use your database and log into your admin center with the username/password you used on Beta 1.
*See your FTP program's help file for specific instructions on doing this

If you are upgrading from 3.0 Beta 2 or 2.1, follow these steps:

Unzip the paFileDB 3 zip file (You probably already did if you are reading this)
Go into the "includes" directory in the unzipped directory and open up mysql.php in a text editor such as Notepad. Change the variables so the settings in the Beta 3 mysql.php file are the same as the Beta 2/2.1 mysql.php. The settings MUST be the same for a Beta 1 to Beta 2 upgrade.
Once the settings are configured, using your FTP program, upload the following files to the server (Overwrite everything that is there):
-pafiledb.php
-upgrade.php
-Everything in the following directories: images, includes, lang, styles
If you are running a Windows NT/2k/XP server, skip this step. If you're running a Unix/Linux server, continue reading:
CHMOD the directorya "uploads" 777 using your FTP program.*
Run upgrade.php and click ">> Continue <<" until you get to the Set Options page. Choose "I am upgrading from Version 3 Beta 2 or Beta 2.1" and scroll down and click ">> Continue <<" You do not need to fill out the Settings and Admin info form on the page.
The upgrade process is complete and you can use your database and log into your admin center with the username/password you used on Beta 2/2.1.
*See your FTP program's help file for specific instructions on doing this

If you are upgrading from 3.0 Beta 3, follow these steps:

Unzip the paFileDB 3 zip file (You probably already did if you are reading this)
Go into the "includes" directory in the unzipped directory and open up mysql.php in a text editor such as Notepad. Change the variables so the settings in the Beta 3.1 mysql.php file are the same as the Beta 3 mysql.php. The settings MUST be the same for a Beta 1 to Beta 2 upgrade.
Once the settings are configured, using your FTP program, upload the following files to the server (Overwrite everything that is there):
-pafiledb.php
-Everything in the following directories: images, includes, lang, styles
If you are running a Windows NT/2k/XP server, skip this step. If you're running a Unix/Linux server, continue reading:
CHMOD the directory "uploads" 777 using your FTP program.*
The upgrade process is complete and you can use your database and log into your admin center with the username/password you used on Beta 2/2.1.
*See your FTP program's help file for specific instructions on doing this