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

    php-curl not available with webapp files-plugin

    Plugins for Kopano WebApp
    3
    10
    2673
    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.
    • nillix
      nillix last edited by

      Hi everybody,

      I have newly upgraded my old zarafa installation to kopano on Debian 9.0.
      Today I tried to activate the files plugin, but when I try to setup up my owncloud account it stays offline and tells that php-curl is not available. But in fact I have php-curl and php7.0-curl installed (on debian 9.0 php7 is used). The phpinfo tells me that curl is loaded.

      /etc/php/7.0/mods-available/curl.ini

      ; configuration for php curl module
      ; priority=20
      extension=curl.so
      

      cat -n /etc/php/7.0/apache2/php.ini | grep extension_dir

       ; extension_dir = "./"
        ; extension_dir = "ext"
        ; Be sure to appropriately set the extension_dir directive.
        ;sqlite3.extension_dir =
      

      Hope that anybody can help.

      Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • marty
        marty Kopano (Inactive) last edited by

        Could you double check if the module is enabled? Maybe activate it with a2enmod.

        https://documentation.kopano.io/deskapp_admin_manual
        http://documentation.kopano.io/webapp_smime_manual
        https://documentation.kopano.io/webapp_admin_manual

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

          Hi,

          thanks for your answer. I tried that, but could´t find any module named curl.

          a2enmod curl
          ERROR: Module curl does not exist!
          

          any other variants didn´t worked aswell (php-curl, php7-curl…)

          1 Reply Last reply Reply Quote 0
          • marty
            marty Kopano (Inactive) last edited by

            Ah yeah I have that same problem on my debian9 machine.
            But my curl extension is actually loaded.

            Do you have the file
            /etc/php/7.0/apache2/conf.d/20-curl.ini

            and did you restart apache after installing the module?

            https://documentation.kopano.io/deskapp_admin_manual
            http://documentation.kopano.io/webapp_smime_manual
            https://documentation.kopano.io/webapp_admin_manual

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

              yes, this files exists with the following content:

              ; configuration for php curl module
              ; priority=20
              extension=curl.so
              
              
              1 Reply Last reply Reply Quote 0
              • nillix
                nillix last edited by nillix

                also restarted apache of course ;)

                1 Reply Last reply Reply Quote 0
                • marty
                  marty Kopano (Inactive) last edited by

                  Since you’ve upgraded jessie to stretch a new php version (7) is also installed.
                  Please double check if php5 is not used (Can be checked in phpinfo).

                  For example:
                  Configuration File (php.ini) Path should be “/etc/php/7.0/apache2”

                  https://documentation.kopano.io/deskapp_admin_manual
                  http://documentation.kopano.io/webapp_smime_manual
                  https://documentation.kopano.io/webapp_admin_manual

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

                    Hi Marty,

                    everything seems to be on php7.

                    0_1499775616069_php_info.PNG

                    1 Reply Last reply Reply Quote 0
                    • marty
                      marty Kopano (Inactive) last edited by

                      btw, could you paste your versions of kopano and mapi:
                      dpkg -l | egrep ‘kopano|mapi’

                      https://documentation.kopano.io/deskapp_admin_manual
                      http://documentation.kopano.io/webapp_smime_manual
                      https://documentation.kopano.io/webapp_admin_manual

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

                        Hello,

                        I’ve come across the same issue and I’m hoping someone figured t his out already. If so could you post the fix?

                        a2enmod curl is failing even though curl 7.48 shows as enabled in php (via info.php printout) because there is not a curl.load file in the /etc/apache2/mods-available folder.

                        I do find curl.so in /usr/lib/php/20151012/curl.so
                        And there are two 20-curl.ini files:
                        /etc/php/7.0/apache2/conf.d/20-curl.ini
                        /etc/php/7.0/cli/conf.d/20-curl.ini

                        I suspect that somewhere there should be a curl.load file generated by some app durring Kopano php install.
                        I’ve been looking on line for hours and nothing about how to generate the file manually.
                        Also, apt-get remove curl and reinstall does not help

                        How to proceed? Any help would be greatly appreciated.

                        Thanks

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