public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Hampicke <gentoo-user@hadt.biz>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Apache + mod_suphp
Date: Wed, 02 May 2012 19:56:19 +0200	[thread overview]
Message-ID: <4FA17543.1090301@hadt.biz> (raw)
In-Reply-To: <CAB6schh0rGD3rH61X_hCaWzPMDE1J37qgWwy-B_dGng7H4vsBQ@mail.gmail.com>



Am 02.05.2012 19:42, schrieb Carlos Sura:
> On 2 May 2012 05:35, Michael Hampicke <gentoo-user@hadt.biz> wrote:
> 
>>
>>
>> Am 02.05.2012 06:58, schrieb Carlos Sura:
>>> I get the following error:
>>>
>>> Internal Server Error
>>>
>>> Mismatch between target UID (81) and UID (1000) of file
>>> "/home/username/public_html/anything/index.php"
>>
>> Have you tried turning of safe_mode in the php.ini file?
>>
>>
> 
> 
> safe_mode is off

Ok, good. Then it's a issue with mod_suphp. The php instance of your
users vhost in configured to run under userid 81 (which is guess is
apache or www-data) but the files under "/home/username/public_html/" ar
actually owned by userid 1000 (which would be your user).

So there are two solutions, one is practical, the other is not :)

Just configure mod_suphp for your users vhost to run under userid 1000.

You could also chown all files and dirs under
"/home/username/public_html/" to apache. But that's not really practical.

You just have to look up on how the change the uid, I don't know, as I
don't have any experience with mod_suphp



  reply	other threads:[~2012-05-02 17:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-02  4:58 [gentoo-user] Apache + mod_suphp Carlos Sura
2012-05-02 11:35 ` Michael Hampicke
2012-05-02 17:42   ` Carlos Sura
2012-05-02 17:56     ` Michael Hampicke [this message]
2012-05-02 18:02       ` Michael Hampicke
2012-05-02 12:59 ` [gentoo-user] " Nikos Chantziaras
2012-05-02 17:43   ` Carlos Sura

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FA17543.1090301@hadt.biz \
    --to=gentoo-user@hadt.biz \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox