Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

php.ini and .user.ini usage (no replies)

$
0
0
On Windows10, 1809, Wampserver 64, v3.1.8.

Have been able to relocate the php_error.log file successfully by left click the Wamp icon, and editing php.ini for each php version, in turn.

However, thought that ".user.ini" file should serve the same purpose, if located within the root folder of the application to override php.ini. Haven't been successful with that.

Have the php.ini (through wamp icon) set to:

user_ini.filename = ".user.ini"

The .user.ini in the current document root (tng12m) is this:

error_reporting = E_ALL & ~E_STRICK & ~E_NOTICE & E_DEPRECATED
log_errors = On
display errors = On
error_log = "R:\wamp64\private\tng12m\logs\php_error.log"

The error/warnings get posted instead to the default R:\wamp64\logs\php_error.log

Any idea what needs be done to enable the .user.ini to work?

Ron

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>