Results 1 to 5 of 5
Hi.
I got a server running pervasive 7.x on linux centos 5.6, I want to connect from other server running apache+php 5.x. using php-odbc library.
But I had not been ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-06-2011 #1Just Joined!
- Join Date
- Aug 2002
- Location
- Laguna Salada
- Posts
- 12
php-odbc remote server
Hi.
I got a server running pervasive 7.x on linux centos 5.6, I want to connect from other server running apache+php 5.x. using php-odbc library.
But I had not been able to make this, in the db server works, but my apache+php server cannot access my remote server over odbc.
This is possible or they must in the same server as the db?
On windows I can access from any station via ODBC.
Thanks!!!
- 09-08-2011 #2Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,680
I know nothing about pervasive, but in general network connectivity terms...
Can the apache server see (ping) the pervasive server?
Is there a firewall on the pervasive server that might restrict connectivity?
What do the system log files on the pervasive server show (/var/log/messages, /var/log/secure)?
Is there a pervasive log that you can check?
Is there anything in the apache/php logs on the apache server (/var/log/httpd/error_log)?
- 09-08-2011 #3Just Joined!
- Join Date
- Aug 2002
- Location
- Laguna Salada
- Posts
- 12
Apache && Pervasive can see each other, no fw between them.
odbc_connect don't a have field where to put my server IP, how can I make this possible?
Thanks!!!
- 09-09-2011 #4Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,680
I think maybe you need to properly configure your odbc.ini file?
- 09-14-2011 #5Just Joined!
- Join Date
- Aug 2002
- Location
- Laguna Salada
- Posts
- 12
This is my odbc.ini example
This entry is setup by my pervasive odbc client, I have try to use settings like server=ip, others watching some odbc settings and won't work.[db22a]
Description=Pervasive ODBC Engine Interface
DBQ=db22a
Driver=/usr/local/psql/lib/libsrde.so
OpenMode=0
Any tip will be appreciated, thanks!!!


Reply With Quote

