Resolving failed installation, because of server limitations

  • Published by
    George Papadakis
  • Last modified
    27 August 2014
  • Up to date
    Yes
  • Profile concerned
    End user, Webdesigner, Developer
  • Concerns
    Component
  • Since Version
    1.5.6
  • Voting
    Average rating
    3 votes
    • 1
    • 2
    • 3
    • 4
    • 5
  • Favourites
    271 Resolving failed installation, because of server limitations /documentation/tutorials-english/78-installation-upgrade/271-resolving-failed-installation-because-of-server-limitations.html
  • Tags
    server, installation

The following applies to installing FLEXIcontent and other relative large Joomla components

(a). PHP (web server) limitations
-- regarding upload FLEXIcontent installation file 2-4 MBs
-- executing times of the installation script

Please go to Joomla's System Information, and then inside TAB PHP information,
and make sure that you have at least the following in your .htaccess (may require restart web server),
or ask your WebHost Provider to do it:

  1. php_value upload_max_filesize 15M
  2. php_value post_max_size 15M
  3. php_value max_input_time 300
  4. php_value max_execution_time 120
  5. php_value default_socket_timeout 120
  6. php_value max_input_vars 5000

    (if you have suhosin patch on your server then add these too)
    php_value suhosin.post.max_vars 10000
    php_value suhosin.request.max_vars 10000
* number 5, may help with "mysql server has gone aways"
* number 6, may help when being unable to save FLEXIcontent component configuration
-- IF YOUR SERVER uses php.ini instead of .htaccess then add in it:
(php.ini at public_html folder)

upload_max_filesize=15M
post_max_size=15M
max_input_time=300
max_execution_time=120
default_socket_timeout=120
max_input_vars=5000
NOTE: You may have to add the following line to your .htaccess so that the php.ini is applied to scripts in all sub-folders
SetEnv   PHP_INI_SCAN_DIR   /.../.../public_html/


ALSO consider disabling FTP layer in Joomla configuration if you have it enabled
(b) About being unable to save component configuration
--
also check that params column of __extensions table is of type "text"

(c) MySQL server Limitations

Please check that you have at least the following in the mysql.ini of your MySQL Server
or ask your WebHost Provider to do it:

max_allowed_packet=16M