Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Ad icon
Video Content Creator
pramukag
Updated:
Yesterday at 6:10 AM
Ad icon
QA Engineer Intern
pramukag
Updated:
Yesterday at 6:07 AM
Ad icon
Sell your Land, House on idamata.lk for FREE
sajith.xp.pk
Updated:
Thursday at 9:03 AM
Handmade Character Soft Toys
anil1961
Updated:
Tuesday at 2:11 PM
Bodim.lk out now !
Manoj Suranga Bandara
Updated:
Jun 21, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
vps eke php ini podi udawwak denwada
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Honey Bunch" data-source="post: 30008824" data-attributes="member: 569484"><p>If you are using Nginx with PHP-FPM, you should follow these steps to ensure your changes to max_input_vars are applied correctly:</p><p></p><ol> <li data-xf-list-type="ol"><strong>Locate the php.ini File</strong>: Ensure you are editing the correct php.ini file. To find the location of the active php.ini file, you can create a PHP file with the following content and access it through your web server:<br /> php<br /> Copy code<br /> <?php phpinfo(); ?><br /> Look for the Loaded Configuration File entry to find the path to the php.ini file.</li> <li data-xf-list-type="ol"><strong>Edit the php.ini File</strong>: Open the php.ini file with a text editor and set the max_input_vars directive:<br /> ini<br /> Copy code<br /> max_input_vars = 3000</li> <li data-xf-list-type="ol"><strong>Check PHP-FPM Pool Configuration</strong>: PHP-FPM can have its own configuration that overrides settings in php.ini. Check the pool configuration files typically found in /etc/php/7.x/fpm/pool.d/. Open the pool configuration file (e.g., <a href="http://www.conf" target="_blank">www.conf</a>) and ensure there are no conflicting php_value or php_admin_value directives.</li> <li data-xf-list-type="ol"><strong>Restart PHP-FPM and Nginx</strong>: After editing the php.ini file, you need to restart both PHP-FPM and Nginx to apply the changes:<br /> bash<br /> Copy code<br /> sudo systemctl restart php7.x-fpm<br /> sudo systemctl restart nginx<br /> Replace php7.x-fpm with the appropriate version number of PHP-FPM you are using.</li> <li data-xf-list-type="ol"><strong>Verify the Changes</strong>: Create a PHP file with the following content and access it through your web server to confirm the new max_input_vars value:<br /> php<br /> Copy code<br /> <?php phpinfo(); ?><br /> Look for the max_input_vars directive in the output to ensure it reflects the new value (3000 in this case).</li> </ol><p>By following these steps, you should be able to ensure that the max_input_vars setting is correctly applied in your Nginx and PHP-FPM setup.</p></blockquote><p></p>
[QUOTE="Honey Bunch, post: 30008824, member: 569484"] If you are using Nginx with PHP-FPM, you should follow these steps to ensure your changes to max_input_vars are applied correctly: [LIST=1] [*][B]Locate the php.ini File[/B]: Ensure you are editing the correct php.ini file. To find the location of the active php.ini file, you can create a PHP file with the following content and access it through your web server: php Copy code <?php phpinfo(); ?> Look for the Loaded Configuration File entry to find the path to the php.ini file. [*][B]Edit the php.ini File[/B]: Open the php.ini file with a text editor and set the max_input_vars directive: ini Copy code max_input_vars = 3000 [*][B]Check PHP-FPM Pool Configuration[/B]: PHP-FPM can have its own configuration that overrides settings in php.ini. Check the pool configuration files typically found in /etc/php/7.x/fpm/pool.d/. Open the pool configuration file (e.g., [URL="http://www.conf"]www.conf[/URL]) and ensure there are no conflicting php_value or php_admin_value directives. [*][B]Restart PHP-FPM and Nginx[/B]: After editing the php.ini file, you need to restart both PHP-FPM and Nginx to apply the changes: bash Copy code sudo systemctl restart php7.x-fpm sudo systemctl restart nginx Replace php7.x-fpm with the appropriate version number of PHP-FPM you are using. [*][B]Verify the Changes[/B]: Create a PHP file with the following content and access it through your web server to confirm the new max_input_vars value: php Copy code <?php phpinfo(); ?> Look for the max_input_vars directive in the output to ensure it reflects the new value (3000 in this case). [/LIST] By following these steps, you should be able to ensure that the max_input_vars setting is correctly applied in your Nginx and PHP-FPM setup. [/QUOTE]
Insert quotes…
Verification
Dahaya deken beduwama keeyada?
Post reply
Top
Bottom