Re: Can't get suexec to work on a userdir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I _think_ that PHP is running as a module (based on this section of my
php conf file:

<IfModule prefork.c>
  LoadModule php5_module modules/libphp5.so
</IfModule>
<IfModule worker.c>
  LoadModule php5_module modules/libphp5-zts.so
</IfModule>

But not sure of the implications.  Do the PHP scripts need to run as
CGI in order for suexec to work?

Ken

On Tue, Nov 30, 2010 at 12:14 AM, Matus UHLAR - fantomas
<uhlar@xxxxxxxxxxx> wrote:
> On 29.11.10 16:10, Ken Tanzer wrote:
>> Hi.  I'm looking for some help with using suexec and userdir (2.2.15 on FC11).
>>
>> I have this test script running in a userdir (~test44/public_html/test.php):
>>
>> <?php system('whoami'); ?>
>>
>> And it keeps reporting apache, not test44.
>
> do you run PHP scripts as CGI?
>
> --
> Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> Spam is for losers who can't get business any other way.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux