Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> plik .htaccess
Roguś
post
Post #1





Grupa: Zarejestrowani
Postów: 132
Pomógł: 0
Dołączył: 14.12.2006
Skąd: Częstochowa

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


Witam. Nie mogę sobie poradzic z konfiguracja tego pliku. Jak tylko dodam linijki :
php_value upload_max_filesize 50 M
php_value post_max_size 50 M
to wyskakuje blad
  1. Internal Server Error
  2.  
  3. The server encountered an internal error or misconfiguration and was unable to complete your request.
  4.  
  5. Please contact the server administrator, webmaster@rogus.livenet.pl and inform them of the time the error occurred, and anything you might have done that may have caused the error.
  6.  
  7. More information about this error may be available in the server error log.
  8.  
  9. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Potrzebuje wyslac plik o wielkosci 50mb na serwer a limit ustawiony jest na 2
Go to the top of the page
+Quote Post
siemakuba
post
Post #2





Grupa: Przyjaciele php.pl
Postów: 1 112
Pomógł: 20
Dołączył: 10.04.2005

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


Na pewno nie 50 M tylko 50M.

Tak czy psiak, wygląda na to, że twój PHP pracuje jako CGI a nie jako moduł serwera.
W taki wypadku o konfiguracji przez .htaccess możesz raczej zapomnieć.

pozdr.
Go to the top of the page
+Quote Post
Roguś
post
Post #3





Grupa: Zarejestrowani
Postów: 132
Pomógł: 0
Dołączył: 14.12.2006
Skąd: Częstochowa

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


Pytalem sie 2x administracji serwera i napisali mi zebym wkleil to:

upload_max_filesize 50 M
memory_limit 50 M
post_max_size 50 M

niechodzilo to kazali wkleic

php_value upload_max_filesize 50 M
php_value post_max_size 50 M i tez nie chodzi. Sprawdze to bez odstepu

tez nie chodzi :/

Ten post edytował Roguś 18.03.2008, 14:26:47
Go to the top of the page
+Quote Post
Kayne
post
Post #4





Grupa: Zarejestrowani
Postów: 82
Pomógł: 0
Dołączył: 30.04.2006
Skąd: Kalisz

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


Bez spacji między 50 a M.
Go to the top of the page
+Quote Post

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: 20.09.2025 - 02:10