Score:0

php.ini file is edited but still changes are not reflecting

de flag

I used phpinfo() in the code and it shows that the Loaded Configuration File is /etc/php/7.4/fpm/php.ini, I edited the upload_max_filesize to 500M and restarted the fpm service using, sudo systemctl restart php7.4-fpm but still the changes have not taken place.

Orphans avatar
cn flag
Most likely, there is a pool for your site. Check in `/etc/php/7.4/fpm/pool.d/`
Sting avatar
de flag
I don't know what is pool, how to check for it and solve the issue please?
gildux avatar
us flag
Hi @Sting Please list all runing services with php in their name. You may need something like `sudo systemctl reload php7.4-fpm.service`
Orphans avatar
cn flag
@Sting Did you check in the catalogue I mentioned?
Orphans avatar
cn flag
@gildux - the original post already explains that it has been done.
gildux avatar
us flag
Yes @Orphans the original post said it restarted fpm service. As it's about FPM, i'm warning to be sure to restart the good pool service too, like you warned to be sure to edit the right configuration. I've accrossed the case many times, when one think dealing with the right service but they are sibiling dansing.
Orphans avatar
cn flag
OP explicitly mentioned that they did "sudo systemctl restartphp7.4-fpm", you basically said that they should run the same command again.
Sting avatar
de flag
@Orphans, what to check for exactly?, I have a www.conf file in this path /etc/php/7.4/fpm/pool.d/. Should I edit it or something?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.