php8.3 .ini upload increase not working #4816

Closed
opened 2026-02-05 09:18:23 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Jeffrey-FB on GitHub (Jun 6, 2024).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

I've made edits in my nano /etc/php/8.3/cli/php.ini

post_max_size = 1024M
upload_max_filesize = 1024M
memory_limit = 512M

in my ```
/var/www/bookstack/.env

File Upload Limit

Maximum file size, in megabytes, that can be uploaded to the system.

FILE_UPLOAD_SIZE_LIMIT=1024


What am i missing, was i suppose to execute something to get this to update?
I've rebooted my server multiple times.

### Exact BookStack Version

 v24.05.1

### Log Content

/var/log/apache2/error.log 
`[Thu Jun 06 16:46:34.905690 2024] [proxy_fcgi:error] [pid 587:tid 134432210028224] [client MYIPHERE:58602] AH01071: Got error 'PHP message: PHP Warning:  POST Content-Length of 14479178 bytes exceeds the limit of 8388608 bytes in Unknown on line 0', referer: https://bookstack.HIDDEN.DOMAIN.com/books/new-book-to-new-storage/page/new-page/edit`

### Hosting Environment

ubuntu 24.04, php8.3, Apache/2.4.58
Originally created by @Jeffrey-FB on GitHub (Jun 6, 2024). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario I've made edits in my `nano /etc/php/8.3/cli/php.ini` ``` post_max_size = 1024M upload_max_filesize = 1024M memory_limit = 512M ``` in my ``` /var/www/bookstack/.env # File Upload Limit # Maximum file size, in megabytes, that can be uploaded to the system. FILE_UPLOAD_SIZE_LIMIT=1024 ``` What am i missing, was i suppose to execute something to get this to update? I've rebooted my server multiple times. ### Exact BookStack Version v24.05.1 ### Log Content /var/log/apache2/error.log `[Thu Jun 06 16:46:34.905690 2024] [proxy_fcgi:error] [pid 587:tid 134432210028224] [client MYIPHERE:58602] AH01071: Got error 'PHP message: PHP Warning: POST Content-Length of 14479178 bytes exceeds the limit of 8388608 bytes in Unknown on line 0', referer: https://bookstack.HIDDEN.DOMAIN.com/books/new-book-to-new-storage/page/new-page/edit` ### Hosting Environment ubuntu 24.04, php8.3, Apache/2.4.58
OVERLORD added the 🐕 Support label 2026-02-05 09:18:23 +03:00
Author
Owner

@Jeffrey-FB commented on GitHub (Jun 6, 2024):

figured it out.
Needed to edit /etc/php/8.3/fpm/php.ini

even though php -i | grep 'Loaded Configuration File'
told me it was the former.

@Jeffrey-FB commented on GitHub (Jun 6, 2024): figured it out. Needed to edit /etc/php/8.3/fpm/php.ini even though `php -i | grep 'Loaded Configuration File'` told me it was the former.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4816