php.ini

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kingsleymyers@aol.com

    php.ini

    I have a client with a need for an "upload_max_fil esize" directive
    [php.ini] in excess of 10MB. Their current host [FatCow] will not
    budge. They need something in the range of 15MB to 20MB. Will this
    require a dedicated server? Can someone recommend an affordable
    solution?

    They anticipate this to be used mostly from October to January / 2
    people per day / average file size of 6MB.

    Thanks in advance.

  • Justin Koivisto

    #2
    Re: php.ini

    kingsleymyers@a ol.com wrote:[color=blue]
    > I have a client with a need for an "upload_max_fil esize" directive
    > [php.ini] in excess of 10MB. Their current host [FatCow] will not
    > budge. They need something in the range of 15MB to 20MB. Will this
    > require a dedicated server? Can someone recommend an affordable
    > solution?
    >
    > They anticipate this to be used mostly from October to January / 2
    > people per day / average file size of 6MB.
    >
    > Thanks in advance.
    >[/color]

    Try adding in a .htaccess file (if php is an apache module):

    php_value upload_max_file size 20M
    php_value post_max_size 20M

    Test it. If it works, ask the host if that is acceptable to them. If
    not, find a host that will allow this (or some other form of editing
    settings for the domain).

    --
    Justin Koivisto, ZCE - justin@koivi.co m
    http://koivi.com

    Comment

    • James David

      #3
      Re: php.ini

      kingsleymyers@a ol.com wrote:
      [color=blue]
      > I have a client with a need for an "upload_max_fil esize" directive
      > [php.ini] in excess of 10MB. Their current host [FatCow] will not
      > budge. They need something in the range of 15MB to 20MB. Will this
      > require a dedicated server? Can someone recommend an affordable
      > solution?
      >
      > They anticipate this to be used mostly from October to January / 2
      > people per day / average file size of 6MB.
      >
      > Thanks in advance.[/color]

      If changing hosts is too much, there are utilities out there that will
      split files into pieces. Google "split files", "file splitter", etc


      Comment

      • kingsleymyers@aol.com

        #4
        Re: upload_max_file size (php.ini)

        kingsleymyers wrote:[color=blue][color=green]
        > > I have a client with a need for an "upload_max_fil esize" directive
        > > [php.ini] in excess of 10MB. Their current host [FatCow] will not
        > > budge. They need something in the range of 15MB to 20MB. Will this
        > > require a dedicated server? Can someone recommend an affordable
        > > solution?
        > >
        > > They anticipate this to be used mostly from October to January / 2
        > > people per day / average file size of 6MB.
        > >
        > > Thanks in advance.[/color][/color]

        aaron wrote:[color=blue]
        > can't get around it with .htaccess ? Something like "php_value
        > upload_max_file size " . Never tried it just a suggestion. Figure most
        > admin jus set up php.ini and that is it. So if you could chage it with
        > .htaccess maybe they wouldn't notice :)[/color]

        Justin Koivisto wrote:[color=blue]
        > Try adding in a .htaccess file (if php is an apache module):
        >
        > php_value upload_max_file size 20M
        > php_value post_max_size 20M
        >
        > Test it. If it works, ask the host if that is acceptable to them. If
        > not, find a host that will allow this (or some other form of editing
        > settings for the domain).
        >
        > --
        > Justin Koivisto, ZCE - justin@koivi.co m
        > http://koivi.com[/color]

        Thanks Aaron and Justin. I have forwarded the suggestions to my client
        for testing.

        Comment

        Working...