I am using the php config auto-append-file
to append code that i need to be executed on all pages on a particular domain.
But my problem is that there are other domains that share the same php.ini file so i wanted to know if there is a way to specify that for a particular domain.
I have tried setting the config with ini_set()
but the change was not made and phpinfo()
confirmed that this failed.
I also tried doing that via php_value
inside a .htaccess
file but that returned a 505 internal server error and i have no clue why.
Any thoughts on how i could accomplish this ?
Thanks in advance
PS: I mainly want to append the file on all domains hosted, except one. So what i thought is set it via php.ini and then reset it for the domain where i don't want that since it will be a lot faster.