<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Laravel on PHPHA</title><link>https://blog.phpha.com/tag/laravel/</link><description>Recent content in Laravel on PHPHA</description><generator>Hugo</generator><language>zh</language><lastBuildDate>Thu, 26 Mar 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.phpha.com/tag/laravel/index.xml" rel="self" type="application/rss+xml"/><item><title>Laravel/Lumen 日志文件无法写入</title><link>https://blog.phpha.com/archives/147/</link><pubDate>Thu, 26 Mar 2020 00:00:00 +0000</pubDate><guid>https://blog.phpha.com/archives/147/</guid><description>&lt;p&gt;最近有同事反馈，发现使用 &lt;code&gt;Laravel/Lumen&lt;/code&gt; 框架的项目中，日志文件（ &lt;code&gt;storage/logs/laravel.log | storage/logs/lumen.log&lt;/code&gt; ）权限莫名其妙变为 &lt;code&gt;root:root&lt;/code&gt; ，导致程序运行时写入失败而报 &lt;code&gt;500&lt;/code&gt; 错误。&lt;/p&gt;</description></item></channel></rss>