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:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 3:01 PM
To: php-general
Subject: [PHP] Using PHP to access a Microsoft SQL server

        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?


PHP General Mailing List (
To unsubscribe, visit:
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

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to