The problem that php modified parameters does not take effect

angryTom
Release: 2023-02-28 11:40:02
Original
2718 people have browsed it

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!

Related labels:
php
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