Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Debian, php - permission denied
mrWodoo
post
Post #1





Grupa: Zarejestrowani
Postów: 160
Pomógł: 6
Dołączył: 13.01.2012
Skąd: Bytom

Ostrzeżenie: (0%)
-----


Witam, zainstalowałem Debiana 6.04, odpaliłem terminal (jako administrator) i zainstalowałem cały pakiet LAMP, utworzyłem katalog ~/public_html/projekt, pobrałem pliki z repozytorium githuba (przez stronę, zipa), wrzuciłem pliki do ~/public_html/projekt odpalam przeglądarkę, wbijam adres i ZONK
Kod
Warning: require_once(./Library/Ceres/Autoloader.php): failed to open stream: Permission denied in /home/mrwodoo/public_html/ceres/index.php on line 21 Fatal error: require_once(): Failed opening required './Library/Ceres/Autoloader.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/mrwodoo/public_html/ceres/index.php on line 21


...
Jak to naprawić? oprócz ręcznego chmod 644 albo 664, dokłádnie to nawet nie wiem...
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
skowron-line
post
Post #2





Grupa: Zarejestrowani
Postów: 4 340
Pomógł: 542
Dołączył: 15.01.2006
Skąd: Olsztyn/Warszawa

Ostrzeżenie: (0%)
-----


Kod
chmod 777 public_html -R

ustaw rekurencyjnie uprawnienia.
Go to the top of the page
+Quote Post
gothye
post
Post #3





Grupa: Zarejestrowani
Postów: 702
Pomógł: 65
Dołączył: 16.03.2009

Ostrzeżenie: (0%)
-----


Cytat(skowron-line @ 6.04.2012, 16:07:03 ) *
Kod
chmod 777 public_html -R

ustaw rekurencyjnie uprawnienia.



no brawo za poradę (IMG:style_emoticons/default/exclamation.gif)

u się daje uprawnienia chown -R apache:apache do katalogu www
Go to the top of the page
+Quote Post
skowron-line
post
Post #4





Grupa: Zarejestrowani
Postów: 4 340
Pomógł: 542
Dołączył: 15.01.2006
Skąd: Olsztyn/Warszawa

Ostrzeżenie: (0%)
-----


Cytat(gothye @ 7.04.2012, 07:37:28 ) *
no brawo za poradę (IMG:style_emoticons/default/exclamation.gif)

u się daje uprawnienia chown -R apache:apache do katalogu www

Nie jestem aż takim czempionem linuxa. Ale jak kolega zrobi jak piszesz to ma szanse trafić na problem braku grupy apache
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 2.10.2025 - 15:49