laravel composer install error

Composer  install the requested PHP extension pcntl is missing from your system

 

解决方法:
在composer.json中增加C

"config": {
        "preferred-install": "dist",
        "sort-packages": true,
        "optimize-autoloader": true,
        "platform": {
            "ext-pcntl": "7.3",//7.3php 版本号
            "ext-posix": "7.3"//7.3 php 版本号
        }
    },

 

你可能感兴趣的:(php,laravel,php,pcntl)