Which php.ini is used when they appear in multiple directories?
I've always thought the order of use was from the furthest down directory and then up to the home directory of the user.
For instance, if a php.ini file exists in the public_html directory, the php.ini in the home directory was not used. A bottom up approach.
But an experience today leads me to thing it's top down meaning the php.ini in the home directory is used and the public_html directory ignored.
But if this is the case, How do you set a different php.ini for each addon domain?
Any help appreciated.
Kerry
I've always thought the order of use was from the furthest down directory and then up to the home directory of the user.
For instance, if a php.ini file exists in the public_html directory, the php.ini in the home directory was not used. A bottom up approach.
But an experience today leads me to thing it's top down meaning the php.ini in the home directory is used and the public_html directory ignored.
But if this is the case, How do you set a different php.ini for each addon domain?
Any help appreciated.
Kerry
Last edited by a moderator: