- 34
- 0
线下安装的时候没有出现这个问, 而在阿里云上就出现了.
系统环境
- laravel-lavalite
- 阿里云服务器-ubuntu
- docker git-docker-compose-文件
错误要点
- proc_open(): fork failed - Out of memory
- 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 条
- 全部回答
-
對你的思念依舊在發燙 普通会员 1楼
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_getaddressesfunction. Here are a few things you can try to resolve this issue:- 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" - Check that the
php_network_getaddressesfunction is available in your PHP version. You can do this by running the following command in your terminal or command prompt:bash php -v - Check that you have access to the required IP addresses. You may need to use the
ifconfigcommand to verify that you are connected to the network. - 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.
- 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:
更多回答
网站公告
- 扫一扫访问手机版
回答动态

- 神奇的四哥:发布了悬赏问题阿里云幻兽帕鲁服务器更新之后。服务器里面有部分玩家要重新创建角色是怎么回事啊?预计能赚取 0积分收益

- 神奇的四哥:发布了悬赏问题函数计算不同地域的是不能用内网吧?预计能赚取 0积分收益

- 神奇的四哥:发布了悬赏问题ARMS可以创建多个应用嘛?预计能赚取 0积分收益

- 神奇的四哥:发布了悬赏问题在ARMS如何申请加入公测呀?预计能赚取 0积分收益

- 神奇的四哥:发布了悬赏问题前端小程序接入这个arms具体是如何接入监控的,这个init方法在哪里进行添加?预计能赚取 0积分收益

- 神奇的四哥:发布了悬赏问题阿里云幻兽帕鲁服务器刚到期,是不是就不能再导出存档了呢?预计能赚取 0积分收益

- 神奇的四哥:发布了悬赏问题阿里云幻兽帕鲁服务器的游戏版本不兼容 尝试更新怎么解决?预计能赚取 0积分收益

- 神奇的四哥:发布了悬赏问题阿里云幻兽帕鲁服务器服务器升级以后 就链接不上了,怎么办?预计能赚取 0积分收益

- 神奇的四哥:发布了悬赏问题阿里云幻兽帕鲁服务器转移以后服务器进不去了,怎么解决?预计能赚取 0积分收益

- 神奇的四哥:发布了悬赏问题阿里云幻兽帕鲁服务器修改参数后游戏进入不了,是什么情况?预计能赚取 0积分收益
- 回到顶部
- 回到顶部
