Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / How I created a php5.ini file for large uploads

How I created a php5.ini file for large uploads

Locked

Views: 3,809

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
29 Aug 2009, 6:40 PM
#1
lesko avatar

lesko

New Zenner

Join Date:
Aug 2009
Posts:
6
Plugin Contributions:
0

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

4 Sep 2009, 4:15 AM
#2
tmjanssens06 avatar

tmjanssens06

New Zenner

Join Date:
Sep 2009
Posts:
1
Plugin Contributions:
0

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

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

4 Sep 2009, 4:07 PM
#3
lesko avatar

lesko

New Zenner

Join Date:
Aug 2009
Posts:
6
Plugin Contributions:
0

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...