Home >Backend Development >PHP Problem >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!