NOTICE: PHP message: PHP Warning: PHP Startup: memcache: Unable to initialize moduleModule compiled with module API=20060613PHP compiled with module API=20121212These options need to match in Unknown on line 0


升级php后原来的扩展不兼容

解决办法


/home/pubsrv/php5510/bin/pecl install memcache



imagick 也可以用这种办法



5.5以后php编译的时候加上以兼容pdo --with-pdo-mysql=/home/pubsrv/mysql