Doubt about the default default definitions override of php.ini

Asked

Viewed 16 times

0

I have a file php.ini custom, if I omit all variables I haven’t changed and keep only my custom settings, PHP will consider for the omitted variables the default value?

For example, if I modify the display_errors and delete everything else, PHP will take the default value for the others?

  • When you re-start your server or start will give "error" will not run. Empirical knowledge in php.ini documentation only tells you that php when you start reads this file. https://secure.php.net/manual/en/configuration.file.php

  • If you have a file php.ini customized in your project folder, the data that is not configured in it, PHP will automatically fetch the values in php.ini pattern.

  • I uploaded a test environment and confirmed that missing variables in the php root file will assume the default value of your build, that is, even if I arrive in the main file (php.ini) and delete all essential variables will assume a default value ensuring reliable binary start.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.