Re: Problem with PHP & ODBC
| From: | ofontes at free dot fr | Date: | Wed, 05 May 2004 13:58:42 +0000 |
| Subject: | Re: Problem with PHP & ODBC | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-34276@lists.php.net to get a copy of this message | ||
> > I try to configure a web server under Debian/GNU/Linux Sarge. All
> fonctionning
> > perfectly except odbc connect.
> >
> > I have to read datas in an ACCESS2000 mdb file to import in Mysql.
> >
> > Actually this run correct under a windows 2000 workstation with
> apache/PHP/Mysql
> >
> >
> > I installed on my debian odbc tools and odbcinst.
> > Under Linux i have an error in /var/log/apache/error.log
> > Can't alloc filename
> > Unable to locate database /var/www/foo.mdb
> >
> > I tried to relax permissions on my file foo.mdb (chmod 777) but i have the
> same
> > error.
> >
> > Ideas ?
> >
> >
> > Olivier FONTES
> > Bad English speaking frenchie
Selon Robert Twitty <rtwitty@neutron.ushmm.org>:
> If you are able to place the Access database on a Windows machine that can
> be accessed by the Linux machine, then you can use odbtp. You can get it
> at http://odbtp.sourceforge.net.
>
> -- bob
My problem is i can't modify my PHP code. Actually the web site runs on a
windows2000 workstation and odbc work fine, y want to port this website with
minimal modifications on a linux machine.
I don't have time to code another system to import my access database.
Olivier FONTES