Jun 012010
 

My WordPress host on Dreamhost share hosting, it’s superexcellence, but, you know, Dreamhost has the 7M MAX upload filesize limit, so I can’t do something. I checked the Dreamhost Discussion Forum and google www, find a real and simple way to resolve it. Here’s how:

  1. Set up your domain for FastCGI
    Login your Dreamhost, enter Manage Domains, Edit your domain setup, in Web Options->PHP mode, select ‘PHP 5 FastCGI’, as below: 

    PHP5 FastCGI

    PHP5 FastCGI

  2. Download DreamHost Custom PHP.ini from DeamHost Scripts and Tips.
  3. Extract the dh-phpini.php from dh-phpini.zip and upload it to you website root.
  4. Open dh-phpini.php in you browse. Example: http://www.yoursite.com/dh-phpini.php.
  5. Then, this result shows,

    Install Completed

    Install Completed

  6. After install, this script create ‘cgi-bin’ folder in you website root, including ‘php.ini’ files in the folder, and add this lines in you .htaccess file, AddHandler fastcgi-script fcg fcgi fpl
    AddHandler php-fastcgi .php
    Action php-fastcgi /cgi-bin/dispatch.fcgi
  7. Default, the Max upload file size increase to 20M, if you want to change to more, edit php.ini file in ‘cgi-bin’ folder like this,post_max_size = 50M
    upload_max_filesize = 50M

  52 Responses to “How to increase UPLOAD MAX FILE SIZE for DREAMHOST?”

  1. 2012 Fashion ideas z…

    Nobody in life gets exactly what they thought they were going to get. But if you work really hard and you’re kind, amazing things will happen….

Sorry, the comment form is closed at this time.