Home > Backend Development > PHP Tutorial > PHP安装APC扩展报错了怎么办

PHP安装APC扩展报错了怎么办

PHPz
Release: 2020-09-05 10:43:42
Original
1640 people have browsed it

PHP安装APC扩展报错了的解决办法:首先打开【/usr/local/etc/php.ini】文件;然后修改内容为【apc.enabled=1 apc.shm_size=256M】;最后保存该文件即可。

PHP安装APC扩展报错了怎么办

安装PHP APC报错怎么办?

PHP加装APC扩展后出现的错误:

NOTICE: PHP message: PHP Warning: PHP Startup: apc.shm_size now uses M/G suffixes, please update your ini files in Unknown on line 0
Copy after login

解决办法

将/usr/local/etc/php.ini末尾有关APC的部分

apc.enabled="1"
apc.shm_size="30"
Copy after login

修改成如下:

apc.enabled=1
apc.shm_size=256M
Copy after login

更多相关技术文章,请访问PHP中文网

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template