0
我試圖連接到外部服務器上的SQL Anywhere數據庫。我正在開發VPS Linux。SQL Anywhere無法在VPS上工作
正在關注documentation當我運行命令./bin32/sa_config.sh
我得到這個錯誤。
-bash: ./bin32/sa_config.sh: Permission denied
權限爲:。
同樣是當我從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.so
在php.ini
和線自動運行它。
如何使SQL Anywhere工作?