Answer the question
In order to leave comments, you need to log in
How can I set php.ini for each user?
Hello. Can you please tell me how to set the location of the php.ini file for the user?
The server works in Nginx + PHP-FPM and Apache + PHP-FPM mode
It is advisable to do this in the php-fpm pool.
Also can you tell me how to do this if the server is running in Apache + mod_php mode?
Let me explain what I'm talking about:
I have a web user with a home directory /home/web
And his php.ini file should be in /etc/php/settings/web.ini
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question