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.