Woran liegt die Fehlermeldung »User is not allowed to run scripts« beim Einsatz von mod_suphp für Apache 1.3?

April 10th, 2008 by matthias

Symptom: in /var/log/apache/error.log finden sich Zeilen wie:

  1. Error in suphp.c on line 364: User is not allowed to run scripts
  2. [Fri Jan 28 09:25:30 2005] [error] [client 127.0.0.1] Premature end of script headers: /var/www/phpinfo.php

Dies tritt auf, wenn der Dateieigentümer des Scripts der Benutzer »root« ist. mod_suphp führt ein Script mit den Rechten seines Eigentümers aus, und wohl aus Sicherheitsgründen erlaubt mod_suphp nicht, dass ein Script mit root-Rechten ausgeführt wird.

Posted in Apache Webserver |

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.