The following information may have errors; It is not permissible to be read by anyone who has ever met a lawyer. Use is confined to Engineers with more than 370 course hours of electronic engineering for theoretical studies.
ph +1(785) 841 3089 Email inform@xtronics.com
Phreebooks Software Installation
Contents |
[edit] Prerequisites
[edit] mysql
mysql > 4 Open the mysql shell and:
- Create a table for your company name as below where company = your database name. Capitalization counts!
CREATE DATABASE company;
- Create a user
CREATE USER 'phreebooks_user'@'localhost';
- Set passwrod for the user.
set password for 'phreebooks_user'@'localhost' = password('user-password')
- It is good practice here is to limit the privileges to the database company to protect other databases.
GRANT ALL PRIVILEGES ON company.* TO 'phreebooks_db_user'@'localhost' WITH GRANT OPTION;
[edit] php
PHP Version: 5.0 and higher
On Debian you will want to add support for mysql, gd, and curl
Wajig install php-curl php-gd php5-mysql
[edit] apache
Just point to the Phreebooks directory
Continue with Phreebooks Company setup
[edit] Installation
Point your browser to the top directory and follow instructions.
[edit] Upgrading R1.2.1 to R1.3
Expand the tarball into a new directory.
From the old installation directory to the new one - Copy
- includes/configure.php
- my_files/
Point apache at the new Phreebooks directory.
Make sure the privileges are set to read-only for configure.php. The database is upgraded automatically.