我正在尝试连接到外部服务器上的 SQL Anywhere 数据库。我正在研究 VPS Linux。
运行命令时遵循文档./bin32/sa_config.sh,我收到此错误。
-bash: ./bin32/sa_config.sh: Permission denied
权限是:-rw-r--r-- 1 root root 1201 Sep 10 14:50 sa_config.sh。
当我从bin64.
在phpinfo()我有错误:
SQLAnywhere client version The SQLAnywhere client libraries could not be loaded. Please ensure that libdbcapi_r.so can be found in your LD_LIBRARY_PATH environment variable.
我将此行添加到/etc/init.d/httpd:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/sql_anywhere/
并复制到这个位置libdbcapi_r.so,然后libdblib12_r.so. lib32我从和尝试了这些文件lib64。
我将位置添加到php-5.x.y_sqlanywhere_r.soinphp.ini和 line 以自动运行它。
如何使 SQL Anywhere 正常工作?