Lnmp批改php.ini配置

WBOY
Release: 2016-06-13 12:28:33
Original
809 people have browsed it

Lnmp修改php.ini配置

要在lnmp系统里面修改php.ini配置,首先要用find命令查找到php.ini所在位置:

find / -name php.ini

查找结果如下:

usr/local/php/etc/php.ini

然后用VI命令修改:

vi /usr/local/php/etc/php.ini

修改后要重启才能生效,这里的重启并不是重启nginx-一定要注意。

如果你的lnmp装的是php-cgi就重启php-cgi,如果装的是php-fpm就重启php-fpm

Related labels:
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!