How I can set some PHP parameters (not Apache parameters) per application without changing global php.ini file?
If I have two apps:
/var/www/app1
/var/www/app2
I need to set different memory_limit, session timeout or some other parameter for APP1 but with no effect to APP2. Is there possibility to use some local config file (similar to .htaccess) in folders that are related to this changes?
You can set in
.htaccessPHP flags in following way:Here you have a manual: How to change configuration settings