Problems and solutions in LNMP Management Center

Source: Internet
Author: User
Tags include memcached

First of all, to ensure that the LNMP architecture built successfully, the version below, personally tested.

1. LNMP Environment

nignx:1.0.15

pcre:8.12

mysql:5.0.77

php:5.3.16

PHP needs to include modules:

eaccelerator:0.9.6.1

zendguardloader:3.3

memcache:2.2.6

Pdo_mysql

2. Other

memcached:1.4.14

You must include these or you will frequently make an error.

Several common errors are reported below.

Problem 1:warning:cannot Modify header information-headers already sent by (output started at/www/cache/cvmemcache.php:58) I n/www/web/default/center/do/user/cmdbase.php on line 373

This problem is because the database is not imported and the database is not found

Problem 2:fatal Error:class ' Memcache ' not found in/www/cache/cvmemcache.php in line 57

The following problem is that the memcached service is not started or memcache is not installed

Solution: Directly to the Internet to download and compile the installation but the version to be compatible, if not compatible or useless, if the memcached did not open, direct start can!

Question three: is a lot of people headache garbled problem! I also have a headache for a long time! Here are the solutions!

For example: http://xxx/xx/static_cmd/into this file

Then import the database

FLUSH privileges; Refresh rights add root password 123

Restart all service Services Nginxd restart

Service mysqld Restart

Service memcached Restart

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.