RE: [PHP] Using PHP to access a Microsoft SQL server
| From: | Andrew Hill | Date: | Thu, 25 Jul 2002 17:34:41 +0000 |
| Subject: | RE: [PHP] Using PHP to access a Microsoft SQL server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-109553@lists.php.net to get a copy of this message | ||
ODBC can do this directly - no root privs needed.
http://www.php.net/odbc
Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software http://www.openlinksw.com
Universal Data Access & Virtuoso Universal Server
-----Original Message-----
From: Lazor, Ed [mailto:ELazor@providence.org]
Sent: Wednesday, July 03, 2002 5:12 PM
To: php-general
Subject: RE: [PHP] Using PHP to access a Microsoft SQL server
It sounds like you need to give your apache account access to the
database.
You can test this by logging in as root and running "su - apache".
You'll
be logged in as Apache; try running the commands you used to test
everything
when logged in as root. You'll probably get errors that will hopefully
lead
you to an answer.
-----Original Message-----
From: David Busby [mailto:busby@pnts.com]
Sent: Wednesday, July 03, 2002 3:01 PM
To: php-general
Subject: [PHP] Using PHP to access a Microsoft SQL server
List,
Has anyone done this before? I got it to work for my root
account
on my
computer but I cannot get access from my PHP scripts when I run under
the "apache" user? What the dilly yo?
Setup:
RH7.3
PHP4
unixODBC
freeTDS
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
************************************************************************
****
This message is intended for the sole use of the individual and entity
to
whom it is addressed, and may contain information that is privileged,
confidential and exempt from disclosure under applicable law. If you
are
not the intended addressee, nor authorized to receive for the intended
addressee, you are hereby notified that you may not use, copy, disclose
or
distribute to anyone the message or any information contained in the
message. If you have received this message in error, please immediately
advise the sender by reply email and delete the message. Thank you very
much.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php