How to modify php.ini in Linux to take effect

藏色散人
Release: 2023-03-11 08:36:01
Original
2538 people have browsed it

How to modify php.ini in Linux to take effect: first use CentOS yum to install php and related components; then modify the "/etc/php.ini" parameters; finally execute "service php-fpm restart".

How to modify php.ini in Linux to take effect

The operating environment of this article: linux5.9.8 system, PHP7.1 version, DELL G3 computer

How to modify php.ini in Linux to take effect?

Linux modification of php.ini parameters does not take effect?

Using CentOS yum to install php and related components, modifying /etc/php.ini parameters memory_limit and max_execution_time and restarting apache have not taken effect.

After checking that php is running under php-fpm, just execute

service php-fpm restart
Copy after login

.

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of How to modify php.ini in Linux to take effect. For more information, please follow other related articles on the PHP Chinese website!

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!