.user.ini files with lsapi

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • noyearzero
    Member
    Forum ExplorerTechnical Associate
    • Mar 2021
    • 66

    #1

    .user.ini files with lsapi

    is using .user.ini files as simple as creating the file and putting it in the appropriate directory? It doesnt seem to be affecting the settings. I saw this, which leads me to believe it should work: https://www.cloudlinux.com/forum/for...t=0#reply-6299

    Im using phpselector with lsapi and cpanel. Other than that, nothing crazy.
  • skhristich
    Senior Member
    • Nov 2019
    • 595

    #2
    Hello Ryan! Thank you for reaching out!
    You just need to make sure that lsapi_enable_user_ini and lsapi_user_ini_homedir are included in lsapi
    That is, just drop the file and it works. Please let us know if you have any questions. Thanks in advance!

    Comment

    • noyearzero
      Member
      Forum ExplorerTechnical Associate
      • Mar 2021
      • 66

      #3
      Excellent! That worked.

      It looks like the setting user_ini.cache_ttl (which is set to 300) is being ignored. Is there a setting that controls this?

      Comment

      • skhristich
        Senior Member
        • Nov 2019
        • 595

        #4
        Hello Ryan! Happy to hear it and thanks for following up!
        We are working on this issue. Get back to you later with a response.
        Thanks!

        Comment

        • skhristich
          Senior Member
          • Nov 2019
          • 595

          #5
          Hello Ryan! Unfortunately user_ini.cache_ttl is not supported in lsapi. Please let us know if you have any questions. Thanks in advance!

          Comment

          • noyearzero
            Member
            Forum ExplorerTechnical Associate
            • Mar 2021
            • 66

            #6
            No problem. I actually dont like it anyway, but I was just curious.

            Comment

            Working...