Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Unable to upload a file larger than 5mb via a php page. Checked php.ini file. Error message "exceeds MAX_FILE_SIZE directive in html"
Centos, Apache, PHP Version 5.4.16
upload_max_filesize=12M memory_limit=512M max_execution_time=60 max_input_time=60 post_max_size=12M
There are no .htaccess files used that I know of.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×