centos下安装composer

这里写自定义目录标题

    • 1.执行curl -sS https://getcomposer.org/installer | php,下载时间有点长,根据网络状况决定
      • 1.1 会出现没有开启openssl的问题
        • 1.1.1安装openssl
          • 1.1.1.1在php的源码包中,找到ext/openssl
          • 1.1.1.2将config0.m4复制到当前目录并重命名 cp config0.m4 config.m4
          • 1.1.1.3执行phpize将会在当前目录生成./configure 等配置文件

1.执行curl -sS https://getcomposer.org/installer | php,下载时间有点长,根据网络状况决定

1.1 会出现没有开启openssl的问题

1.1.1安装openssl

1.1.1.1在php的源码包中,找到ext/openssl
1.1.1.2将config0.m4复制到当前目录并重命名 cp config0.m4 config.m4
1.1.1.3执行phpize将会在当前目录生成./configure 等配置文件

你可能感兴趣的:(php)