Home >Backend Development >PHP Problem >How to make modifications to the php.ini file effective?

How to make modifications to the php.ini file effective?

王林
王林Original
2020-11-06 17:41:065701browse

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.

How to make modifications to the php.ini file effective?

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!

Statement:
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