Announcement

Collapse
No announcement yet.

Using APC cache functions with vb3.6 beta 3

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using APC cache functions with vb3.6 beta 3

    Hi vBulletin,

    I noticed in the list of upgrades that APC support has been added to vBulletin 3.6
    I have APC installed and of course the latest beta.. but how do I use APC to cache the datastore in shared memory?
    Is there an option in admincp or do I need to change the config file?

    Sincerly Yours,
    Danny
    Sat-Television.com Forum:
    http://www.satfriends.com/

    Sat-Television.com Upload Center:
    http://www.satfriends.com/ulc.php

  • #2
    Edit your config.php file and look for the settings for datastore cachiing

    Comment


    • #3
      Man this is awesome! I'm loving it.
      Michael Key - www.mikekey.com
      www.hrfbody.com - Hampton Roads F-Body

      Comment


      • #4
        Originally posted by Zachery View Post
        Edit your config.php file and look for the settings for datastore cachiing
        I know I need to edit the config by now..
        But what do I need to change?
        Not sure where the class file is and what I need to fill in

        Regards,
        Danny
        Sat-Television.com Forum:
        http://www.satfriends.com/

        Sat-Television.com Upload Center:
        http://www.satfriends.com/ulc.php

        Comment


        • #5
          I am not seeing an option for APC maybe it should be included in the list? vB_Datastore_APC will do the job for everyone else.

          PHP Code:
              // ****** DATASTORE CACHE CONFIGURATION *****
              // Here you can configure different methods for caching datastore items.
              // vB_Datastore_Filecache  - for using a cache file
          $config['Datastore']['class'] = 'vB_Datastore_Filecache';
              
          // vB_Datastore_Memcached - for using a Memcache server
              // It is also necessary to specify the hostname or IP address and the port the server is listening on
          // $config['Datastore']['class'] = 'vB_Datastore_Memcached';
          // $config['Misc']['memcacheserver'] = '127.0.0.1';
          // $config['Misc']['memcacheport'] = '11211'; 

          Comment


          • #6
            Seems to be working, my apc shows all datastore entries in user cache entries :-D
            Thank you very much!
            Sat-Television.com Forum:
            http://www.satfriends.com/

            Sat-Television.com Upload Center:
            http://www.satfriends.com/ulc.php

            Comment


            • #7
              Originally posted by BamaStangGuy View Post
              I am not seeing an option for APC maybe it should be included in the list? vB_Datastore_APC will do the job for everyone else.

              PHP Code:
                  // ****** DATASTORE CACHE CONFIGURATION *****
                  // Here you can configure different methods for caching datastore items.
                  // vB_Datastore_Filecache  - for using a cache file
              $config['Datastore']['class'] = 'vB_Datastore_Filecache';
                  
              // vB_Datastore_Memcached - for using a Memcache server
                  // It is also necessary to specify the hostname or IP address and the port the server is listening on
              // $config['Datastore']['class'] = 'vB_Datastore_Memcached';
              // $config['Misc']['memcacheserver'] = '127.0.0.1';
              // $config['Misc']['memcacheport'] = '11211'; 
              I see the same. Please can some one clarify how to enable datastore for APC?
              Thanks!

              Comment


              • #8
                Originally posted by Acido View Post
                I see the same. Please can some one clarify how to enable datastore for APC?
                Thanks!
                lol the answer is in the post you just quoted. Use vB_Datastore_APC

                Comment


                • #9
                  Originally posted by BamaStangGuy View Post
                  lol the answer is in the post you just quoted. Use vB_Datastore_APC
                  Thanks Bama! I was unsure

                  Comment

                  Related Topics

                  Collapse

                  • Fleiding
                    Caching
                    by Fleiding
                    At the moment I have the following settings:
                    Code:
                    $config['Cache']['class'][0] = 'vB_Cache_Db'; //regular cache
                    $config['Cache']['class'][1] = 'vB_Cache_Memory'; //fastest cache
                    $config['Cache']['class'][2]
                    ...
                    Wed 5 Jul '17, 7:11am
                  • Mr B
                    Config.php settings for using WinCache on IIS?
                    by Mr B
                    Our vBulletin 5.4.4 is running on IIS 10 with WinCache enabled on the server.

                    Anyone knows the correct Config.php settings for using WinCache? I have searched the forums and also looked in...
                    Thu 18 Oct '18, 5:01am
                  Working...
                  X