dbTalk Databases Forums  

PHP-linux retrieving from ASA 9.0.2 on Ubuntu 8.04

sybase.public.sqlanywhere.linux sybase.public.sqlanywhere.linux


Discuss PHP-linux retrieving from ASA 9.0.2 on Ubuntu 8.04 in the sybase.public.sqlanywhere.linux forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Harry Schurink
 
Posts: n/a

Default PHP-linux retrieving from ASA 9.0.2 on Ubuntu 8.04 - 05-23-2008 , 09:04 AM






Hello All

We have asa 9.02 running on Ubuntu and can connect from our windows apps to
that database. No problems there, works like a charm.Connecting from our
windows webserver (php) is also no problem.

Ths next phase is to test connecting from a PHP program running on the same
ubuntu machine and dont really know how to start.

There seems to be a driver for connecting to asa, but that has to be
compiled for each php version, so that is not really an option. It should
work from any (recent) version.

I know there is some kind of odbc for linux, but that has not been installed
along with the database. The references tot this odbc on the internet assume
i know all the details about this matter on linux.
But I am not a linux guru so can anyone provide me a step by step guid to
accomplish this?

So how to setup the linux odbc driver and some examples on how to retrieve
data in a PHP program.

TIA
Harry Schurink
TSD BV
The Netherlands.

Running:
ASA 9.0.2.3045 on Ubuntu 8.04
HP version 5.2.4-2ubuntu5
Apache/2.2.8



Reply With Quote
  #2  
Old   
Phil Mitchell
 
Posts: n/a

Default Re: PHP-linux retrieving from ASA 9.0.2 on Ubuntu 8.04 - 05-23-2008 , 12:15 PM






How are you connecting from your web server on Windows? ODBC? Our PHP
driver?

The reason our PHP driver must be compiled for each version of PHP is
the APIs that PHP provides are largely provided as macros, so if any one
of those macros changes, we have to recompile. It is sometimes possible
to use an older PHP driver with a newer PHP binary, but compilation is
pretty trivial on UNIX, so there's rarely a point in doing so.

We are in the process of making this process easier.

As for connecting from ODBC, we do provide an ODBC driver with the
install. For details on how to connect to asa 9.0.2 using ODBC on UNIX,
take a look at the manual:

http://www.ianywhere.com/developer/p...9/00000079.htm

If you have any more specific questions, please feel free to ask.

Thanks,
Phil

Harry Schurink wrote:
Quote:
Hello All

We have asa 9.02 running on Ubuntu and can connect from our windows apps to
that database. No problems there, works like a charm.Connecting from our
windows webserver (php) is also no problem.

Ths next phase is to test connecting from a PHP program running on the same
ubuntu machine and dont really know how to start.

There seems to be a driver for connecting to asa, but that has to be
compiled for each php version, so that is not really an option. It should
work from any (recent) version.

I know there is some kind of odbc for linux, but that has not been installed
along with the database. The references tot this odbc on the internet assume
i know all the details about this matter on linux.
But I am not a linux guru so can anyone provide me a step by step guid to
accomplish this?

So how to setup the linux odbc driver and some examples on how to retrieve
data in a PHP program.

TIA
Harry Schurink
TSD BV
The Netherlands.

Running:
ASA 9.0.2.3045 on Ubuntu 8.04
HP version 5.2.4-2ubuntu5
Apache/2.2.8



Reply With Quote
  #3  
Old   
Phil Mitchell
 
Posts: n/a

Default Re: PHP-linux retrieving from ASA 9.0.2 on Ubuntu 8.04 - 05-23-2008 , 12:15 PM



How are you connecting from your web server on Windows? ODBC? Our PHP
driver?

The reason our PHP driver must be compiled for each version of PHP is
the APIs that PHP provides are largely provided as macros, so if any one
of those macros changes, we have to recompile. It is sometimes possible
to use an older PHP driver with a newer PHP binary, but compilation is
pretty trivial on UNIX, so there's rarely a point in doing so.

We are in the process of making this process easier.

As for connecting from ODBC, we do provide an ODBC driver with the
install. For details on how to connect to asa 9.0.2 using ODBC on UNIX,
take a look at the manual:

http://www.ianywhere.com/developer/p...9/00000079.htm

If you have any more specific questions, please feel free to ask.

Thanks,
Phil

Harry Schurink wrote:
Quote:
Hello All

We have asa 9.02 running on Ubuntu and can connect from our windows apps to
that database. No problems there, works like a charm.Connecting from our
windows webserver (php) is also no problem.

Ths next phase is to test connecting from a PHP program running on the same
ubuntu machine and dont really know how to start.

There seems to be a driver for connecting to asa, but that has to be
compiled for each php version, so that is not really an option. It should
work from any (recent) version.

I know there is some kind of odbc for linux, but that has not been installed
along with the database. The references tot this odbc on the internet assume
i know all the details about this matter on linux.
But I am not a linux guru so can anyone provide me a step by step guid to
accomplish this?

So how to setup the linux odbc driver and some examples on how to retrieve
data in a PHP program.

TIA
Harry Schurink
TSD BV
The Netherlands.

Running:
ASA 9.0.2.3045 on Ubuntu 8.04
HP version 5.2.4-2ubuntu5
Apache/2.2.8



Reply With Quote
  #4  
Old   
Phil Mitchell
 
Posts: n/a

Default Re: PHP-linux retrieving from ASA 9.0.2 on Ubuntu 8.04 - 05-23-2008 , 12:15 PM



How are you connecting from your web server on Windows? ODBC? Our PHP
driver?

The reason our PHP driver must be compiled for each version of PHP is
the APIs that PHP provides are largely provided as macros, so if any one
of those macros changes, we have to recompile. It is sometimes possible
to use an older PHP driver with a newer PHP binary, but compilation is
pretty trivial on UNIX, so there's rarely a point in doing so.

We are in the process of making this process easier.

As for connecting from ODBC, we do provide an ODBC driver with the
install. For details on how to connect to asa 9.0.2 using ODBC on UNIX,
take a look at the manual:

http://www.ianywhere.com/developer/p...9/00000079.htm

If you have any more specific questions, please feel free to ask.

Thanks,
Phil

Harry Schurink wrote:
Quote:
Hello All

We have asa 9.02 running on Ubuntu and can connect from our windows apps to
that database. No problems there, works like a charm.Connecting from our
windows webserver (php) is also no problem.

Ths next phase is to test connecting from a PHP program running on the same
ubuntu machine and dont really know how to start.

There seems to be a driver for connecting to asa, but that has to be
compiled for each php version, so that is not really an option. It should
work from any (recent) version.

I know there is some kind of odbc for linux, but that has not been installed
along with the database. The references tot this odbc on the internet assume
i know all the details about this matter on linux.
But I am not a linux guru so can anyone provide me a step by step guid to
accomplish this?

So how to setup the linux odbc driver and some examples on how to retrieve
data in a PHP program.

TIA
Harry Schurink
TSD BV
The Netherlands.

Running:
ASA 9.0.2.3045 on Ubuntu 8.04
HP version 5.2.4-2ubuntu5
Apache/2.2.8



Reply With Quote
  #5  
Old   
Phil Mitchell
 
Posts: n/a

Default Re: PHP-linux retrieving from ASA 9.0.2 on Ubuntu 8.04 - 05-23-2008 , 12:15 PM



How are you connecting from your web server on Windows? ODBC? Our PHP
driver?

The reason our PHP driver must be compiled for each version of PHP is
the APIs that PHP provides are largely provided as macros, so if any one
of those macros changes, we have to recompile. It is sometimes possible
to use an older PHP driver with a newer PHP binary, but compilation is
pretty trivial on UNIX, so there's rarely a point in doing so.

We are in the process of making this process easier.

As for connecting from ODBC, we do provide an ODBC driver with the
install. For details on how to connect to asa 9.0.2 using ODBC on UNIX,
take a look at the manual:

http://www.ianywhere.com/developer/p...9/00000079.htm

If you have any more specific questions, please feel free to ask.

Thanks,
Phil

Harry Schurink wrote:
Quote:
Hello All

We have asa 9.02 running on Ubuntu and can connect from our windows apps to
that database. No problems there, works like a charm.Connecting from our
windows webserver (php) is also no problem.

Ths next phase is to test connecting from a PHP program running on the same
ubuntu machine and dont really know how to start.

There seems to be a driver for connecting to asa, but that has to be
compiled for each php version, so that is not really an option. It should
work from any (recent) version.

I know there is some kind of odbc for linux, but that has not been installed
along with the database. The references tot this odbc on the internet assume
i know all the details about this matter on linux.
But I am not a linux guru so can anyone provide me a step by step guid to
accomplish this?

So how to setup the linux odbc driver and some examples on how to retrieve
data in a PHP program.

TIA
Harry Schurink
TSD BV
The Netherlands.

Running:
ASA 9.0.2.3045 on Ubuntu 8.04
HP version 5.2.4-2ubuntu5
Apache/2.2.8



Reply With Quote
  #6  
Old   
Phil Mitchell
 
Posts: n/a

Default Re: PHP-linux retrieving from ASA 9.0.2 on Ubuntu 8.04 - 05-23-2008 , 12:15 PM



How are you connecting from your web server on Windows? ODBC? Our PHP
driver?

The reason our PHP driver must be compiled for each version of PHP is
the APIs that PHP provides are largely provided as macros, so if any one
of those macros changes, we have to recompile. It is sometimes possible
to use an older PHP driver with a newer PHP binary, but compilation is
pretty trivial on UNIX, so there's rarely a point in doing so.

We are in the process of making this process easier.

As for connecting from ODBC, we do provide an ODBC driver with the
install. For details on how to connect to asa 9.0.2 using ODBC on UNIX,
take a look at the manual:

http://www.ianywhere.com/developer/p...9/00000079.htm

If you have any more specific questions, please feel free to ask.

Thanks,
Phil

Harry Schurink wrote:
Quote:
Hello All

We have asa 9.02 running on Ubuntu and can connect from our windows apps to
that database. No problems there, works like a charm.Connecting from our
windows webserver (php) is also no problem.

Ths next phase is to test connecting from a PHP program running on the same
ubuntu machine and dont really know how to start.

There seems to be a driver for connecting to asa, but that has to be
compiled for each php version, so that is not really an option. It should
work from any (recent) version.

I know there is some kind of odbc for linux, but that has not been installed
along with the database. The references tot this odbc on the internet assume
i know all the details about this matter on linux.
But I am not a linux guru so can anyone provide me a step by step guid to
accomplish this?

So how to setup the linux odbc driver and some examples on how to retrieve
data in a PHP program.

TIA
Harry Schurink
TSD BV
The Netherlands.

Running:
ASA 9.0.2.3045 on Ubuntu 8.04
HP version 5.2.4-2ubuntu5
Apache/2.2.8



Reply With Quote
  #7  
Old   
Phil Mitchell
 
Posts: n/a

Default Re: PHP-linux retrieving from ASA 9.0.2 on Ubuntu 8.04 - 05-23-2008 , 12:15 PM



How are you connecting from your web server on Windows? ODBC? Our PHP
driver?

The reason our PHP driver must be compiled for each version of PHP is
the APIs that PHP provides are largely provided as macros, so if any one
of those macros changes, we have to recompile. It is sometimes possible
to use an older PHP driver with a newer PHP binary, but compilation is
pretty trivial on UNIX, so there's rarely a point in doing so.

We are in the process of making this process easier.

As for connecting from ODBC, we do provide an ODBC driver with the
install. For details on how to connect to asa 9.0.2 using ODBC on UNIX,
take a look at the manual:

http://www.ianywhere.com/developer/p...9/00000079.htm

If you have any more specific questions, please feel free to ask.

Thanks,
Phil

Harry Schurink wrote:
Quote:
Hello All

We have asa 9.02 running on Ubuntu and can connect from our windows apps to
that database. No problems there, works like a charm.Connecting from our
windows webserver (php) is also no problem.

Ths next phase is to test connecting from a PHP program running on the same
ubuntu machine and dont really know how to start.

There seems to be a driver for connecting to asa, but that has to be
compiled for each php version, so that is not really an option. It should
work from any (recent) version.

I know there is some kind of odbc for linux, but that has not been installed
along with the database. The references tot this odbc on the internet assume
i know all the details about this matter on linux.
But I am not a linux guru so can anyone provide me a step by step guid to
accomplish this?

So how to setup the linux odbc driver and some examples on how to retrieve
data in a PHP program.

TIA
Harry Schurink
TSD BV
The Netherlands.

Running:
ASA 9.0.2.3045 on Ubuntu 8.04
HP version 5.2.4-2ubuntu5
Apache/2.2.8



Reply With Quote
  #8  
Old   
Phil Mitchell
 
Posts: n/a

Default Re: PHP-linux retrieving from ASA 9.0.2 on Ubuntu 8.04 - 05-23-2008 , 12:15 PM



How are you connecting from your web server on Windows? ODBC? Our PHP
driver?

The reason our PHP driver must be compiled for each version of PHP is
the APIs that PHP provides are largely provided as macros, so if any one
of those macros changes, we have to recompile. It is sometimes possible
to use an older PHP driver with a newer PHP binary, but compilation is
pretty trivial on UNIX, so there's rarely a point in doing so.

We are in the process of making this process easier.

As for connecting from ODBC, we do provide an ODBC driver with the
install. For details on how to connect to asa 9.0.2 using ODBC on UNIX,
take a look at the manual:

http://www.ianywhere.com/developer/p...9/00000079.htm

If you have any more specific questions, please feel free to ask.

Thanks,
Phil

Harry Schurink wrote:
Quote:
Hello All

We have asa 9.02 running on Ubuntu and can connect from our windows apps to
that database. No problems there, works like a charm.Connecting from our
windows webserver (php) is also no problem.

Ths next phase is to test connecting from a PHP program running on the same
ubuntu machine and dont really know how to start.

There seems to be a driver for connecting to asa, but that has to be
compiled for each php version, so that is not really an option. It should
work from any (recent) version.

I know there is some kind of odbc for linux, but that has not been installed
along with the database. The references tot this odbc on the internet assume
i know all the details about this matter on linux.
But I am not a linux guru so can anyone provide me a step by step guid to
accomplish this?

So how to setup the linux odbc driver and some examples on how to retrieve
data in a PHP program.

TIA
Harry Schurink
TSD BV
The Netherlands.

Running:
ASA 9.0.2.3045 on Ubuntu 8.04
HP version 5.2.4-2ubuntu5
Apache/2.2.8



Reply With Quote
  #9  
Old   
Phil Mitchell
 
Posts: n/a

Default Re: PHP-linux retrieving from ASA 9.0.2 on Ubuntu 8.04 - 05-23-2008 , 12:15 PM



How are you connecting from your web server on Windows? ODBC? Our PHP
driver?

The reason our PHP driver must be compiled for each version of PHP is
the APIs that PHP provides are largely provided as macros, so if any one
of those macros changes, we have to recompile. It is sometimes possible
to use an older PHP driver with a newer PHP binary, but compilation is
pretty trivial on UNIX, so there's rarely a point in doing so.

We are in the process of making this process easier.

As for connecting from ODBC, we do provide an ODBC driver with the
install. For details on how to connect to asa 9.0.2 using ODBC on UNIX,
take a look at the manual:

http://www.ianywhere.com/developer/p...9/00000079.htm

If you have any more specific questions, please feel free to ask.

Thanks,
Phil

Harry Schurink wrote:
Quote:
Hello All

We have asa 9.02 running on Ubuntu and can connect from our windows apps to
that database. No problems there, works like a charm.Connecting from our
windows webserver (php) is also no problem.

Ths next phase is to test connecting from a PHP program running on the same
ubuntu machine and dont really know how to start.

There seems to be a driver for connecting to asa, but that has to be
compiled for each php version, so that is not really an option. It should
work from any (recent) version.

I know there is some kind of odbc for linux, but that has not been installed
along with the database. The references tot this odbc on the internet assume
i know all the details about this matter on linux.
But I am not a linux guru so can anyone provide me a step by step guid to
accomplish this?

So how to setup the linux odbc driver and some examples on how to retrieve
data in a PHP program.

TIA
Harry Schurink
TSD BV
The Netherlands.

Running:
ASA 9.0.2.3045 on Ubuntu 8.04
HP version 5.2.4-2ubuntu5
Apache/2.2.8



Reply With Quote
  #10  
Old   
Phil Mitchell
 
Posts: n/a

Default Re: PHP-linux retrieving from ASA 9.0.2 on Ubuntu 8.04 - 05-23-2008 , 12:15 PM



How are you connecting from your web server on Windows? ODBC? Our PHP
driver?

The reason our PHP driver must be compiled for each version of PHP is
the APIs that PHP provides are largely provided as macros, so if any one
of those macros changes, we have to recompile. It is sometimes possible
to use an older PHP driver with a newer PHP binary, but compilation is
pretty trivial on UNIX, so there's rarely a point in doing so.

We are in the process of making this process easier.

As for connecting from ODBC, we do provide an ODBC driver with the
install. For details on how to connect to asa 9.0.2 using ODBC on UNIX,
take a look at the manual:

http://www.ianywhere.com/developer/p...9/00000079.htm

If you have any more specific questions, please feel free to ask.

Thanks,
Phil

Harry Schurink wrote:
Quote:
Hello All

We have asa 9.02 running on Ubuntu and can connect from our windows apps to
that database. No problems there, works like a charm.Connecting from our
windows webserver (php) is also no problem.

Ths next phase is to test connecting from a PHP program running on the same
ubuntu machine and dont really know how to start.

There seems to be a driver for connecting to asa, but that has to be
compiled for each php version, so that is not really an option. It should
work from any (recent) version.

I know there is some kind of odbc for linux, but that has not been installed
along with the database. The references tot this odbc on the internet assume
i know all the details about this matter on linux.
But I am not a linux guru so can anyone provide me a step by step guid to
accomplish this?

So how to setup the linux odbc driver and some examples on how to retrieve
data in a PHP program.

TIA
Harry Schurink
TSD BV
The Netherlands.

Running:
ASA 9.0.2.3045 on Ubuntu 8.04
HP version 5.2.4-2ubuntu5
Apache/2.2.8



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.