Plugin Author
AITpro
(@aitpro)
Are you sure your server type allows using php_value and php_flag htaccess directive code in htaccess files? Most host servers run PHP in “CGI mode”, which does not allow using php_value and php_flag htaccess directive code in htaccess files. If your server type is DSO or running as Apache module then you can most likely use php_value and php_flag htaccess directive code in htaccess files. If you are not sure what your server type is then check the BPS System Info page > Server API info displayed for your server.
If you are sure your server type allows using php_value and php_flag htaccess directive code in htaccess files then you do these steps to add your custom htaccess code in BPS Custom Code.
1. Go to the BPS Custom Code tab page.
2. Click the Root htaccess File Custom Code accordion tab.
3. Copy your custom htaccess code in this Custom Code text box: 1. CUSTOM CODE TOP PHP/PHP.INI HANDLER/CACHE CODE
4. Click the Save Root Custom Code button.
5. Go to the Security Modes page and click the Root Folder BulletProof Mode Activate button.
If your website crashes due to not be allowed to use php_value and php_flag htaccess directive code in htaccess files then use FTP and delete your Root htaccess file, login to your website, delete the custom code that you added, click the Save Root Custom Code button and activate Root Folder BulletProof Mode.
-
This reply was modified 8 years, 8 months ago by
AITpro.
Plugin Author
AITpro
(@aitpro)
Note: max_input_vars cannot be set using ini_set in your wp-config.php file
http://php.net/manual/en/configuration.changes.modes.php
PHP_INI_PERDIR Entry can be set in php.ini, .htaccess, httpd.conf or .user.ini (since PHP 5.3)
-
This reply was modified 8 years, 8 months ago by
AITpro.
Plugin Author
AITpro
(@aitpro)
Assuming all questions have been answered – the thread has been resolved. If the issue/problem is not resolved or you have additional questions about this specific thread topic then you can post them at any time. We still receive email notifications when threads have been resolved.