laravel4 composer install got proc_open not available error

前端 未结 2 540
故里飘歌
故里飘歌 2021-01-11 15:03

Now I am trying to use composer to install my php package but I got this error message: $ composer install

Loading composer repositories with package informa         


        
相关标签:
2条回答
  • 2021-01-11 15:24

    You should use php-cli to by-pass disable_functions temporarily.

    php -d "disable_functions=" /path/to/composer install
    
    0 讨论(0)
  • 2021-01-11 15:29

    Edit your php.ini file and search for the line

    disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait...
    

    It should be disabled there and you must enabled it. This a security precaution.

    0 讨论(0)
提交回复
热议问题