Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

suPHP

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
massheep
Tux's lil' helper
Tux's lil' helper
Posts: 81
Joined: Sun Jan 02, 2005 8:52 pm

suPHP

  • Quote

Post by massheep » Wed Aug 02, 2006 11:44 am

This is what I am trying to do:

I want php-scripts to be read as a user I define in vhost.
I managed to get running this stuff except of this error message:

---
Internal Server Error

Could not execute script "/var/www/index.php"
---

I did all 000-777 permutations with chown and so on but nothing worked.
The starting parameters of apache2 I changed from "-D PHP5" to "-D SUPHP". No effect.

What am I doing wrong? Or is there something basic I overread or didn't understand?

This is what I use:
apache v2.0.58
mod_suphp v0.6.1-r1 (mode-force)
php v5.1.4-r4 (cli)

Thanks for help.
Top
pyxel
n00b
n00b
User avatar
Posts: 44
Joined: Fri Nov 04, 2005 5:09 pm
Location: Bratislava/brussels
Contact:
Contact pyxel
Website

  • Quote

Post by pyxel » Thu Aug 03, 2006 12:56 pm

Hello,

try this nice modul: http://websupport.sk/~stanojr/projects/mod_ruid/


br.
Top
xces
Guru
Guru
User avatar
Posts: 515
Joined: Fri Oct 11, 2002 7:23 pm

  • Quote

Post by xces » Thu Aug 03, 2006 2:40 pm

What is written to your suphp.log when you try to run the script?
Top
massheep
Tux's lil' helper
Tux's lil' helper
Posts: 81
Joined: Sun Jan 02, 2005 8:52 pm

  • Quote

Post by massheep » Thu Aug 03, 2006 6:30 pm

unfortunatelly suexec, suphp and other suX need cgi but i didn't want to miss apache headers.

today i found a solution which is mpm-peruser

thanks for your help anyways.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic