From: Scott Marlowe <scott.marlowe@gmail.com>
To: Aras Angelo <araskoktas@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: installing without shell access
Date: Mon, 10 Nov 2008 11:55:04 -0700
Message-ID: <dcc563d10811101055o68f46a89q404562f9fc3e8918@mail.gmail.com> (raw)
In-Reply-To: <5136d4130811101049m13c1b739n2a54c8b0d4b0dad4@mail.gmail.com>
References: <49185831.2060303@navarrocollege.edu>
<dcc563d10811100954o24f37158l35f2f253c341805e@mail.gmail.com>
<491878AA.3050503@rp-online.de>
<5136d4130811101049m13c1b739n2a54c8b0d4b0dad4@mail.gmail.com>
You do NOT have to have root priviledges. I've built postgresql more
than once without it and made it work.
What you do need is to install it to your local home directory where
the apache user has priviledges and set LD_LIBRARY_PATH (or whatever
it's called, it has been a while) and you're golden.
On Mon, Nov 10, 2008 at 11:49 AM, Aras Angelo <araskoktas@gmail.com> wrote:
> gmake install requires root privileges.
> It wont install with regular httpd user (apache, nobody etc.) on a php-shell
> script or php system command functions.
>
>
> On Mon, Nov 10, 2008 at 10:08 AM, Thomas Pundt <mlists@rp-online.de> wrote:
>>
>> Scott Marlowe schrieb:
>>>
>>> On Mon, Nov 10, 2008 at 8:50 AM, Dana Holland
>>> <dana.holland@navarrocollege.edu> wrote:
>>>>
>>>> Is it at all possible to get pgsql installed on a system without access
>>>> to a
>>>> shell? A friend is wanting me to install a particular bulletin board
>>>> system
>>>> on her website; however, her hosting plan only provides the MySQL
>>>> database -
>>>> the bulletin board requires pgsql. And her hosting plan has no ssh
>>>> access.
>>>>
>>>> So, is it possible to install the database with only ftp access to the
>>>> account?
>>>
>>> most web languanges ala php allow you to execute arbitrary commands
>>> (using back ticks in php) so theoretically she could probably do it.
>>>
>>
>> That reminds me having seen something like a shell implemented in PHP:
>> google for php-shell. I've never used such a beast, though.
>>
>> Ciao,
>> Thomas
>>
>> --
>> Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-admin
>
>
--
When fascism comes to America, it will be draped in a flag and
carrying a cross - Sinclair Lewis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: scott.marlowe@gmail.com, araskoktas@gmail.com
Subject: Re: installing without shell access
In-Reply-To: <dcc563d10811101055o68f46a89q404562f9fc3e8918@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox