RE: [PHP] Using PHP to access a Microsoft SQL server
| From: | Lazor, Ed | Date: | Wed, 03 Jul 2002 22:11:59 +0000 |
| Subject: | RE: [PHP] Using PHP to access a Microsoft SQL server | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-105318@lists.php.net to get a copy of this message | ||
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.