Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    hex2bin()

    Kopano Groupware Core
    3
    15
    881
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Manfred
      Manfred Kopano @yythoss last edited by

      Hi yythoss,

      @yythoss said in hex2bin():

      Hi,

      when I installed kopano, yum installed also httpd24 and php56 to /opt/rh/
      I wrote a php script that let me show the phpinfo

      Where did you run the script? On the command line or did you open it in browser?

      Manfred

      1 Reply Last reply Reply Quote 0
      • yythoss
        yythoss last edited by

        In a Browser with the IP Adresse from the Server.
        I am a programmer, I get such simple things

        1 Reply Last reply Reply Quote 0
        • fbartels
          fbartels Kopano last edited by

          But if your PHP does not know hex2bin it seems to use a different PHP version than where you got the phpinfo from.

          Regards Felix

          Resources:
          https://kopano.com/blog/how-to-get-kopano/
          https://documentation.kopano.io/
          https://kb.kopano.io/

          Support overview:
          https://kopano.com/support/

          1 Reply Last reply Reply Quote 0
          • yythoss
            yythoss last edited by

            If you install kopano core-8.6.XX-RHEL_6_PHP_56-x86_64, kopano-dagent needs the package rh-php56-php, which in turn needs httpd24-httpd.
            So it is clear which Apache and which PHP version is running.
            PHPInfo always gives you an overview of the current web server, in this case 5.6.5.
            It is also not possible that I have a wrong PHP version at the start, which installs this version of PHP itself. I think I’m missing a php rpm, but I do not know which package contains hex2bin.

            Here is a sceenshot from phpinfo:

            alt text

            fbartels 1 Reply Last reply Reply Quote 0
            • fbartels
              fbartels Kopano @yythoss last edited by

              @yythoss said in hex2bin():

              I do not know which package contains hex2bin.

              as far as i can see this should be a built in function of php.

              Regards Felix

              Resources:
              https://kopano.com/blog/how-to-get-kopano/
              https://documentation.kopano.io/
              https://kb.kopano.io/

              Support overview:
              https://kopano.com/support/

              1 Reply Last reply Reply Quote 0
              • Manfred
                Manfred Kopano last edited by

                Hi yythoss,

                as Felix already said, hex2bin is a built-in function in php.

                Then maybe something’s wrong with your webapp configuration. Maybe it’s configured to use php-fpm and you need to restart it as well?

                Manfred

                1 Reply Last reply Reply Quote 0
                • yythoss
                  yythoss last edited by

                  Is there a howto of php-fpm

                  1 Reply Last reply Reply Quote 0
                  • Manfred
                    Manfred Kopano last edited by

                    Hi yythoss,

                    the php-fpm was just a guess. In the knowledge base there’s php-fpm how-to with nginx: https://kb.kopano.io/display/WIKI/Nginx.

                    If you would provide more details on how have you installed Kopano and other components, it would be easier to track the issue. Now it’s just poking around in the dark.

                    Manfred

                    1 Reply Last reply Reply Quote 0
                    • yythoss
                      yythoss last edited by

                      Ok I think nginx is not needed.
                      I installed kopano as described in this howto:

                      Kopano Wiki

                      yum install kopano-server-packages
                      
                      1 Reply Last reply Reply Quote 0
                      • yythoss
                        yythoss last edited by

                        Hi Forum,

                        I find the Problem.
                        php 56 was installed to /opt/rh/rh-php56/ and the command line php programm was stored in

                        /opt/rh/rh-php56/root/usr/bin/php
                        

                        php was not found on this Maschine on the command line, so I make a symbolic link:

                        ln -s /opt/rh/rh-php56/root/usr/bin/php /usr/bin/php
                        

                        now hex2bin was found on the command line and everything is fine.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post