Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github #2063: Debian installer - set max_input_vars = 5000 #2064

Open
wants to merge 1 commit into
base: 24.10.00
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion install/installer_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ php_ini="/etc/php/${php_vers}/apache2/php.ini"
grep -q '^memory_limit = 256M' "$php_ini" || sed -Ei 's/^memory_limit = [0-9]+M/memory_limit = 256M/' "$php_ini"
grep -q '^post_max_size = 75M' "$php_ini" || sed -Ei 's/^post_max_size = [0-9]+M/post_max_size = 75M/' "$php_ini"
grep -q '^upload_max_filesize = 75M' "$php_ini" || sed -Ei 's/^upload_max_filesize = [0-9]+M/upload_max_filesize = 75M/' "$php_ini"
grep -q '^;max_input_vars = 1000' "$php_ini" || sed -Ei 's/^;max_input_vars = [0-9]+/max_input_vars = 5000/' "$php_ini"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this is looking for the commented out line, but not uncommenting it which means the new value would not apply. Is that your intention

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also will not update existing installs. Is that needed?


# MariaDB overrides
cp 60-aspen.cnf /etc/mysql/mariadb.conf.d/
Expand Down Expand Up @@ -63,4 +64,4 @@ mysql_secure_installation

dpkg-reconfigure tzdata

./setup_aspen_user_debian.sh
./setup_aspen_user_debian.sh
Loading