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? Link to comment https://forums.phpfreaks.com/topic/212833-kindly-help-me-im-new-in-php/ 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/ Link to comment https://forums.phpfreaks.com/topic/212833-kindly-help-me-im-new-in-php/#findComment-1108658 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? Link to comment https://forums.phpfreaks.com/topic/212833-kindly-help-me-im-new-in-php/#findComment-1109021 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. Link to comment https://forums.phpfreaks.com/topic/212833-kindly-help-me-im-new-in-php/#findComment-1109033 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.