Php Image Host Installation Guide

### Installing Php Image Host

Follow the steps below to install your copy of Php Image Host:

1. Create a mysql database on your site to use with Php Image Host. If you do not know how to do this ask your web hosting company.
2. Import the database table structure and default data contained in the file "/install/sql.sql" into this database using PhpMyAdmin or your favourite mysql admin software is. If you do not know how to do this, please ask your web hosting company (or if PhpMyAdmin is installed we can talk you through it).
3. Edit the file "/includes/db.inc.php" with the settings for connecting to your database (mysql host, username, password and database name).
4. Upload all the files in the Php Image Host distribution to your web server's public_html or www directory.
5. Set the permissions on the "/images" and "/thumbs" directories so that php scripts can write to them. If you do not know how to do this, please ask your web hosting company.
6. Browse to http://www.yoursite.com/install/index.php - if you have successfully followed the steps above, you should be presented with the setup page for Php Image Host. Fill in all the relevant fields and submit the form to complete setup of your image hosting site.
7. If the install process has worked, you should be able to login to your admin area at http://www.yoursite.com/admin/index.php using the username admin and the password password. Please change the admin username and password immediately on the settings page at http://www.yoursite.com/admin/settings.php.
8. If its all working correctly, please delete the "/install" directory from your server, then finish editing any settings you want to in the admin area.
9. Congratulations! Your new image hosting site is setup and ready to go :)