我得到了502坏网关在我的Laravel项目运行拉拉维尔贴身。
我在网上尝试过许多解决方案,但都没有成功。即
目前,我看到的错误是502坏网关,在运行valet时,命令行中的一个错误就是在更新PHP配置时出现的错误。它给出了以下错误:
Warning: file_get_contents(/usr/local/etc/php/7.3/php-fpm.d/www.conf): failed to open stream: No such file or directory in /Users/username/.composer/vendor/laravel/valet/cli/Valet/Fi
我正在尝试更新项目中的Zend Framework2库,但得到了一个异常:
use@machine:/path/to/project# php composer.phar self-update
[Composer\Downloader\TransportException]
The "https://getcomposer.org/version" file could not be downloaded (HTTP/1.1 502 Bad Gateway)
我也尝试
好的,我已经设置了Vagrant,运行了Ubuntu14.04,使用了Nginx (最新可用)和PHP5.6。
VM上的其他站点工作得很好,但是非常简约主义,不使用框架,而是运行PHP。
我的问题是,我刚刚提取了ZF2框架应用程序,当我试图访问配置好的vhost时,我会得到一个502 Bad Gateway错误,或者一个502 Bad Gateway错误。
Fatal error: Allowed memory size of 134217728 bytes exhausted
(tried to allocate 1931504738 bytes) in
/var/www/back
我想用php7安装memcached,所以我从dotdeb存储库下载了实际的php7.0-memcached包。
但是它不起作用:当我想在CMS:recv() failed (104: Connection reset by peer) while reading response header from upstream==> 502中使用memcached时,我会在nginx错误文件中得到以下错误
我刚刚安装了Ubuntu14.04的最新更新。一切似乎都很正常。rtorrent在工作。nginx正在运行php5-fpm正在运行,但是当我尝试用rutorrent连接到rtorrent时,rutorrent出现了,但没有连接到rtorrent。
我确实注意到了一件事--由于某种原因,我的ip地址发生了变化。它是192.168.0.34,现在是192.168.0.36,但是连接正常,rtorrent正在上传和下载。
我发现它很难诊断,因为所有的个别部分似乎都在工作,但整体不是。我真的很感激你能帮我诊断和解决这个问题。
这是我所犯的错误
[26.06.2014 00:13:59] Bad res