There's a php.ini file in magento directory. Does this file overrides the global php.ini settings? I'm making changes in that but they're not reflecting after restarting wamp. Is that a sample file and changes must be made in global php.ini file?

1 Answer 1


Yes, the php.ini under Magento root folder is a sample setting for Magento 2. You need to change the config in global file.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.