PHP/DB requirements

  • Published by
    George Papadakis
  • Last modified
    05 April 2015
  • Up to date
    Yes
  • Profile concerned
    End user, Developer
  • Concerns
    Component Plugins Modules
  • Since Version
    2.0
  • Voting
    Average rating
    4 votes
    • 1
    • 2
    • 3
    • 4
    • 5
  • Favourites
    591 PHP/DB requirements /documentation/tutorials-english/78-installation-upgrade/591-php-db-requirements.html
  • Tags
    requirements

In Joomla backend, go to
--  Joomla's System Information, and then inside TAB PHP information
and check these variables, are (at least) >=4000

  • max_input_vars  
  • suhosin.post.max_vars         (if you have suhosin patch on your server)
  • suhosin.request.max_vars    (if you have suhosin patch on your server)

If not: first try changing the .htaccess, if that results in an "Internal server Server Error",
then remove/undo the new lines that you added and try using the php.ini

either add to your .htaccess :
php_value max_input_vars  4000
php_value suhosin.post.max_vars  4000
php_value suhosin.request.max_vars  4000

or to your php.ini :
max_input_vars=4000
suhosin.post.max_vars=4000
suhosin.request.max_vars=4000


NOTE: for php.ini you may have to define its location inside the .htaccess file example

<IfModule mod_suphp.c>
    suPHP_ConfigPath /home/mysite_account/public_html
</IfModule>

NOTE: PHP 5.3 or later is needed and PHP 5.4 or later is recommended