From LiteSpeed's PHP settings, where do I change the following? (It is a Plesk server.) ■upload_

Discussion in 'PHP' started by Z-GUNDAM, Jan 5, 2018.

  1. Z-GUNDAM

    Z-GUNDAM New Member

    From LiteSpeed's PHP settings, where do I change the following?
    (It is a Plesk server.)


    ■upload_max_filesize
    ■post_max_sizeを501M
     
  2. NiteWave

    NiteWave Administrator

    http://php.net/manual/en/ini.core.php
    Code:
    post_max_size    PHP_INI_PERDIR
    upload_max_filesize    PHP_INI_PERDIR
    so you can add following in .htaccess
    Code:
    <IfModule Litespeed>
    php_value post_max_size 10M
    php_value upload_max_filesize 50M
    </IfModule>
     
    Last edited by a moderator: Jan 8, 2018
  3. Z-GUNDAM

    Z-GUNDAM New Member

    I have the following error, how can I resolve it?
    ■Error

    mod_fcgid: HTTP request length 134225920
     
  4. NiteWave

    NiteWave Administrator

    it doesn't look like a litespeed error. since litespeed don't use mod_fcgid
     

Share This Page