That was the problem with apache. I used the 'www' user and left the
group 'www-data' and all is well. Thanks.

Dave Paquette wrote:
> 
> If you change the user that apache is starting as, you will more than likely
> have to change the permissions on the log files and any other
> directory/files that apache needs write access to. :-)
> 
> -----Original Message-----
> From: Greg Frye <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> <[EMAIL PROTECTED]>
> Date: Wednesday, June 21, 2000 2:24 PM
> Subject: [SLU] postgresql, php, and apache help needed
> 
> >I have set up Storm Linux (Debian) with postgres (6.3.2-15), php
> >(3.0.5-3), and Apache (1.3.3-8). I have moved a database over from a
> >RedHat machine and am trying to get it set up to access the database
> >through php. When I try to set permissions on the database, psql doesn't
> >like the apache user name 'www-data' (it doesn't like the -). I have
> >tried single quoting and double quoting the name. I have tried to change
> >the apache user name and group to nobody but then apache fails to start.
> >
> >Has anyone set up web access to postgres through php?
> >
> >Any suggestions?
> >
> >Greg
> >--
> >Greg Frye, APS
> >California Environmental Protection Agency
> >Air Resources Board
> >Monitoring and Laboratory Division
> >1927 13th Street
> >P. O. Box 2815
> >Sacramento, CA  95812-2815
> >voice: 916-324-8892
> >fax: 916-327-8217
> >
> >
> >_______________________________________________
> >Stormlinux-users-list mailing list
> >[EMAIL PROTECTED]
> >http://www.stormix.com/community/lists/listinfo/stormlinux-users-list
> >
> 
> _______________________________________________
> Stormlinux-users-list mailing list
> [EMAIL PROTECTED]
> http://www.stormix.com/community/lists/listinfo/stormlinux-users-list

-- 
Greg Frye, APS
California Environmental Protection Agency
Air Resources Board
Monitoring and Laboratory Division
1927 13th Street
P. O. Box 2815
Sacramento, CA  95812-2815
voice: 916-324-8892
fax: 916-327-8217


_______________________________________________
Stormlinux-users-list mailing list
[EMAIL PROTECTED]
http://www.stormix.com/community/lists/listinfo/stormlinux-users-list

Reply via email to