Free Web Hosting Forum
Go Back   Free Web Hosting Forum > 000WebHost Services > Customer Assistance
Reload this Page File upload limit 2Mb - set by php.ini
Reply
 
Thread Tools Display Modes
(#1)
Old
yeleyko's Avatar
yeleyko yeleyko is offline
Senior Member
yeleyko is on a distinguished road
 
Posts: 130
Join Date: Apr 2008
Location: Lviv, Ukraine
Default File upload limit 2Mb - set by php.ini - 05-02-2008, 02:36 PM

Hello,

as it's stated We do not allow to upload big files (where file size is more than 5 MB) on server
In a backend of my component (Pictures Gallery) there is a statement that Upload file limit is 2Mb - set by php.ini
I use Joomla. Does anybody know how to increase it up to 5Mb?
Is it on server or somewhere in my file system?

Thanks,
Yuri
Reply With Quote
(#2)
Old
thelimpkid thelimpkid is offline
Senior Member
thelimpkid is on a distinguished road
 
Posts: 110
Join Date: May 2008
Default 05-02-2008, 03:44 PM

uhm. You can find a php.ini file on PHP: Hypertext Preprocessor.
Then you upload your own php.ini (you only need to change the upload size limit) to the root of your account.

I'm not sure if it'll work..
Reply With Quote
(#3)
Old
dpaladin's Avatar
dpaladin dpaladin is offline
Senior Member
dpaladin is on a distinguished road
 
Posts: 703
Join Date: Apr 2008
Location: Lerdo, Durango, Mexico
Send a message via MSN to dpaladin
Default 05-02-2008, 05:05 PM

the limit on this hosting for uploading files is 2Mb, you can check in phpinfo().

But i think is a good size for images, what kind of images are you uploading??? =S


Freelance programmer

PHP - MySQL - Javascript - Ajax - XHTML

Plugins and templates for Wordpress

adn more..

Adding karma doesn't cost

No time for it, but:
http://dpaladin.com
Reply With Quote
(#4)
Old
drmmr763 drmmr763 is offline
Member
drmmr763 is on a distinguished road
 
Posts: 81
Join Date: Apr 2008
Default 05-02-2008, 10:39 PM

You may be able to set a custom size using a .htaccess file.
Reply With Quote
(#5)
Old
yeleyko's Avatar
yeleyko yeleyko is offline
Senior Member
yeleyko is on a distinguished road
 
Posts: 130
Join Date: Apr 2008
Location: Lviv, Ukraine
Default 05-03-2008, 10:18 PM

Can you please tell me where in .htaccess I should insert such value?

Quote:
Originally Posted by drmmr763 View Post
You may be able to set a custom size using a .htaccess file.
Reply With Quote
(#6)
Old
yeleyko's Avatar
yeleyko yeleyko is offline
Senior Member
yeleyko is on a distinguished road
 
Posts: 130
Join Date: Apr 2008
Location: Lviv, Ukraine
Default 05-03-2008, 10:19 PM

Pictures is not an issue, I have also video and 2Mb is pretty difficult...

Quote:
Originally Posted by dpaladin View Post
the limit on this hosting for uploading files is 2Mb, you can check in phpinfo().

But i think is a good size for images, what kind of images are you uploading??? =S
Reply With Quote
(#7)
Old
yeleyko's Avatar
yeleyko yeleyko is offline
Senior Member
yeleyko is on a distinguished road
 
Posts: 130
Join Date: Apr 2008
Location: Lviv, Ukraine
Default 05-03-2008, 10:22 PM

thanks. maybe i will postpone this thing as really don't wanna mess something with server's adjustments inside of account


Quote:
Originally Posted by thelimpkid View Post
uhm. You can find a php.ini file on PHP: Hypertext Preprocessor.
Then you upload your own php.ini (you only need to change the upload size limit) to the root of your account.

I'm not sure if it'll work..
Reply With Quote
(#8)
Old
thelimpkid thelimpkid is offline
Senior Member
thelimpkid is on a distinguished road
 
Posts: 110
Join Date: May 2008
Default 05-03-2008, 11:43 PM

I tried with a php.ini on my account. Unfortunately it didn't work.
Reply With Quote
(#9)
Old
drmmr763 drmmr763 is offline
Member
drmmr763 is on a distinguished road
 
Posts: 81
Join Date: Apr 2008
Default 05-04-2008, 03:25 AM

Try this in an .htaccess file:

Code:
php_value post_max_size 5M
php_value upload_max_filesize 5M
5M can be changed to any variable.
Reply With Quote
(#10)
Old
yeleyko's Avatar
yeleyko yeleyko is offline
Senior Member
yeleyko is on a distinguished road
 
Posts: 130
Join Date: Apr 2008
Location: Lviv, Ukraine
Thumbs up 05-10-2008, 09:53 AM

thank you very much.
inserting these lines into .htaccess really does solve the problem!

Quote:
Originally Posted by drmmr763 View Post
Try this in an .htaccess file:

Code:
php_value post_max_size 5M
php_value upload_max_filesize 5M
5M can be changed to any variable.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com