PHP5.3.3 FAQs about installing memcache

Source: Internet
Author: User
Tags vc9
A memecache Warning error occurs when the worker process is running and php is played in the command line. The content is as follows: PHP & nbsp; Warning: & nbsp; PHP & nbsp; Startup: & nbsp; memc PHP5.3.3 installing memcache
This person installs memcacheaccording to the tutorial on the internet. However, memcacheis not successfully used. in the process, the process of memcached.exe is running. in the command line, a memecache warning error occurs when php is played. the content is as follows:

PHP Warning: PHP Startup: memcache: Unable to initialize module
Module compiled with build ID = API20090626, TS, VC6
PHP compiled with build ID = API20090626, TS, VC9
These options need to match
In Unknown on line 0

My PHP version is 5.3.3. Do I need to change to another version? Is there any good solution?


------ Solution --------------------
Reference:
PHP Warning: PHP Startup: memcache: Unable to initialize module
Module compiled with build ID = API20090626, TS, VC6
PHP compiled with build ID = API20090626, TS, VC9
These options need to match
In Unknown on line 0

After the PHP source code has been compiled, there are several notes: Compiler, thread security, debugging, and version
Compiler refers to the compiler used during compilation.
Thread Security indicates whether the PHP thread security layer is enabled.
Debugging indicates whether the PHP debugging mode is enabled.
Module compiled with build ID = API20090626, TS, VC6
PHP compiled with build ID = API20090626, TS, VC9
These two statements are:
The module uses the php build tool of release 20090626 to enable thread security. The debugging mode is not enabled, and the compiler is VC6.
PHP uses the php build tool released in version 20090626 to enable thread security. The debugging mode is not enabled, and the compiler is VC9.
Therefore, your problem is that the two are compiled using different compilers.
Therefore, you need to use VC9 to re-compile your memcache module in thread-safe non-debugging mode, or you can find someone else to compile it online.

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.