Friday, June 24, 2016

cURL error 60 : SSL problem

Go to http://curl.haxx.se/ca/cacert.pem and download the pem file and save in your php installation directory ( make sure while saving it retains the extension and not saved as a text file )

Now, open your php.ini file, scroll to the bottom and add the following line:

[cURL]
curl.cainfo="D:\xampp\php\cacert.pem"
Replace D:\xampp\php\cacert.pem with the actual path.

Tuesday, June 21, 2016

payload is invalid

When you copied the whole project and start working again, it would say payload is invalid in all calls

php artisan key:generate

php artisan config:cache