Reputation: 379
I wasn't able to locate a solution to this online, google was not being my friend today. Recently we did a PHP upgrade to 8.3 on our webserver at work, from PHP 5.6.12, which was quite a heavy lift. Lots of things were deprecated so we are now going through the php error log and fixing up little issues from dividebyzero, int to float, etc..
One thing I've noticed is that the php error_log file specified in the php.ini logs some great information, however, the query that causes a problem is normally cut off and not fully shown. Is there a way to configure the php.ini file that the full query is written to the log file?
Currently an output will look something like:
#0 E:\BOTServer\bot\phpscripts\usersearch.red2.php(18): mysqli->query('SELECT *,REPLAC...')
Upvotes: 0
Views: 43