Current time: 11-24-2024, 08:51 AM Hello There, Guest! (LoginRegister)


Post Reply 
I can not upload alarge .zip file
Author Message
thinktodo Offline
Junior Member
*

Posts: 21
Joined: Jun 2009
Reputation: 0
Post: #1
I can not upload alarge .zip file
there is a attachment.
I have set upload_max_filesize = 50M in php.ini,and restart apache(service httpd restart),
but,when I upload a .zip file(13.8M),clicking submit button,the page jump to login page.
I notice that,there is a hint on foot:The maximum size of one file is restricted by net2ftp to 48828.125 kB and by PHP to 2M .
that,upload_max_filesize never effective.
if I upload a small .zip file,it is ok
anyone could help me?
thanks a lot


Attached File(s) Thumbnail(s)
   
12-29-2009 01:04 PM
Find all posts by this user Quote this message in a reply
motokochan Offline
Member
***

Posts: 274
Joined: Jul 2008
Reputation: 1
Post: #2
RE: I can not upload alarge .zip file
Did you edit the correct php.ini? The global system one in /etc/ isn't used.
12-29-2009 03:08 PM
Visit this user's website Find all posts by this user Quote this message in a reply
thinktodo Offline
Junior Member
*

Posts: 21
Joined: Jun 2009
Reputation: 0
Post: #3
RE: I can not upload alarge .zip file
(12-29-2009 03:08 PM)motokochan Wrote:  Did you edit the correct php.ini? The global system one in /etc/ isn't used.

oh,my god,I did modified /etc/php.ini.now I can found 7 php.ini,which one shall I modified?
/etc/php.ini
/etc/ispcp/fcgi/parts/php4/php.ini
/etc/ispcp/fcgi/parts/master/php4/php.ini
/etc/ispcp/fcgi/parts/master/php5/php.ini
/etc/ispcp/fcgi/parts/php5/php.ini
/var/www/fcgi/master/php5/php.ini
/var/www/fcgi/reseller1.crm.com/php5/php.ini
12-29-2009 03:20 PM
Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #4
RE: I can not upload alarge .zip file
Hi ;

/var/www/fcgi/master/php5/php.ini


Cheers ;
12-29-2009 03:32 PM
Quote this message in a reply
thinktodo Offline
Junior Member
*

Posts: 21
Joined: Jun 2009
Reputation: 0
Post: #5
RE: I can not upload alarge .zip file
(12-29-2009 03:32 PM)nuxwin Wrote:  Hi ;

/var/www/fcgi/master/php5/php.ini


Cheers ;

yes,It show 20M.but,If I upload a .zip file more than 10M,the page also jump to login page!


Attached File(s) Thumbnail(s)
   
12-29-2009 04:02 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #6
RE: I can not upload alarge .zip file
You also have to change the "post_max_size" directive Wink
12-29-2009 05:16 PM
Visit this user's website Find all posts by this user Quote this message in a reply
thinktodo Offline
Junior Member
*

Posts: 21
Joined: Jun 2009
Reputation: 0
Post: #7
RE: I can not upload alarge .zip file
(12-29-2009 05:16 PM)kilburn Wrote:  You also have to change the "post_max_size" directive Wink

cool!it is OK!thanks
12-29-2009 05:58 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)