Magento 2 – Cannot Read Contents from File: file_get_contents Warning

custom-optionsfilemagento2

I have file type custom option.When i browse any image and add to cart the products then it shows me error.
Please check attached screenshot.

enter image description here

I have already give the permission.
Please help.Your help would be highly appreciated.

Best Answer

You have to give proper permission and have to give proper user to /tmp/opt/lampp/temp folder.

Apache user means www-data don't have proper permission at that folder.

Related Topic