Home >Backend Development >PHP Problem >The problem that php modified parameters does not take effect

The problem that php modified parameters does not take effect

angryTom
angryTomOriginal
2019-11-06 09:29:402755browse

The problem that php modified parameters does not take effect

The problem that php modified parameters do not take effect

Generally, if the configuration parameters are modified but they do not take effect, you can Consider whether there are multiple configurations on the machine.

1. We can log in to the server and use the root user to switch to the nobody user. The nobody account here is the account used by apache and has very low permissions.

2. Then we use the command whereis php to view the location of the php.ini file, then use the editor to modify the parameters inside, and finally restart php.

3. The main thing to note here is that the configuration file you modify must be the configuration file used by nobody.

For more PHP related knowledge, please visit PHP Chinese website!

The above is the detailed content of The problem that php modified parameters does not take effect. 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