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.
in some reasons, i am experiencing error in
ReplyDeletepear 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!
yup, me too >.<
ReplyDeleteThanks for sharing this post. Maybe this will help me sometimes.
ReplyDeleteCris | Web Development Company Philippines