I need help in understanding include_path and where it is set. When I echo include path this is what I see:
.:/Applications/XAMPP/xamppfiles/lib/php
From what I understand there are two paths currently in the include_path separated by colon. First one is the
'.' which indicates the current directoryand the second one is the path
'/Applications/XAMPP/xamppfiles/lib/php'
So my questions are:
1) Is the above understanding correct? 2) Where is the include_path set because I looked at my php.ini file in /Applications/XAMPP/xamppfiles/etc but I couldn't find this being mentioned in the file
This is what my php.ini had and the same seems to be commented:
; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
Also including my phpinfo output
Configuration File (php.ini) Path /Applications/XAMPP/xamppfiles/etc
Loaded Configuration File /Applications/XAMPP/xamppfiles/etc/php.ini
Scan this dir for additional .ini files (none)
Additional .ini files parsed (none)