Are you runnig Apache as a service, or are you starting it by
manually executing apache.exe? If you are running it as a service, then
you may have to change the account under which the service will run. This
can be done via the service control manager, which is accessible from the
Control Panel. If you are starting Apache by executing apache.exe while
logged in under the account that has the proper permissions, it should
work. In fact, if you are using Apache as a service, try to see if it
works the other way.
Another possible solution is ODBTP. I use it to access MS-SQL and
MS-Access databases, and it should work with FoxPro. You can obtain it at
On Tue, 15 Jul 2003, Yue Teng wrote:
> I would think so, because I can run WinSQL Lite on the PC
> and access the database.
> I am suspecting it has to be some kind of permissions
> that I need to set on Apache. But I don't know what they are.
> PHP is also able to access the database if I run from the
> command line like this:
> php fp.php
> But it fails when it is run from Apache (both DLL and
> CGI methods fail in the same manner).
> ----- Original Message -----
> From: "Robert Twitty" <[EMAIL PROTECTED]>
> To: "YT Lee" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 15, 2003 2:31 AM
> Subject: Re: [PHP-DB] PHP/ODBC/Apache/Netware/Foxpro Problem
> > What is the setting of the ODBC connect string parameter SOURCEDB?
> > Does the PC running Apache have permission to access the path
> > specified by SOURCEDB?
> > -- bob
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php