In my working directory I have two files: index.php
and .user.ini
:
.user.ini
:
display_errors=on
; http://be2.php.
According to http://php.net/manual/en/configuration.file.per-user.php
Check user_ini.filename
in your main php.ini
to make sure it's not blank and it is indeed parsed. If its value is blank then PHP doesn't scan at all.
Also see the value of user_ini.cache_ttl
Please take a look at
php.net manual
Also check this question out Loading a .user.ini PHP conf file using the PHP 5.4 internal server?