그누보드 설치버그
그누보드를 설치하려고 db등 정보를 입력했는데 아무런 문구가 없는 창이뜨고 로그에는
(아이피) [500]: /install/ajax.install.check.php - Uncaught Error: Call to undefined function mysql_connect() in /workspace/gnuboard5/lib/common.lib.php:1535
Stack trace:
#0 /workspace/gnuboard5/install/ajax.install.check.php(38): sql_connect('localhost', 'root', '1234', '1')
#1 {main}
thrown in /workspace/gnuboard5/lib/common.lib.php on line 1535
이라고 뜹니다..
답변 3개 / 댓글 5개
설치 조건 충족하는지 체크해 보세요.
답변에 대한 댓글 2개
invoke-rc.d: policy-rc.d denied execution of stop.
update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Renaming removed key_buffer and myisam-recover options (if present)
Cannot stat file /proc/1916/fd/7: 끊어진 파일 핸들
Created symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /lib/systemd/system/mysql.service.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
mysql-server (5.7.32-0ubuntu0.18.04.1) 설정하는 중입니다 ...
Processing triggers for systemd (237-3ubuntu10.29) ...
라고 떴습니다.
mysql함수가 존재하지 않아 발생된 오류로 보이는데요 phpinfo() 보시면 mysql 설치가 제대로 안되서 발생되는 오류입니다.
답변에 대한 댓글 2개
invoke-rc.d: policy-rc.d denied execution of stop.
update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Renaming removed key_buffer and myisam-recover options (if present)
Cannot stat file /proc/1916/fd/7: 끊어진 파일 핸들
Created symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /lib/systemd/system/mysql.service.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
mysql-server (5.7.32-0ubuntu0.18.04.1) 설정하는 중입니다 ...
Processing triggers for systemd (237-3ubuntu10.29) ...
라고 떴습니다.
php 7 버전 이상이라면..
/config.php
define('G5_MYSQLI_USE', true);
위 부분이 'true' 로 설정되어 있어야 된다고 합니다.
답변에 대한 댓글 1개
답변을 작성하려면 로그인이 필요합니다.