Sounds to me like you should draw yourself a diagram of what each group of files has for permissions, what are all the users and groups involved and their effective permissions. Quite possibly you may just need to add the virtual domain admin users to some group or add user apache to the virtual domain group so the apache process can write. Do the php pages have to write anything to the virtual domain directories? Even if it's just a log file, then that user is denied. Do all of the virtual domains wrote to the database? I didn't understand that part. If so, then for one I wouldn't do it that way. They should each have their own database. Also, if you have this: rw-r--r--, then the group can't write only the specific user, but you may need to add the user you run the database as or the php process in somewhere. Hell, I'm confused now.
User Group Apache apache web process and /var/www/html Virtual1 virtual1 Domain1 Virtual2 virtual2 Domain2 Virtual3 virtual3 Domain3 Database database database files
Hint: Don't refer to them as one domain or another, use more concrete terms. You've got so much going on, I'm confuse now. Back to my nap.
--- "Kelsay, Brian - Kansas City, MO" wrote:
...
Ok, let me restate the problem again, along with an update. There are 19 virtual websites. Only one of the sites is using the pear library to access mysql. This is the only difference. So all I really need to find out is why would changing the owner of the pear tree cause a db error? I can of course put debugging code in this to trace what is going on, but doing so would disable the website. I know I've got to be missing something, probably something obvious.
Thanks, BRian Densmore
__________________________________ Discover Yahoo! Get on-the-go sports scores, stock quotes, news and more. Check it out! http://discover.yahoo.com/mobile.html