We have global PHP settings for the server that are shared for all sites. I think it would be good to be able to modify the PHP settings at the site level.

For example: memory limit, max upload filesize, etc.

· · Edited
·

This would be really helpful, also because each site might have different needs

2 total votes
· · Edited
·

This would be very handy. We currently use this in the PHP settings on our old server. auto_prepend_file = "config.php"

Being able to turn on display-errors in the PHP settings for a sub-domain would be nice too.

1 total vote
·
·

Found a way around this for anyone else in the same boat. Edit the main FPM ini file via Ploi and uncomment this line

user_ini.filename = ".user.ini"

Then add .user.ini in the web root folder for you domain with your custom PHP settings and you should be good to go. I didn't have to change anything so mydomain.com/.user.ini is not browseable.

If you make changes to your .user.ini file, don't forgot to reload the PHP FPM worker.

no votes yet

PHP settings per site

10 total votes
Quick Actions
Activity
View recent activity and updates
Use arrow keys to navigate