阿里云centos6.9安装yii2报错 错误显示:Warning: require(/vendor/autoload.php): failed to open stream: No such file or dire 经过研究发现是因为没有vendor这个文件目录,因为自己不是通过composer来装的,解决办法就是用composer来重新装yii2插件,就会有vendor这个目录…
报错情况: 在执行./configure时出现configure: error: No curses/termcap library found 解决方法: ./configure时加上参数--with-named-curseslibs=/usr/lib/libncursesw.so.5 ./configure再报错: mysql /usr/lib/libncursesw.so.5: could not read symbols: File in wrong format 原来的编译…
首先安装 homebrew 再 brew install mysql 之后连接 mysql 无论是登录还是修改初始密码都会报如下的错误 ERROR 2002 (HY000): Can not connect to local MySQL server through socket '/tmp/mysql.sock' (2) 运行如下解决:参考 http://www.thinksaas.cn/group/topic/347978/ unset TMPDIR mysql_install_db --v…