Solution: php_network_getaddresses: getaddrinfo failed: Name or service not know

  • Rhapsody

    #51615

    I was getting the following error

    Warning: getimagesize():php_network_getaddresses: getaddrinfo failed: Name or service not known in ……/blog/wp-content/themes/graphene/inc/functions.php line 147

    This is a Multisite WordPress V5.5.3 installation using Graphene Theme 2.8.2 with PHP version 7.4.12.

    The solution was to change the PHP options as follows:
    Uncheck boxes mysqli and pdo_mysql
    Check boxes nd_mysqli and nd_pdo_mysql

Viewing 1 post (of 1 total)

  • You must be logged in to reply to this topic.
Do NOT follow this link or you will be banned from the site!