PhpShop

来自开放百科 - 灰狐
跳转到: 导航, 搜索
Phpshop.gif

在线演示

http://demo.huihoo.com/phpshop/htdocs/
帐号: demo/demo

安装指南

创建数据库

mysqladmin -u root -p create phpshop 或
mysql>create database phpshop;
mysql>GRANT ALL PRIVILEGES ON phpshop.* TO phpshop@localhost IDENTIFIED BY 'phpshop';
mysql>flush privileges;

导入数据

mysql -uphpshop -pphpshop phpshop < db/phpshop.sql

vi phpshop/htdocs/index.php

define('PS_BASE', '/var/www/phpshop/');

vi phpshop/etc/config.php

# URL & SECUREURL Settings
define("URL","http://demo.huihoo.com/phpshop/htdocs/");
define("SECUREURL","http://demo.huihoo.com/phpshop/htdocs/");
# Database Settings
define("DB_HOST","localhost");
define("DB_NAME","phpshop");
define("DB_USER","phpshop");
define("DB_PWD","phpshop");

相关链接

Comment-32x32.png

<discussion>characters_max=300</discussion>

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱