PHP domain configuration

Hi all,

I have a Laravel based app running on my site, I’ve put a new php.ini and .user.ini into both the public_html and the public_html/public directory and going by my phpinfo() page, the settings are not being seen by the PHP engine.

The site is running PHP 8.2 is there anything else I need to do so I don’t need to update the master php.ini file?

Unfortunately, it doesn’t work that way. You need to edit the appropriate php.ini file in the /etc/php/8.2/fpm/

Hello @PlayBoxTech,

File .user.ini in your doc root should work, what are you trying to change? I’m asking because, for example, open_basedir can’t be modified using .user.ini file.