Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[v1.4] Linux-Server Problem
#1
Deutsch
Hallo ich habe ein problem mit meinem server:
Quote:Warning: Unknown(/opt/twlan/htdocs/index.php): failed to open stream: Permission denied in Unknown on line 0

Warning: (null)() [function.include]: Failed opening '/opt/twlan/htdocs/index.php' for inclusion (include_path='.') in Unknown on line 0

English
Hello I have a problem with my server is:

Quote:Warning: Unknown(/opt/twlan/htdocs/index.php): failed to open stream: Permission denied in Unknown on line 0

Warning: (null)() [function.include]: Failed opening '/opt/twlan/htdocs/index.php' for inclusion (include_path='.') in Unknown on line 0
Reply
#2
Ich würd mal sagen, der Server hat keine Leserechte auf die Datei. Wink
Reply
#3
I have checked the file path and it exists so I'm not sure why it failed?
I checked the properties of httpd and its set as executable so I can't see and issue there?
85% off Buy Now certkiller 648-375
Testking http://testkingworld.net
Reply
#4
Warum liegt der Server Root unter /opt? In allen Linux Systemen ist der Standart /var/www.

Je nach System kannst du das wie folg auf der Kommandozeile beheben, dazu brauchst du aber root rechte (also sudo oder root benutzer).

Code:
chmod -R 0755 /opt/twlan/htdocs/

Nach dem ausführen können alle die Datei lesen, aber nur der Besitzer schreiben.
Reply




Users browsing this thread: 1 Guest(s)