To Set php.ini file according to your project follow the steps
1. Create .htaccess file in your project root folder
2. Put below line of code in that
3. Save File
4. Refresh apache server
Line of code is
php_flag file_uploads On
php_value memory_limit 8M
php_value post_max_size 8M
php_value upload_max_filesize 4M
Change size as your requirement...
Thanks
No comments:
Post a Comment