Well, what should I edit the chmod to?
here's the rest of the instructions:
----------------------------------
Install:
- Upload and uncompress the downloaded files on your web server.
- Move the 'www' directory (or its contents) into a web accessible directory.
- Move the 'lib' directory into a non-web accessible directory.
- Inside the www/admin directory find the config-dist.php file and rename it to config.php.
- Open the config.php file and edit the following:
- Database connection parameters
// MySQL Database Connection
$GLOBALS[ 'DB_HOST' ] = 'db_host';
$GLOBALS[ 'DB_DB' ] = 'db_db';
$GLOBALS[ 'DB_USER' ] = 'db_user';
$GLOBALS[ 'DB_PASS' ] = 'db_pass';
- Base URL will point to the the location you placed the www directory or its content.
$GLOBALS[ 'SITE_BASE_URL' ] = 'http://example.com/www';
*nix systems:
$GLOBALS[ 'LIB_PATH' ] = '/home/httpd/lib';
Windows systems:
$GLOBALS[ 'LIB_PATH' ] = 'c:\\inetpub\\lib';
- Edit the $GLOBALS[ 'TB_*' ] names if you have tables named the same as the defaults.
- Create the required tables using the appropriate lib/sql/install_*.sql file. If you changed any of the table names in config.php, change them to match in the install_*.sql file too.
- Use the 'mysqli' file if you have PHP5 and MySQL 4.1 or greater.
- Use the 'mysql' file if you have PHP4.
If you don't know, try the opt/test.php to find out. - Make the lib/cache directory writable.
- Place these fonts in the lib/fonts directory:You may aquire these fonts from http://corefonts.sourceforge.net/ or a Windows PC.
- The watermark sizes are initally setup for the fonts listed above. The JPGraph software you may optionally choose to install requires those fonts as well. All that said, you may use any other TrueType fonts you wish.
- Login to the www/admin page with:
Login: admin
Password: changeme
Optional:
- Make the lib/template/*.tpl files writable if you will edit them from inside the admin.
- To enable the stats graphs, install JPGraph:
http://www.aditus.nu/jpgraph/ - Install JPGraph into the lib directory in a folder named 'jpgraph'.
- Edit the jpg-config.inc:
- Change the cache directory path to your lib/cache path.
DEFINE( "CACHE_DIR", "c:\\inetpub\\lib\\cache\\" );
- Change the font directory path to your lib/fonts path.
DEFINE( "TTF_DIR", "c:\\inetpub\\lib\\fonts\\" ); - After you test everything, edit www/admin/config.php and turn off debugging.
$GLOBALS[ 'SITE_DEBUG' ] = 0;
Notes:
- If you have problems:
- Upload the opt/*.php files to you web server and view them in a browser.
test.php - Performs specific tests on your web environment and the capabilities of your PHP/MySQL install.
phpinfo.php - Provide you with all available PHP information.