• Resolved MauChiuan

    (@chuimn)


    when I upgrade php vesion to 8.
    dashboard will show error “cURL error 77”
    but when I change php version to 7.4
    everything is alright

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello @chuimn ,

    Thanks for contacting us & sharing your experience regarding PHP compatibility. We’ll try to reproduce this at our end & get back to you.

    The cURL error you are encountering may also be hosting related, with more details contained within this GitHub issue. If you’d like to share your Site Health information privately via this form we can check your current hosting environment.

    Best Regards,

    Thread Starter MauChiuan

    (@chuimn)

    I was send Site Health information to you by form.

    Hello @chuimn ,

    Thanks for sharing Site Health information.

    We’ll test Site Kit with PHP 8.0 version & get back to you.

    In the meantime can you please ensure that your site is able to communicate with https://sitekit.withgoogle.com?

    There are instructions on how to check with the link provided, or you can ask your host to run the below cURL command to ensure you can access the Site Kit service:
    curl -I https://sitekit.withgoogle.com

    Note that there may be changes required at host level based on your cURL error, something which is outside of our control. You’ll find a similar support topic previously whereby a user had to change their PEM file.

    Best Regards,

    Thread Starter MauChiuan

    (@chuimn)

    I find the problem in php.ini

    php 7.4
    curl.cainfo = /etc/ssl/certs/ca-certificates.crt
    openssl.cafile=/etc/ssl/certs/ca-certificates.crt
    
    php 8
    curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt

    when change php8 the cafile path like php7.4
    everything is alright and cURL error 77 won’t happen.

    I’m getting the same cURL error 77 error no matter how many times I deactivate or delete and reinstall Site Kit

    Plugin Support James Osborne

    (@jamesosborne)

    @chuimn Great to hear it. Many thanks for sharing what worked for you, which may also help assist others who may be impacted.

    @glasgowskinner Reinstalling Site Kit won’t help with this particular error. You’ll need to contact your hosting provider and enquire about your cURL SSL connection. You can use this support topic or this GitHub issue for references on what to check.

    Thank you, will try that

    Hi,

    a similar error occured to me:

    cURL error 77: error setting certificate verify locations: CAfile: /web/htdocs/www.xxxx.it/home/wp-includes/certificates/ca-bundle.crt CApath: none

    I verified and actually the right root in my case should be: /web/htdocs/www.xxxx.it/home/wp-includes/blocks/certificates/ca-bundle.crt

    Do you think that if I change te location of the ca-bundle.crt by moving it from the folder ‘blocks’ to ‘wp-includes’, I will resolve the problem?

    Many thanks,

    Elena

    @riversoul If you’d like to open a new support topic we’d be happy to assist with your case individually. Thank you!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘cURL error 77’ is closed to new replies.