Max upload size

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Max upload size

Post by shiznatix »

Ok I had my max_upload_filesize set to 100M on my dev server just so I don't ever run into problems yada yada yada. Now, I installed some software that required mbstring to be installed. I go ahead and install it on my centOS box via "yum install php-mbstring" and all seams well except it screwed with my php.ini file and that made me an angry shiznatix. The biggest problem was that it removed my Zend Optimizer stuff which is required by this software that I was trying to run. So, I go ahead and download the zend optimizer again and re-install it. All seams well but now...

now I can not get my max_upload_filesize back to 100M! I have it set in the php.ini (both, because Zend moves it or something to some crazy location) and even checked it with phpinfo() and it all looks correct. The non-correct thing is now with phpMyAdmin when I am trying to upload a 50M table and it says Max: 8,192KiB. I try to upload anyway and an error saying crap about the file being too big.

Yes, I have restarted apache, I don't know what else to do so I ask you guys.
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Re: Max upload size

Post by shiznatix »

never mind. i had to re-change the post_max_size as well. Stupid centOS changing my .ini file!
Post Reply