#php -v php. v. m( K# K: A; m9 n/ O3 z: Y+ J
Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220100525,NTS3 Q: Z& Y0 d( [1 c
PHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)
( v/ i2 C& p' H3 m' eCopyright (c) 1997-2014 The PHP Group
* w" v6 T- F9 z [# S7 X& uZend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
- `& O# c% J$ H' k H
2 D- N( o1 k9 z( T- H. Ocheck敺 php5.3隞乩銝舀 zend guard optimizer2 b9 w& S3 |/ G1 P8 P/ c
: f+ x& Q/ a$ [+ @
google敺潛 Zend Guard Loader舀 php5.3隞乩,隞 摰鋆 Zend Guard Loader ==>
; y9 R2 T1 c1 O" ?0 Acd /usr/local/srcwget http://downloads.zend.com/guard/ ... 23-x86_64.tar.gztar zxvf ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gzcd /usr/local/src/ZendGuardLoader-php-5.3-linux-glibc23-x86_64/php-5.3.xcp ZendGuardLoader.so /usr/lib64/php/modules// r5 A: s; n- ~0 X0 K- ?) I
vi /etc/php.ini怠偏憓嚗 [zend.loader]zend_loader.enable=1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so2 Y1 f- f! \5 n
http service httpd restartphp -vZend Guard Loader requires Zend Engine API version 220090626.The Zend Engine API version 220100525 which is installed, is newer.Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Guard Loader.PHP 5.4.36 (cli) (built: Dec 19 2014 06:28:27)Copyright (c) 1997-2014 The PHP GroupZend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies- {7 \& t( }" O* N& u# a
憟賢憿& Q* m& \3 z; ]% T4 n3 A1 F) X
9 |4 D' b8 d& k: Q+ K! X1 E9 ]
) D# q v: O v A隞亙瘨瑁 end Extension Manager ==>2 E. t0 S3 n6 r" H9 r2 k
vi /etc/php.ini
, w1 _: p0 B7 C! U4 G撠隞乩閮餉圾7 s3 F) H3 N* a3 Y3 l: E4 x
;[Zend]
0 j: c; c. V0 U" u {9 ^;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.39 P7 J6 w& ? T+ m* j
;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3' k- c0 C8 c. k. W8 h
;zend_optimizer.version=3.3.37 @% L# \& c1 u7 X2 ^, Q# L: [) P0 d
;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
' z& `* |" H" `8 m/ f; Z;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so. | j+ M2 H: ]6 b1 c
+ e- l8 x/ ]3 s/ E. E
;[Zend.loader]5 f1 K6 C7 B9 F: [% Z' A, k# R
;zend_loader.enable=1% b7 ]# @2 {& t* }- o- D
;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
1 W& V) ]' [; k7 M/ d3 ]9 c5 \4 o5 ^% _9 B
) w7 e3 ], R+ [
券 httpd
4 N; n# ?, q2 C$ ]
2 u; G# ]5 l$ f6 }# q) s3 N
# w4 L' p; \* }! H/ F( M! P( \0 O# P. |4 @' a4 O: z- M( K W
|
|