openssl.cafile='cacert.crt'
and copy cacert.crt to the root of php directory.
it report an error, but when i set the file in C:\ and set the path
openssl.cafile='C:\cacert.crt'
it works , so what is the correct path i have to set in the php.ini to include cacert.crt within the php folder ?
is there any other way , since there is no global variable i can set in the php.ini
eg:%Temp FOLDER% - Temporary folder;