1.安装完数据库之后需要安装 CSDK 解压 clientsdk_3.5.1_3X1.tar 然后执行 `[root@localhost csdk]# ./installclientsdk -i silent -DUSER_INSTALL_DIR=/opt/gbase -DLICENSE_ACCEPTED=TRUE ` DUSER_INSTALL_DIR 为数据库安装地址 参考 https://gbasedbt.com/index.php/archives/493/ 编译 pdo_gbasedbt.os 参考 https://gbasedbt.com/index.php/archives/68/ 注意 需要配置当前用户文件夹下面 的 bash_profile 文件 export GBASEDBTDIR=/opt/gbase export GBASEDBTSERVER=gbase01 export ONCONFIG=onconfig.$GBASEDBTSERVER export PATH=$GBASEDBTDIR/bin:$GBASEDBTDIR/sbin:$GBASEDBTDIR/sbin:${PATH} export GBASEDBTSQLHOSTS=/opt/gbase/etc/sqlhosts export SERVER_LOCALE=zh_CN.utf8 export DB_LOCALE=zh_CN.utf8 export CLIENT_LOCALE=zh_CN.utf8 export GL_USEGLU=1 # export NODEFDAC=yes export DBDATE="Y4MD-" export DBACCESS_SHOW_TIME=1 同时需要编辑 PHP-FPM 的 systemd 服务文件 [Service] Environment="GBASEDBTDIR=/opt/gbasedbt" Environment="ODBCINI=/etc/odbc.ini" Environment="LD_LIBRARY_PATH=/opt/gbasedbt/lib:/opt/gbasedbt/lib/cli:/opt/gbasedbt/lib/esql:$LD_LIBRARY_PATH" Last modification:October 11, 2024 © Allow specification reprint Support Appreciate the author AliPayWeChat Like 请我喝一瓶农夫山泉嘛?
One comment
私服传奇职业图攻略:https://501h.com/heji/13989.html