Chia sẻ mã nguồn tạo trang mạng xã hội phpSocial bằng PHP
by SourceCodec.NETin PHP Scripts on June 2, 2019Choose Your Desired Option(s)
Chia sẻ mã nguồn tạo trang mạng xã hội phpSocial bằng PHP
Hướng dẫn cài đặt cơ bản phpSocial
Cấu hình để cài đặt mã nguồn này:
– PHP 5.3+
– MySQLi Extension
– GD Library
– Rewrite Module for Apache (optional, required for permalinks structure)
– cURL & OpenSSL (optional, required for Facebook integration)
– SSL Certificate (optional, required for Camera access)
Chi tiết cách cài đặt phpSocial (test thử trên localhost, sử dụng wampserver)
– Trong bộ source code tải về sẽ gồm các thư mục:
Documentation: hướng dẫn cài đặt
How to Update: hướng dẫn update
MySQL: database
Script: source code
– Tạo một thư mục chứa source web (ví dụ:phpsocial) trong www của wampserver và coppy source code trong thư mục Script vào.
– Tạo một database trong phpmyadmin và tiến hành import file phpSocial.sql nằm trong thư mục MySQL
– Mở file config.php trong thư mục includes chứa source web trên wampserver (theo ví dụ : ‘phpsocial/includes/’)
và tiến hành cấu hình các thông số như: kết nối MySQL, đường dẫn cài đặt.
// The MySQL credentials
$CONF[‘host’] = ‘localhost’;
$CONF[‘user’] = ‘root’;
$CONF[‘pass’] = ”;
$CONF[‘name’] = ‘phpsocial’;
// The Installation URL
$CONF[‘url’] = ‘http://localhost/phpsocial’;
– Mở file Documentation để tìm hiểu thêm các thông tin khác.
Như vậy sau khi cài đặt thành công, bạn có thể cấu hình, tùy chỉnh các thông tin theo sở thích cá nhân và khám phá các chức năng của CMS này.
Download Category | PHP Scripts |
Product Homepage URL→ | |
Product Version | |
File Type | PHP, CSS, JS, HTML, SQL |
File Size | 606 KB |
Developer | codefir |
Documentation |