Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2009
    Posts
    6
    Plugin Contributions
    0

    Default How I created a php5.ini file for large uploads

    OK I got it...

    After remembering needing a PHP.ini file for my server with Slide Show Pro Director I went over to there forum and looked around.

    Since I didn't have a PHP5.ini file in my root directory on my godaddy account, this is how i created a php5.ini file and got rid of that 2mb upload issue I had.

    This is what i did and it works GREAT!
    This is the way I did it, it may be done other ways I have no idea.

    1- I took any PHP file from my server, anything with the little note pad icon with what looks like a gear wheel on it and copy it to my desktop.

    2- Re named it PHP5

    3- Erased any info that way written in the file before hand and added my info below...

    upload_max_filesize = 50M
    post_max_size = 55M
    memory_limit = 64M


    4- Upload it to the root directory

    5- Save and check your admin/server settings. If all good then your done.

    For some reason the "upload_max_filesize" has to be larger than the "post_max_size"

    And i didn't have to do a server reboot.

    I hope this helps anyone that wants to be able to upload larger files.


    Lesko

  2. #2
    Join Date
    Sep 2009
    Posts
    1
    Plugin Contributions
    0

    Default Re: How I created a php5.ini file for large uploads

    When files are uploaded in zen cart, where are they uploaded to

  3. #3
    Join Date
    Aug 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: How I created a php5.ini file for large uploads

    are you talking about the main files for the cart or just the php5 file?
    if its just the php5 file then it goes to your root directory of your site. just make sure to change your settings in the max values area of the admin to what ever your upload size is...

 

 

Similar Threads

  1. When customer uploads file for attribute where does it go?
    By dat311 in forum General Questions
    Replies: 1
    Last Post: 17 Aug 2011, 01:06 PM
  2. File uploads are disabled in the php.ini configuration file
    By stanleymog in forum General Questions
    Replies: 2
    Last Post: 19 Aug 2008, 01:24 PM
  3. file type options for file uploads?????
    By GoldBuckle in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 25 Mar 2008, 10:39 AM
  4. Replies: 5
    Last Post: 15 Jan 2007, 06:23 AM
  5. Maximum file size for uploads
    By benjames in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 22 Oct 2006, 08:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg