• 23-09-2007, 12:42:40
    #1
    Kimlik doğrulama veya yönetimden onay bekliyor.
    arkadaşlar serverde 2mb sınırı var serverla 30 defa maiileştim php.ini dosyası yok sunucuda diye en sonunda bugun php.ini.sample diye örenek php.ini atmışlar
    attıkları örnek php.ini dosyası bu
    ; Rename this file to php.ini and uncomment or add directives.
    ; For a complete list of valid directives, visit:
    ;  http://us2.php.net/manual/en/ini.php
    [PHP
    ; We highly recommend that you leave this options enabled
    cgi.fix_pathinfo=1
    ; Increase maximum post size
    ;post_max_size = 20M
    ; Increase execution time
    ;max_execution_time = 300
    ; pull in EGPCS [Environment, GET, POST, Cookie, Server] variables as globals
    ;register_globals = true
    ; For performance reasons, (mt) does not load all of the modules that are available
    ; into PHP. You may uncomment any one of the following "extension" lines to enable
    ; the desired module
    ; Salblotron XSLT
    ;extension=xslt.so
    bende bu şekilde degiştirdim upload_max_filesize yok yolladıklarında
    ; Rename this file to php.ini and uncomment or add directives.
    ; For a complete list of valid directives, visit:
    ;  http://us2.php.net/manual/en/ini.php
    [PHP
    ; We highly recommend that you leave this options enabled
    cgi.fix_pathinfo=1
    ; Increase maximum post size
    ;post_max_size = 20M
    ; Increase maximum file size
    ;upload_max_filesize = 50M
    ; Increase execution time
    ;max_execution_time = 300
    ; pull in EGPCS [Environment, GET, POST, Cookie, Server] variables as globals
    ;register_globals = true
    ; For performance reasons, (mt) does not load all of the modules that are available
    ; into PHP. You may uncomment any one of the following "extension" lines to enable
    ; the desired module
    ; Salblotron XSLT
    ;extension=xslt.so
    ama hala olmadı :S:S
  • 23-09-2007, 12:46:46
    #2
    phpinfo() yaptığında php.ini dosyasının nerede oldugunu görebilirsin.
    buradaki örnekte ise
    ; Increase maximum post size
    ;post_max_size = 20M
    ; Increase maximum file size
    ;upload_max_filesize = 50M
    önlerindeki noktalı virgülleri bir kaldırsınlar hele. yoksa isterse 10TB yaz ne işe yarasın
  • 23-09-2007, 21:00:10
    #3
    Alıntı
    Rename this file to php.ini and uncomment or add directives.
    For a complete list of valid directives, visit:
    PHP: php.ini directives - Manual
    [PHP]
    We highly recommend that you leave this options enabled
    cgi.fix_pathinfo=1
    Increase maximum post size
    post_max_size = 20M
    whether to allow .rar file upload
    file_uploads = on
    Maximum allowed size for uploaded files.
    upload_max_filesize = 40M
    Increase execution time
    max_execution_time = 300
    pull in EGPCS [Environment, GET, POST, Cookie, Server] variables as globals
    register_globals = true
    For performance reasons, (mt) does not load all of the modules that are available
    into PHP. You may uncomment any one of the following "extension" lines to enable
    the desired module
    Salblotron XSLT
    extension=xslt.so
    arkasdaşlar bu hale getirip upload ettimm başındaki noktalı virgülleri kaldırdım ama şimdide üzgünüm dosya türü desteklenmiyor diyor sıyıracam bu server yuzunden yaw
  • 23-09-2007, 21:04:30
    #4
    bu dosya yanlıs. doğru bir php.ini temin etmeyi dene.
  • 06-01-2008, 17:58:57
    #5
    bi tane .htaccess oluştur içine aşagıdaki kafana göre düzenle sorun kalmaz
    tabi server linux ise

    Alıntı
    php_value upload_max_filesize 250M
    php_value post_max_size 250M
  • 10-05-2008, 15:16:27
    #6
    Üyeliği durduruldu
    ByBossX adlı üyeden alıntı: mesajı görüntüle
    bi tane .htaccess oluştur içine aşagıdaki kafana göre düzenle sorun kalmaz
    tabi server linux ise
    Bu şekilde kullanımın ne gibi bir farkı var php.ini'den değiştirmekten?
  • 10-05-2008, 15:39:05
    #7
    php.ini butun sunucudaki siteler icin gecerli olur,
    .htaccess sadece yuklendigi klasor icin gecerlidir
  • 10-05-2008, 17:33:26
    #8
    Kimlik doğrulama veya yönetimden onay bekliyor.
    Kontrol panelin nedir ?
    Sunucu seninmi yoksa
    shared hostingmi ?

    Eğer Sunucu Senin İSe:
    phpinfo.php diye dosya oluşturup içine
    <? phpinfo(); ?> yazıp sunucuya yükle

    Configuration File (php.ini) Path karşılık gelen yerdedir php.ini dosyan açıp düzenlersin apache'ye resetlersin

    Eğer shared hosting ise phpsuexec kurulu ise sunucuya( Çoğu shared hostinglerde phpsuexec kuruludur)
    php.ini dosyası oluşturup içine sadece upload_max_filesize = 100M yazman yeterlidir bu şekilde safe mode filanda kapatıp acabilirsin php.ini dosyasını işlem yaptığın dosyanın dizinine yükle

    tabi .htaccess ilede bunları yapabilirsin
  • 10-05-2008, 22:58:19
    #9
    Üyeliği durduruldu
    localde bunu deneyen arkadaşlar genelde server ı yeniden başlatmadıkları için olmadı diyorlar....