There is a seven year old bug reported ( bug #18556) in php, when you set locale to turkish all of the class names in your code turns to lowercase, then probably your program will say i can not find class Init, because it tries to find the init class.

Assigning all of the locale settings one by one is a good practice but there is easy solution for this problem.

setlocale(LC_ALL, 'tr_TR'); causes the error
//when you add and set LC_CTYPE to another locale
//this problem can be solved.
setlocale(LC_CTYPE, 'en_US');
find the init class