The problem that the eAccelerator cannot use after the patch is used to temporarily resolve the phphash conflict has recently been reported. for details, please refer to the blog post of the snow migratory bird, after applying a temporary patch from brother Xue, he found that the eAccelerator was not easy to use. When php-v is executed, the system prompts [eAccelerator] Thisbuild to solve the problem that the eAccelerator cannot be used after a patch is installed temporarily to solve the php hash conflict.
Recently, the php hash conflict problem has occurred. for details, please refer to the blog post on snow migratory birds,
After applying a temporary patch from brother Xue, he found that the eAccelerator was not easy to use.
A prompt is displayed when php-v is executed.
[EAccelerator] This build of "eAccelerator" was compiled for PHP version 5.2.17. Rebuild it for your PHP version (5.2.17p1) or download precompiled binaries.
This is mainly because the eAccelerator error is reported when the php version is changed.
Find the eAccelerator source code and find that the code for checking the php version number is in the eaccelerator. c file, mainly the encode_version function. find
} Else if (strncasecmp (buf, "beta", 4) = 0) {a = 3; sscanf (buf, "beta % u", & B );}
In this line, add the following code below
} Else if (buf, "p1% u", & B) {a = 0; B = 0 ;}
Re-compile eAccelerator and run php-v again. no error is reported. restart cgi and the eAccelerator directory has been re-duplicated. this problem is solved successfully :)