The process of building PT station under Windows nexusphp

Source: Internet
Author: User

Build environment: WIN7+XAMPP (5.5)

Web site root directory: D:\IT\XAMPP5.5\htdocs\

1 Download the source code program http://sourceforge.net/projects/nexusphp/, extract to the site root directory.

2 Creating a Database pt, importing _db\dbstructure.sql

3 Modifying the nexusphp configuration file:config\allconfig.php 

  ... 
$BASIC =array ( ' SITENAME ' = > ' sqd-pt ', // site name
' Baseur L ' = ' localhost/nexusphp ', //site root url:
' announce_url ' = ' nexusphp/announce.php ',

' mysql_host ' = ' localhost ', // mysql server
' Mysql_ User ' = ' your-username ', // User name and password that can be connected to MySQL
' mysql_pass ' + ' Your-password ',

' mysql_db ' = ' pt ', // );
...

4 Download the Php_memcache.dll module to the PHP extension directory php\ext\ then import the module in php.ini extension=php_memcache.dll

Or

Modify localhost in ' classes/class_cache.php ' to 127.0.0.1.

Otherwise, an error may occur: Fatal error:class ' Memcache ' not found ...

5 browser access to http://10.20.62.139/nexusphp, will automatically jump to the login.php page, random registration of a user admin and login, now admin is just a regular user

6 Change Admin user to admin, modify user's class value in Pt.users table

Update set class=whereuser name='admin' 

The process of building PT station under Windows nexusphp

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.