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

    Webapp crashed with error 500 / PHP7-FPM

    Kopano WebApp
    2
    6
    1896
    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.
    • nils50122
      nils50122 last edited by nils50122

      hello,

      i have a problem with the webapp and php7 fpm.

      When i try to connect to my url http://xxx.de/webapp there comes an apache error 500.

      The apache log files shows the following errors:

      [Wed Jun 21 20:58:27.997753 2017] [core:alert] [pid 11144] [client xxxx:xxxx] /usr/share/kopano-webapp/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
      

      try many things to fix this, but nothing helps.

      big thanks!

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

        When i try to comment out the following lines in the .htaccess;

        # php_value post_max_size 31M
        # php_value upload_max_filesize 30M
        

        then a file named “download” is downloaded, when i open this file with notepad++ its completly the same like the index.php from kopano-webapp folder in usr/shar.

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

          https://forum.kopano.io/topic/343/install-kopano-core-on-ubuntu-16-04-error/22

          the php_value commands in the .htaccess will only work if you are running mod_php.
          

          so either enable mod_php or if you can add the values directly to php.ini (without the php_value text) , that should solve it

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

            The problem with the .htaccess is now fixed i think.

            But every .php which is in the path to the kopano-webapp folder is downloaded by my browser automaticly.

            When i put the phpinfo.php file in it, it will be downloaded automaticly. same with the index.php from kopano.

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

              why kopano webapp is only developed to old and unsecure mod_php apache handler?

              Is there a fix for FPM handler planed in the future?

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

                Problem is solved.

                Set the handler for this alias to PHP7 mod_php and now everything works fine.

                Big thanks for the help.

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