Support » Fixing WordPress » Increasing max filesize

  • I saw a link on how to increase the max file-size however I can’t find my php.ini

    Then I read that there are premium accounts, but when I build sites, I just download wordpress 2.8 from the home page, is there a link to premium wordpress?

Viewing 9 replies - 1 through 9 (of 9 total)
  • php.ini is not in wordpress, it’s in your server software. If you are on a shared host, then you will need to contact them for directions on how to change the max upload size…some will allow you to use a local php.ini on your account.

    alrighty, so I asked my hosting company since it is a shared host, they’re saying to create a local .htaccess file….

    So what should I have in there?

    Try this…

    http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html

    If it doesn’t work, then ask your host what to put in it.

    Hi,

    You can also do it for your domain from your end..YOu can either do it from wp-config.php or .htaccess file of your domain. Here is the code for that:

    For wp-config.php:
    define(’WP_MEMORY_LIMIT’, ‘64M’);

    For .htaccess:
    php_value memory_limit 64M

    Thanks,

    Shane G.

    @shane G: Are you sure you read the question??

    Hi,

    @figaro – yes increase memory limit as as well upload limit with this:

    php_value upload_max_filesize 10M

    but this code does not go through in my last post..hence, I have provided it here

    Thanks,

    Shane G.

    So increasing the memory limit will increase the max file size upload? Hummm…I learn something new everyday 😉

    Is this PHP INI code?

    php_value upload_max_filesize 10M

    I have not seen php_value before.

    contactparijat

    (@contactparijat)

    Shane G

    I tried your code both of them. But neither worked.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Increasing max filesize’ is closed to new replies.