Page 1 of 1

VPSSIM can not find zend opcache in your system

PostPosted:03 Dec 2018 10:50
by mrrploc
Sever mình chạy một thời gian thì bị báo lỗi như thế này.
Vậy cách nào để cài lại opcache ?
HIện tại truy cập nhấn 6 là ra y chang hình
Image

Re: VPSSIM can not find zend opcache in your system

PostPosted:03 Dec 2018 10:59
by nguyenoanh
Chào bạn.
Lỗi này xuất hiện do bạn xóa file /etc/php.d/opcache.ini
bạn tạo lại file này với nội dung:
Code: Select all
zend_extension=opcache.so
opcache.enable=1
opcache.enable_cli=1
opcache.memory_consumption=80
opcache.interned_strings_buffer=32
opcache.max_accelerated_files=10000
opcache.max_wasted_percentage=5
opcache.use_cwd=1
opcache.validate_timestamps=1
opcache.revalidate_freq=1800
opcache.save_comments=1
opcache.fast_shutdown=1
và cấu hình lại theo ý bạn.

Re: VPSSIM can not find zend opcache in your system

PostPosted:03 Dec 2018 11:20
by mrrploc
Đã chạy ổn cảm ơn anh Oánh

Re: VPSSIM can not find zend opcache in your system

PostPosted:03 Dec 2018 11:22
by nguyenoanh
mrrploc wrote:
03 Dec 2018 11:20
Đã chạy ổn cảm ơn anh Oánh
okie bạn :)