Edit the php.ini file and add following text:
[CUBRID]
cubrid.err_path = C:\PHP\CUBRID
;for Linux, cubrid.err_path = /home/cubrid/CUBRID/msg
Here's a short explanation:
The path to the folder where cubrid_err.msg file can be found. This file contains the error messages that CUBRID uses in case of some errors.