Hi folks,
It's been a while, but this seems like the best place to get a fresh answer to an old question: How can I access my VFP data on a Linux server?
My Linux server is running Debian 9, Apache 2, PHP 7, MariaDB, and ODBC.
I have a legacy Foxpro 7 application that I am trying to migrate to this environment. (I'll be converting the database to MariaDB, but that's not pertinent to my question here.) You may also want to know that I am making heavy use of memo fields (.FPT files) and indices (.CDX), but am NOT making use of the database container (DBC).
My immediate problem is that I have a Windows based web application that allows a customer's clients to get reports from their data. All my client has to do is FTP their data to the web site on a periodic basis. I'd like it to be as easy as that in the Linux environment. This implies that I need to be able to read those tables on Linux. I'm trying to ditch the Windows server, and this application is the only thing preventing this from happening.
My Linux environment is making heavy use of ODBC. So, naturally, I have been looking for an ODBC driver for Foxpro. I've done this on Windows, but I'm betting that the VFP driver requires VFP to be installed for it to work. That doesn't seem possible on Linux. I haven't yet found whether a Foxpro driver for ODBC even exists for Linux.
It looks like Microsoft's solution is an ODBC driver for SQL Server, but the driver seems to require installing SQL Server as well. That seems like a lot of trouble for something that I am not confident is going to work. Does anyone here have experience with this?
I have been scouring the internet for other answers. There are many partial answers--including a PHP extension for dBase, but that doesn't support FPT files.
I know some here have been dealing with this question for years. I'm hoping that some new answers are available. Any suggestions would be greatly appreciated.
Thanks in advance,
Ron
It's been a while, but this seems like the best place to get a fresh answer to an old question: How can I access my VFP data on a Linux server?
My Linux server is running Debian 9, Apache 2, PHP 7, MariaDB, and ODBC.
I have a legacy Foxpro 7 application that I am trying to migrate to this environment. (I'll be converting the database to MariaDB, but that's not pertinent to my question here.) You may also want to know that I am making heavy use of memo fields (.FPT files) and indices (.CDX), but am NOT making use of the database container (DBC).
My immediate problem is that I have a Windows based web application that allows a customer's clients to get reports from their data. All my client has to do is FTP their data to the web site on a periodic basis. I'd like it to be as easy as that in the Linux environment. This implies that I need to be able to read those tables on Linux. I'm trying to ditch the Windows server, and this application is the only thing preventing this from happening.
My Linux environment is making heavy use of ODBC. So, naturally, I have been looking for an ODBC driver for Foxpro. I've done this on Windows, but I'm betting that the VFP driver requires VFP to be installed for it to work. That doesn't seem possible on Linux. I haven't yet found whether a Foxpro driver for ODBC even exists for Linux.
It looks like Microsoft's solution is an ODBC driver for SQL Server, but the driver seems to require installing SQL Server as well. That seems like a lot of trouble for something that I am not confident is going to work. Does anyone here have experience with this?
I have been scouring the internet for other answers. There are many partial answers--including a PHP extension for dBase, but that doesn't support FPT files.
I know some here have been dealing with this question for years. I'm hoping that some new answers are available. Any suggestions would be greatly appreciated.
Thanks in advance,
Ron