AMH 社区首页
AMH社区 - 开放自由有价值的社区
[综合话题] 安装libmysql驱动失败 应该是个BUG吧 |
|
---|---|
gavin519 |
gavin519 发表于 2019-01-10 12:06:13
mysqlnd-1.0 环境XX安装libmysql驱动失败 我看了下错误信息
============================================================= [Linux] AMH 5.5 http://amh.sh [mysqlnd-1.0 admin] ============================================================= [OK] mysqlnd-1.0 is already installed. cp: cannot stat '/usr/local/php-7.0/extcode/mysql': No such file or directory /root/amh/modules/mysqlnd-1.0/admin-script/libmysql: line 13: cd: mysql: No such file or directory Cannot find config.m4. Make sure that you run '/usr/local/php-7.0/bin/phpize' in the top level source directory of the module /root/amh/modules/mysqlnd-1.0/admin-script/libmysql: line 15: ./configure: No such file or directory make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target `install'. Stop. mv: cannot stat '/usr/local/php-7.0/lib/php/extensions/no-debug-non-zts-20151012/mysql.so': No such file or directory 错误源/root/amh/modules/mysqlnd-1.0/admin-script/libmysql: line 13: cd: mysql: No such file or directory Cannot find config.m4. 我排查了一下,系统就没有这个目录,只有下面这个类似的目录那么是? /usr/local/php-7.0/extcode/mysqli/
点赞,加油! (0分)
2019-01-10 12:06:13 1
|
gavin519 |
php-7.0下面有
/usr/local/php-7.0/extcode/mysqli/ /usr/local/php-7.0/extcode/mysqlnd/ 这样两个目录 /mysqlnd/和 /mysqli/ 然而报错信息是找不到(cp: cannot stat '/usr/local/php-7.0/extcode/mysql': No such file or directory ) 找不到这样的目录(mysql)这个明显是指的mysqli 但是少一个i 问题出现了
回复
2019-01-10 12:10:33 2
|
gavin519 |
= =石沉大海 等人解决
回复
2019-03-20 11:20:51 3
|