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".
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
.
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!