php安装过程出现的问题

来源:互联网 发布:java overload 编辑:程序博客网 时间:2024/06/05 09:23
  1. 安装apache出现runtime140.dll问题。
    1. 解决方法:安装vc++2015
      https://www.microsoft.com/en-us/download/confirmation.aspx?id=48145
    2. 原因:在Windows下运行最新版的Apache和php7都需要Visual C++Redistributable 2015,而之前的版本不需要那么高的,这个组件是运行Visual Studio 2015所建立的C++应用的必要组件,安装一次即可解决环境问题,那么去微软官网下载安装程序,安装一遍重启电脑即可
  2. 安装mysql的问题
    1. 安装5.6的版本较好,5.7的多问题。mysql初始密码为 ;设置密码的命令行
    2. set password for root@localhost = password(‘root’);
  3. composer的ssl问题
    1. 下面是解决方法:
      1. 上 http://curl.haxx.se/docs/caextract.html下载最新的cacert.pem文件
      2. 将该文件丢到某个目录下,如 D:RucheePHPextrasssl
      3. 找到 PHP.ini文件中的openssl.cafile选项,设置为openssl.cafile = D:/Ruchee/PHP/extras/ssl/cacert.pem(路径自己看)
1 0
原创粉丝点击