Q: I can't upload my attachment. What should I do?
✍️ admin
👁️ 21
❤️ 0
💬 0
2026.07.12 00:45
A: If you are experiencing issues uploading files, please check the following server configuration and requirements:
Check File Size & Allowed Formats
Ensure your file does not exceed the maximum allowed size [e.g., 100MB].
Allowed file extensions are [e.g., JPG, PNG, PDF, ZIP].
Update Your Server Settings (for Administrators)
If you are the system administrator, please verify that your php.ini settings are configured correctly. Both options must be adjusted to support larger uploads:
ini
; Maximum allowed size for uploaded files.
upload_max_filesize = 100M
; Must be greater than or equal to upload_max_filesize
post_max_size = 110M
; Maximum amount of memory a script may consume
memory_limit = 256M
Use code with caution.
Restart Your Web Server / PHP Service
After saving the changes to php.ini, you must restart your server or PHP service for the new configuration to take effect. Run the appropriate command for your environment:
Apache Server:
bash
sudo systemctl restart apache2 # Ubuntu / Debian
sudo systemctl restart httpd # CentOS / RHEL / Fedora
Use code with caution.
Nginx + PHP-FPM:
bash
sudo systemctl restart nginx
sudo systemctl restart php-fpm # Generic PHP-FPM
# OR specify your version (e.g., php8.3-fpm):
sudo systemctl restart php8.3-fpm
Use code with caution.
Browser Troubleshooting
If the configuration is correct but the issue persists, try clearing your browser cache or switching to a different browser (e.g., Google Chrome, Microsoft Edge).
Check File Size & Allowed Formats
Ensure your file does not exceed the maximum allowed size [e.g., 100MB].
Allowed file extensions are [e.g., JPG, PNG, PDF, ZIP].
Update Your Server Settings (for Administrators)
If you are the system administrator, please verify that your php.ini settings are configured correctly. Both options must be adjusted to support larger uploads:
ini
; Maximum allowed size for uploaded files.
upload_max_filesize = 100M
; Must be greater than or equal to upload_max_filesize
post_max_size = 110M
; Maximum amount of memory a script may consume
memory_limit = 256M
Use code with caution.
Restart Your Web Server / PHP Service
After saving the changes to php.ini, you must restart your server or PHP service for the new configuration to take effect. Run the appropriate command for your environment:
Apache Server:
bash
sudo systemctl restart apache2 # Ubuntu / Debian
sudo systemctl restart httpd # CentOS / RHEL / Fedora
Use code with caution.
Nginx + PHP-FPM:
bash
sudo systemctl restart nginx
sudo systemctl restart php-fpm # Generic PHP-FPM
# OR specify your version (e.g., php8.3-fpm):
sudo systemctl restart php8.3-fpm
Use code with caution.
Browser Troubleshooting
If the configuration is correct but the issue persists, try clearing your browser cache or switching to a different browser (e.g., Google Chrome, Microsoft Edge).
📎 첨부파일
💬 댓글 0개
아직 댓글이 없습니다.