Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Nextcloud - The PHP OPcache module is not properly configured

    Nextcloud
    3
    5
    1630
    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.
    • A
      ApplegateR last edited by

      The PHP OPcache module is not properly configured

      The PHP OPcache module is not properly configured. See the documentation ↗ for more information.
      The OPcache interned strings buffer is nearly full. To assure that repeating strings can be effectively cached, it is recommended to apply opcache.interned_strings_buffer to your PHP configuration with a value higher than 8.

      how I can fix that and where is php file to edit?

      Richard Applegate
      Anthem Coffee and Tea
      The Joint Chiropractic
      IT/Administrator Server/Network

      A girish 2 Replies Last reply Reply Quote 0
      • A
        ApplegateR @ApplegateR last edited by

        @ApplegateR
        Found solution, I Think...

        I went to my Cloudron Server and open Nextcloud Settings on Cloudron then click file manager. open the php.ini.

        I added line
        opcache.interned_strings_buffer = 16
        then saved
        then restart the Nextcloud.

        Of course, It wont be work - only if you restart the Nextcloud then it will work. so not sure if it actually fix but will update later.

        Richard Applegate
        Anthem Coffee and Tea
        The Joint Chiropractic
        IT/Administrator Server/Network

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff @ApplegateR last edited by

          @ApplegateR Where are you seeing this warning ? In /settings/admin/overview , I see :

          8e763b52-7347-45d2-98ab-d9e6122fd03f-image.png

          Also, the opcache.interned_strings_buffer setting is already configured in the package - https://git.cloudron.io/cloudron/nextcloud-app/-/blob/master/Dockerfile#L50

          1 Reply Last reply Reply Quote 0
          • girish
            girish Staff last edited by

            For the next release, I have bumped the value to 16 similar to https://github.com/nextcloud/docker/blob/da935d26bb87bec2708ba31ff1153ed62b05c7d4/23/apache/Dockerfile#L95

            JOduMonT 1 Reply Last reply Reply Quote 2
            • JOduMonT
              JOduMonT @girish last edited by

              @girish said in Nextcloud - The PHP OPcache module is not properly configured:

              For the next release, I have bumped the value to 16 similar to https://github.com/nextcloud/docker/blob/da935d26bb87bec2708ba31ff1153ed62b05c7d4/23/apache/Dockerfile#L95

              I must admit; I have a tons of apps enabled (93 of them)
              but yes my nextcloud also complain

              There are some warnings regarding your setup.
              The PHP OPcache module is not properly configured. See the documentation ↗ for more information.
              The OPcache interned strings buffer is nearly full. To assure that repeating strings can be effectively cached, it is recommended to apply opcache.interned_strings_buffer to your PHP configuration with a value higher than 8.
              
              1 Reply Last reply Reply Quote 1
              • Referenced by  girish girish 
              • First post
                Last post
              Powered by NodeBB