When you got this
"Failed loading /usr/lib/php5/20090626/xcache.so: /usr/lib/php5/20090626/xcache.so: cannot open shared object file: No such file or directory"
This because you not removing xcache configuration from php.In this example, i using php5-fpm. If you’re using apache2 + php5, so you can find it on /etc/php5/apache2/
How to solve this problem:
1. Removing extension="xcache.so" from /etc/php5/fpm/php.ini
2. Delete file xcache.ini from folder /etc/php5/fpm/conf.d/
-------------
PHP Warning: PHP Startup: apc.shm_size now uses M/G suffixes, please update your ini files in Unknown on line 0
Edit apc.inisudo nano /etc/php5/fpm/conf.d/apc.ini
Change
apc.shm_size="256"
to
apc.shm_size="256M"
Restart MySQL, httpd service
service mysql stop && sleep 1 && service mysql start && sleep 1 && service httpd graceful
or
service mysql stop && sleep 1 && service mysql start
/etc/init.d/apache2 restart
Không có nhận xét nào:
Đăng nhận xét