dqly83915 2018-07-05 11:39
浏览 44

PHP:无法找到套接字传输“袜子”

I'm trying to install Laravel but as i enter this command:

composer global require "laravel/installer",

i get this:

file could not be downloaded: failed to open stream: Unable to find the socket transport "socks" - did you forget to enable it when you configured PHP?

even i had this error trying to install composer so i had to download it from Github.
I tried to uncomment the ;extension=php_openssl.dll in php.ini file but there was no such thing in it.
any solution? (using Linux fedora - Apache 2.4.33)

  • 写回答

1条回答 默认 最新

  • doufengsui7449 2018-07-05 12:17
    关注

    You have not installed all Php extension.Try to install all php required extension than install laravel.Try the command yum install php-mysql php-pdo php-xml php-mcrypt php-mbstring php-gd after that restart your webserver than install laravel.

    评论

报告相同问题?