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?

王林
Release: 2023-03-07 13:20:02
Original
5700 people have browsed it

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
Copy after login

Then you can access

<?php
phpinfo();
?>
Copy after login

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!

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