Jump to content
Fórum Script Brasil
  • 0

PHP 7.2 (Debian) com Sybase 16





Estou com a seguinte dificuldade: Preciso configurar o ambiente PHP para se conectar à uma base SyBase 16. Não sou programador PHP e estou auxiliando um outro colega. Tudo o que foi tentado até agora não funciona.


O codigo é:

$connection= new PDO ("dblib:version=4.2;charset=UTF-8;host=".$host.":".$port.";dbname=".$dbname, $username, $password);

e obtemos o erro:

SQLSTATE[01002] Adaptive Server connection failed (severity 9)


Existe algum tutorial para isso? Tudo o que eu encontro ou é para o o PHP 5 ou é para Windows.

Mais algumas informaçoes:

PHP Version 7.0.26-1~dotdeb+8.2
System Linux websrv01 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) x86_64
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php/7.0/apache2
Loaded Configuration File /etc/php/7.0/apache2/php.ini





Edited by wjat.joi
inclusao de informaçao
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Forum Statistics

    • Total Topics
    • Total Posts
  • Create New...