Thursday, December 9, 2010

PHP Point Of Sale Installation Guide on CentOS 5.5

download the latest release of php point of sale here:
http://www.phppointofsale.com/downloads.php

extract and upload it to your /var/www/html folder

rename the folder to pos

login to shell

install additional software needed

yum install httpd
yum install php
yum install mysql
yum install php-mysql
yum install php-devel
yum install php-pear
yum install gcc
pear install pecl/json

cd /etc/php.d
echo "extension=json.so" > json.ini

reboot

mysql -u root -p
create database pos;
grant all on pos.* to posuser@localhost identified by 'pospassword';
flush privileges;
exit

import the database

mysql -u root -p pos < /var/www/html/pos/database/database.sql -v
cd /var/www/html/pos/application/config
cp database.php.tmpl database.php
vi database.php

fill up the database info and save it.

you're done.

3 comments:

  1. in some reasons, i am experiencing error in

    pear install pecl/json

    but i was able to fix it via downloading the file here:

    http://www.filewatcher.com/m/json-1.2.1.tgz.17780.0.0.html

    and yum install json-1.2.1.tgz

    goodluck!

    ReplyDelete
  2. Thanks for sharing this post. Maybe this will help me sometimes.

    Cris | Web Development Company Philippines

    ReplyDelete