Support » Fixing WordPress » Upload limit /creating own php.ini

  • I am building a wordpress site but I have run into a problem. I can only upload up to 2mb. I have go daddy as a host and I know I need to create a new php.ini file in my root directory but I have no clue how the file should look. I have done some research but everything seems different. All I want is to raise my upload limit so I can upload small clips directly onto my site rather than embeding the clips because embeding doesnt seem to look as good. I have started by writing in note pad and saving the file as php.ini. I have <?php


    But how should this file look exactly ? Can someone give me an example? I am a beginner at this .

Viewing 3 replies - 1 through 3 (of 3 total)
  • Here is a link to an article showing different things I tried to increase upload size.

    What finally worked for me was to create two small text files named php.ini and php5.ini and use ftp to upload them into the wp-admin folder of my site.

    The files contained these lines:

    upload_max_filesize = 20M
    ; Maximum size of POST data that PHP will accept.
    post_max_size = 20M
    max_execution_time = 300

    that is all you put in the file no <?php



    or anything extra? and did you use Godaddy as your host ?

    Only the lines I posted go in the file. I have used this on Hostgator, but not on GoDaddy.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Upload limit /creating own php.ini’ is closed to new replies.