Ad Widget

Collapse

cannot proceed install :(

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • irado
    Junior Member
    • May 2010
    • 2

    #1

    cannot proceed install :(

    I am stuck with this matter:

    localhost/zabbix shows traditional check of pre.requisites but with WRONG configuration data. Example:
    PHP post max size 8M 16M 32M Fail
    PHP upload max filesize 2M 2M 16M Ok
    PHP max execution time 30 300 600 Fail
    PHP max input time -1 300 600 Fail
    PHP timezone no Fail

    item 1: php.ini shows 32M, so it is wrong
    item 2: php.ini have 32M, not 16M
    item 3: 600 in php.ini, not 300 as show
    item 4: 600, ditto..
    item 5: timezone set to America/Sao_Paulo but..

    and, finally: PHP databases support no Fail

    which I cannot know how to set databases support.

    besides changing php.ini a lot of times, again and again, and restarting apache, seems that ANY alteration remains IGNORED.

    any hint?

    TIA
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    you probably are editing incorrect php.ini file. create a new file test.php with the following content :
    Code:
    <?php phpinfo() ?>
    open the file in your browser and check for the correct location.
    as for db support, it depends on how you installed php. if from the distribution packages, you must install a package named php-mysql, php5-mysql or similar (and different ones for other db, of course).
    Zabbix 3.0 Network Monitoring book

    Comment

    • irado
      Junior Member
      • May 2010
      • 2

      #3
      Originally posted by richlv
      you probably are editing incorrect php.ini file. create a new file test.php with the following content :
      Code:
      <?php phpinfo() ?>
      there are no other php.ini in entire system and the a.m code runs smoothly. Anyway I found the solution by myself:

      I simply intended to unclutter the fatty php.ini (many, many comments and empty lines) and treated it with egrep, removing all non-functional lines.

      reloaded apache and.. voilĂ .. solved.

      please, dont ask me (or blame on me): I dont know WHY in the hell the problem is gone. Simply as that.

      thank you for your kind attention.

      Comment

      • phil_denton
        Junior Member
        • Jul 2013
        • 1

        #4
        Restarting Apache worked!

        I was able to clear all the PHP errors in my install except one by editing the php.ini and clicking "Retry". Restarting apache2 fixed the remaining "PHP Databases Support" error. Thanks for the fix!

        Comment

        Working...