Announcement

Collapse
No announcement yet.

Having sys admin install APC today... do I need...

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

  • Having sys admin install APC today... do I need...

    Do I need to do anything to vBulletin in order for APC to work with it? Or will vBulletin automatically recognize APC is newly installed and start caching with it?

    Thanks.

  • #2
    APC will automatically start caching compiled php files.

    If you want APC to handle vbulletin's datastore-

    change
    Code:
    // vB_Datastore_APC - to use APC
    to
    Code:
    vB_Datastore_APC - to use APC
    in includes/config.php
    UNP - Auto Forum India - Playway

    Comment


    • #3
      May I ask...

      1) What is the datastore?

      and 2) Would it be stupid NOT to use APC on the datastore?

      THANKS!

      Comment


      • #4
        1. http://www.vbulletin.com/docs/html/datastore
        2. It will help a bit,
        UNP - Auto Forum India - Playway

        Comment


        • #5
          Do not uncomment the line above. It will cause fatal errors.

          Find this line:
          Code:
          // $config['Datastore']['class'] = 'vB_Datastore_Filecache';
          Change it to:
          Code:
          $config['Datastore']['class'] = 'vB_Datastore_APC';
          Translations provided by Google.

          Wayne Luke
          The Rabid Badger - a vBulletin Cloud demonstration site.
          vBulletin 5 API

          Comment


          • #6
            Thanks Wayne... when I have APC installed, I assume your recommend doing what you just posted there as well, right?

            Comment


            • #7
              Getting the datastore out of the database is a good way to provide some performance boost and reduce the load on your database. I always use the file system to store the database at the very least and recommend it to everyone.
              Translations provided by Google.

              Wayne Luke
              The Rabid Badger - a vBulletin Cloud demonstration site.
              vBulletin 5 API

              Comment


              • #8
                Cool... thanks Wayne... I'll switch the datastore over to APC then!

                Comment


                • #9
                  I think in some cases you have to tell vB where the php.ini is... which activates the apc.so extension, i think... not sure, my host tells me i must place a php.ini in any directory i want to use APC in... and after the installation of APC i switched to find an error about paths... i swapped from file to APC, well tried to at least

                  Comment


                  • #10
                    vBulletin doesn't need to know where the php.ini file is. If the file cannot be found it is a configuration error with your installation of PHP and its integration into the webserver. vBulletin does not load or have any control over what php.ini file is used.
                    Translations provided by Google.

                    Wayne Luke
                    The Rabid Badger - a vBulletin Cloud demonstration site.
                    vBulletin 5 API

                    Comment

                    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                    Working...
                    X