這是我在同一臺機器上運行的第二個laravel項目。第一個作品很好。第二個laravel項目(v5.4)PHP致命錯誤:允許的內存大小134217728字節耗盡(試圖分配262144字節)
我使用xampp作爲項目。
我安裝另一個全新的版本(5.4)laravel,當我運行
artisan serve
後phpstorm告訴我
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) in E:\xampp\htdocs*****\vendor\laravel\framework\src\Illuminate\Container\Container.php on line 549
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) in E:\xampp\htdocs*****\vendor\laravel\framework\src\Illuminate\Container\Container.php on line 549
Process finished with exit code 255 at 13:58:28. Execution time: 4,976 ms.
我試圖other post這一點,並試圖改變php.ini文件。它不適用於我的情況。
在網絡瀏覽器中運行它是否會產生相同的錯誤? – MonkeyZeus