Ad Widget

Collapse

Stuck in RHEL5

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MrKen
    Senior Member
    • Oct 2008
    • 652

    #46
    Sounds like it's time you started to learn how to Google!
    There are plenty of Linux related sites online that could answer that question!

    Download the rpms on a pc with internet, save to usb or something.

    You must owe me a whole case of beer by now!!!!

    MrKen
    Disclaimer: All of the above is pure speculation.

    Comment

    • zabbixnewbie
      Junior Member
      • Jul 2010
      • 28

      #47
      Originally posted by MrKen
      Sounds like it's time you started to learn how to Google!
      There are plenty of Linux related sites online that could answer that question!

      Download the rpms on a pc with internet, save to usb or something.

      You must owe me a whole case of beer by now!!!!

      MrKen
      All the way I am googling around with all the problems,
      My server already install with "php-bcmath-5.1.6-20.el5"
      I am still wondering whether is because of php5 version problem. From google, there is people complaining about php3 and php4 but no info about php5
      My machine cant go internet is because its at the backend network in my company. Need to think way to move it to other segment

      Many many thanks for all the way you bought me to Zabbix world.

      Comment

      • rexvivek
        Junior Member
        • Oct 2009
        • 5

        #48
        using phpinfo(), we can see, is bcmath enabled or not?
        so add test.php

        <?php
        phpinfo();
        ?>

        browse the test.php in the url. And gothrough bcmath.

        Regards
        vivek

        Comment

        • zabbixnewbie
          Junior Member
          • Jul 2010
          • 28

          #49
          Originally posted by rexvivek
          using phpinfo(), we can see, is bcmath enabled or not?
          so add test.php

          <?php
          phpinfo();
          ?>

          browse the test.php in the url. And gothrough bcmath.

          Regards
          vivek
          From the phpinfo();
          Configure Command :
          './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql=/usr/local/mysql' '--prefix=/usr/local/apache2/php' '--with-config-file-path=/usr/local/apache2/php' '--enable-force-cgi-redirect' '--disable-cgi' '--with-zlib' '--with-gettext' '--with-gdbm' '--disable-bcmath'

          How to edit the phpinfo() function?
          Warning: phpinfo() [function.phpinfo]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Kuala_Lumpur' for 'MYT/8.0/no DST' instead in /usr/local/apache2/htdocs/phpinfo.php on line 14

          Comment

          • rexvivek
            Junior Member
            • Oct 2009
            • 5

            #50
            Originally posted by zabbixnewbie
            From the phpinfo();
            Configure Command :
            './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql=/usr/local/mysql' '--prefix=/usr/local/apache2/php' '--with-config-file-path=/usr/local/apache2/php' '--enable-force-cgi-redirect' '--disable-cgi' '--with-zlib' '--with-gettext' '--with-gdbm' '--disable-bcmath'

            How to edit the phpinfo() function?
            Warning: phpinfo() [function.phpinfo]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Kuala_Lumpur' for 'MYT/8.0/no DST' instead in /usr/local/apache2/htdocs/phpinfo.php on line 14
            If you are configured php from source then, Using below commend to configure the php and run the make install commend and restart httpd service

            ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --prefix=/usr/local/apache2/php --with-config-file-path=/usr/local/apache2/php --enable-force-cgi-redirect --disable-cgi --with-zlib --with-gettext --with-gdbm --enable-bcmath --with-png --with-gd --with-curl --enable-sockets --enable-mbstring
            Last edited by rexvivek; 02-08-2010, 14:41.

            Comment

            • zabbixnewbie
              Junior Member
              • Jul 2010
              • 28

              #51
              Originally posted by rexvivek
              If you are configured php from source then, Using below commend to configure the php and run the make install commend and restart httpd service

              ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --prefix=/usr/local/apache2/php --with-config-file-path=/usr/local/apache2/php --enable-force-cgi-redirect --disable-cgi --with-zlib --with-gettext --with-gdbm --enable-bcmath --with-png --with-gd --with-curl --enable-sockets --enable-mbstring
              Thanks rex,
              I manage to solve the bcmath problem. but now i hook up in the php configurations where i new to edit the value:
              PHP post max size 8M
              PHP max execution time 30
              PHP max input time -1
              PHP timezone no Timezone for PHP is not set. Please set "date.timezone" option in php.ini.


              I already edit the php.ini in /etc, /usr/local/apache2/php/php.ini-production and /usr/local/apache2/php/php.ini-development and do services recycled

              but yet i still get the errors, anywhere else need to set or change?

              Comment

              • rexvivek
                Junior Member
                • Oct 2009
                • 5

                #52
                Hi,

                In the phpinfo page will tell, which php.ini file is using..

                here it is using /usr/local/lib/php.ini

                Please find the php.ini file and edit the file and restart the service.
                Attached Files
                Last edited by rexvivek; 03-08-2010, 07:30.

                Comment

                • zabbixnewbie
                  Junior Member
                  • Jul 2010
                  • 28

                  #53
                  Originally posted by rexvivek
                  Hi,

                  In the phpinfo page will tell, which php.ini file is using..

                  here it is using /usr/local/lib/php.ini

                  Please find the php.ini file and edit the file and restart the service.
                  Thanks again.
                  This is really such a big tips to a newbie like me
                  I manage to get it and i can start play around with zabbix now

                  Comment

                  • zabbixnewbie
                    Junior Member
                    • Jul 2010
                    • 28

                    #54
                    Thanks to all the people that lead me to Zabbix world
                    Special applause thanks to MrKen.

                    Comment

                    Working...