Solved

php changing max file upload size

Posted on 2010-08-25
6
904 Views
Last Modified: 2012-08-14
Hello,

I'm using doteasy to host my website and I'm trying to figure out how to change the max file upload size.  It's currently set to 8388608 bytes but I need more since I'm storing videos.  I can't find a php.ini file anywhere, is this not possible with doteasy?
0
Comment
Question by:cgray1223
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 2

Expert Comment

by:dfendig
ID: 33518781
https://kb.doteasy.com/questions/285/Does+Doteasy+have+a+maximum+file+size+for+transfers+to+the+FTP+server%3F

Doteasy has no limit to upload file size to ftp except for the space you have on your account.
If you're using the websites file uploader, I would recommend getting a ftp program like WinSCP.
http://winscp.net/
just start session enter in the ftp host, username and password, all of which should be found on your doteasy account page.

If you are trying to change html code for users to upload bigger file sizes, you should put something like this in the html code.
<input type="hidden" name ="MAX_FILE_SIZE" value="2000000">
you should probably use ftp though as HTML uploads of large files is bad for server performance.
0
 

Author Comment

by:cgray1223
ID: 33518905
I get POST Content-Length of 26246328 bytes exceeds the limit of 8388608 bytes, that would lead me to believe the server is enforcing that right?  I'm using a flash plugin to upload to php.  The plugin has max file size set to 100mb....
0
 
LVL 2

Accepted Solution

by:
dfendig earned 500 total points
ID: 33518929
I'm not surprised the Server is enforcing it. Doteasy is among those webhosts that won't allow you to change your php.ini or .htaccess files without calling them and asking them to do it for you (many reasons for this). Doteasy enforces a maximum upload size for anything except ftp to avoid affecting server performance. WinSCP is free and easy to use if you don't have a nice ide like dreamweaver.
0
WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

 

Author Comment

by:cgray1223
ID: 33518935
I can just use their admin tool if I have to upload files manually.  I was hoping to have my website support adding some video files by the admin user.  Thanks for the info.
0
 
LVL 2

Expert Comment

by:dfendig
ID: 33518975
In that case you would need to write some php code to open a stream and write the file in small buffered sizes, but WinSCP is easy, and I would suggest setting up a limited access ftp account for your admin user to be able to ftp files directly
0
 
LVL 5

Expert Comment

by:wmadrid1
ID: 33520081
I think ie the default PHP max upload configuration, please upload info.php to the serve and navigate it trough internet explorer.

Search the word "upload_max_filesize"

If the problem is this value, you can change it trought the file .htaccess


info.php
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question