[Wolves] (Covide) More help pls
Adam Sweet
adam at adamsweet.org
Thu Aug 17 23:02:52 BST 2006
Peter Cannon wrote:
> On Thursday 17 August 2006 22:21, Adam Sweet wrote:
>
>> This is a postgresql permissions error. Does your apache user have read
>> permissions on that db?
>
> Oo'er um.
>
> Sorry for being dim, I presume apache is owned by root?
> Via the browser on the VMPlayer --> Debian-->peter using epiphany I'm browsing
> to localhost which immediately brings up the Covide login screen.
Heh, no worries Pete. On Debian systems, Apache runs as the user
'www-data', but I think I might have taken you up the garden path there.
>
> I then enter the user name and password that is entered in the postgres
> database as the owner also the database, user & password is entered in the
> file /var/www/inc_db.php
Right, the username, password and probably host address of the database
server (localhost by the sound of it) that you supplied in
/var/www/inc_db.php is what will be used to connect to the database.
Postgres needs to have suitable permissions for that user to access the
database.
Off the top of my head, I don't know postgres very well. Someone else
will have to explain that.
>
> This is all on Debian Sarge running in VM Player.
>
> Before I lead everyone up the garden path there are two packages that I have
> not installed because I cant find them apt says they are mentioned but not
> available they are;
>
> php5-pear & php5-tidy
PHP5-pear may well be important. Pear is like a whole extra library of
PHP stuff distributed outside of the core PHP. Do an apt-get update and
then an apt-cache search pear | grep pear. I'm running Sarge on my mail
server and it had php4 and php4-pear which is why php5-pear might not be
available to you.
dpkg --get-selections | grep php
will tell you what php stuff is installed and
php -v
will give you an exact version.
Hope that helps a little.
Ad
More information about the Wolves
mailing list