rjtengco Posted September 8, 2010 Share Posted September 8, 2010 Hi.. can somebody out there can help me. im totally frustrated and im googling crazy. can somebody tell me the right configuration of php and mysql to upload more than 1mb file size and store it in a mysql database. my script works fine and it only can upload less than 1mb files size. can somebody give me the right configuration? Quote Link to comment Share on other sites More sharing options...
litebearer Posted September 8, 2010 Share Posted September 8, 2010 try ... http://www.cyberciti.biz/faq/linux-unix-apache-increase-php-upload-limit/ Quote Link to comment Share on other sites More sharing options...
rjtengco Posted September 9, 2010 Author Share Posted September 9, 2010 tnx for the link lite but it still not working, i use wamp server at windows xp environment sp2. i follow the instruction at the link but its not still working. is there another way to solved my problem? Quote Link to comment Share on other sites More sharing options...
pornophobic Posted September 9, 2010 Share Posted September 9, 2010 First, you need to find your php.ini file. If you installed php yourself, it's in the directory you installed php in, otherwise it's most likely in a folder called php. Open the php.ini file in Notepad or whatever you use to edit files, and search for the following lines and make sure they are the same as what I've put here. file_uploads = On upload_max_filesize = 128M ;;Or whatever size limit you'd like to set. post_max_size = 128M ;;Doesn't need to be the same. Then restart apache and see if that works. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.