账号密码登录
微信安全登录
微信扫描二维码登录

登录后绑定QQ、微信即可实现信息互通

手机验证码登录
找回密码返回
邮箱找回 手机找回
注册账号返回
其他登录方式
分享
  • 收藏
    X
    php_network_getaddresses: getaddrinfo failed
    34
    0

    线下安装的时候没有出现这个问, 而在阿里云上就出现了.

    系统环境

    错误要点

    1. proc_open(): fork failed - Out of memory
    2. file could not be downloaded: php_network_getaddresses

    详细错误

    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    
    PHP Warning:  proc_open(): fork failed - Out of memory in phar:///bin/composer/vendor/symfony/console/Application.php on line 979
    
    Warning: proc_open(): fork failed - Out of memory in phar:///bin/composer/vendor/symfony/console/Application.php on line 979
                                                                                                                                                                                                                              
      [Composer\Downloader\TransportException]                                                                                                                                                                                
      The "https://packagist.phpcomposer.com/p/illuminate/bus%24ca1998f91b992a9cc0f271545c4912e083fe82b6b9a4e66fc8f489233d752a7a.json" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: Try again  
      failed to open stream: php_network_getaddresses: getaddrinfo failed: Try again    
    0
    打赏
    收藏
    点击回答
        全部回答
    • 0
    • The error message "php_network_getaddresses: getaddrinfo failed" typically indicates that there is a problem with the PHP extension for network connectivity, specifically the php_network_getaddresses function. Here are a few things you can try to resolve this issue:

      1. Check that the PHP network extension is installed and enabled in your PHP configuration file. You can do this by running the following command in your terminal or command prompt: bash php -i | grep "extension=php_network_getaddresses.so"
      2. Check that the php_network_getaddresses function is available in your PHP version. You can do this by running the following command in your terminal or command prompt: bash php -v
      3. Check that you have access to the required IP addresses. You may need to use the ifconfig command to verify that you are connected to the network.
      4. If you are using a firewall or proxy to access the internet, make sure that the firewall or proxy is configured to allow traffic on the required ports.

      If none of these steps resolve the issue, you may need to consult the PHP documentation or seek assistance from a developer.

    更多回答
    扫一扫访问手机版
    • 回到顶部
    • 回到顶部