Quantcast
Channel: SCN: Message List - SAP SQL Anywhere
Viewing all articles
Browse latest Browse all 2182

Re: PHP odbc_connect on a running SQL Anywhere 16 server

$
0
0

When you are connecting with PHP, are you simply running a PHP application, or is this through Apache? If it's Apache, the Apache server is running as a service. On XP, this was not a problem. But starting with Vista, a shared memory connection from a service could not connect to a server that was NOT running as a service, and vice versa. This is why it works on the XP machine and not on Windows 7.

 

You need to enable TCP/IP on your engine using "-x tcpip" and add "HOST=localhost" to the connection string used by PHP.


Viewing all articles
Browse latest Browse all 2182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>