0

If some configuration parameters of php are set from both the modes i.e from inside the php code and from an php.ini file . I wanna know which one will be overriding the other to take effect. and also please tell me if the php.ini configuration is applied in the sub folders or not.

1
  • Then one which you written in your file will be executed. Commented Dec 18, 2013 at 11:30

1 Answer 1

2

If you mean ini_set then ini_set will take precedence over the configuration file.

See ini_set.

Note that some values can't be set in this way due to ini_set restrictions or server configuration. ini_set will return FALSE if it did not set the value (or, presumably, if the value was previously false).

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.