Home > Article > Backend Development > How to make modifications to the php.ini file effective?
After modifying the php.ini file, you need to restart php-fpm to take effect. The restart command is [service php-fpm restart]. After restarting, we can check whether the corresponding changes have been completed by accessing phpinfo.
After modifying the php.ini configuration file, you need to restart php-fpm for it to take effect.
(Learning video recommendation: java video tutorial)
Restart command:
service php-fpm restart
Then you can access
<?php phpinfo(); ?>
To check whether the corresponding changes have been completed.
Related recommendations: php training
The above is the detailed content of How to make modifications to the php.ini file effective?. For more information, please follow other related articles on the PHP Chinese website!