Page 3 of 4
Re: Lỗi VPSSIM can not start PHP-FPM Service
PostPosted:24 Sep 2018 11:59
by nguyenoanh
Độc Công Tử wrote: ↑23 Sep 2018 22:49
e sửa lại info zend opache thì cũng bị lỗi này
Em sửa ntn vậy ?
Re: Lỗi VPSSIM can not start PHP-FPM Service
PostPosted:24 Sep 2018 14:08
by Độc Công Tử
Em sửa ntn vậy ?
à e change cấu hình ấy anh thì nó bị vậy
Cho e hỏi e cài memcached bị lỗi không enable được
Unit memcached.service could not be found.
Re: Lỗi VPSSIM can not start PHP-FPM Service
PostPosted:24 Sep 2018 15:01
by nguyenoanh
@Độc Công Tử
Em change cấu hình bằng chức năng có sẵn của VPSSIM hay em tự edit ?
Về memcache, em chạy lệnh sau xem kết quả nó báo sao:
Code: Select allyum --enablerepo=remi,remi-test -y install memcached
Re: Lỗi VPSSIM can not start PHP-FPM Service
PostPosted:24 Sep 2018 15:54
by Độc Công Tử
1. Em dùng chức năng có sẵn
2. Đây là kết quả sau khi e chạy lệnh
Re: Lỗi VPSSIM can not start PHP-FPM Service
PostPosted:24 Sep 2018 16:00
by nguyenoanh
Em copy cho anh /etc/php.d/opcache.ini nhé
Về memcached, server centos đang bị lỗi, em chờ lúc khác chạy lại lệnh kia nhé.
Re: Lỗi VPSSIM can not start PHP-FPM Service
PostPosted:24 Sep 2018 16:15
by Độc Công Tử
nguyenoanh wrote: ↑24 Sep 2018 16:00
Em copy cho anh /etc/php.d/opcache.ini nhé
Về memcached, server centos đang bị lỗi, em chờ lúc khác chạy lại lệnh kia nhé.
Đây anh
Code: Select allzend_extension=opcache.so
opcache.enable=1
opcache.enable_cli=1
opcache.memory_consumption=40
opcache.interned_strings_buffer=16
opcache.max_accelerated_files=3000
opcache.max_wasted_percentage=5
opcache.use_cwd=1
opcache.validate_timestamps=1
opcache.revalidate_freq=60
opcache.fast_shutdown=1
opcache.blacklist_filename=/etc/vpssim/opcache.blacklist
Re: Lỗi VPSSIM can not start PHP-FPM Service
PostPosted:24 Sep 2018 16:17
by nguyenoanh
Em thay bằng nội dung:
Code: Select allzend_extension=opcache.so
opcache.enable=1
opcache.enable_cli=1
opcache.memory_consumption=100
opcache.interned_strings_buffer=64
opcache.max_accelerated_files=3000
opcache.max_wasted_percentage=5
opcache.use_cwd=1
opcache.validate_timestamps=1
opcache.revalidate_freq=600
opcache.fast_shutdown=1
opcache.blacklist_filename=/etc/vpssim/opcache.blacklist
save và bật lại PHP-FPM
Re: Lỗi VPSSIM can not start PHP-FPM Service
PostPosted:24 Sep 2018 16:35
by Độc Công Tử
502 Bad Gateway
anh a.
Re: Lỗi VPSSIM can not start PHP-FPM Service
PostPosted:24 Sep 2018 16:40
by nguyenoanh
Code: Select allmv /etc/php.d/opcache.ini /etc/php.d/opcache.ini.bak
Bật PHP lên xem có được không ? Nếu không được thì PHP-FPM die không phải do Opcache.
Re: Lỗi VPSSIM can not start PHP-FPM Service
PostPosted:24 Sep 2018 17:03
by Độc Công Tử
nguyenoanh wrote: ↑24 Sep 2018 16:40
Code: Select allmv /etc/php.d/opcache.ini /etc/php.d/opcache.ini.bak
Bật PHP lên xem có được không ? Nếu không được thì PHP-FPM die không phải do Opcache.
e đã đổi tên file. restart lại php-fpm. giờ làm gì nữa ạ?