Laravel 4 - Error while running `composer install`

后端 未结 3 573
离开以前
离开以前 2021-01-18 09:30

The problem:

I have installed Composer and followed the Quick start guide in the Laravel 4 documentation.

I get the following error when I run composer

3条回答
  •  心在旅途
    2021-01-18 09:51

    Having the setting xdebug.scream = 1 in the configuration was the cause of the problem for me. I fixed it by doing the following:

    1. Find XDebug configuration file.

      $ sudo find / -name xdebug.ini
      
    2. Edit file using any text editor.

      $ sudo vi /your_path/xdebug.ini
      
    3. Set xdebug.scream = 0

    4. Reload the server (Apache/Nginx/whatever).

      $ sudo service nginx reload
      

提交回复
热议问题