Announcement Announcement Module
Collapse

myhosting.com Forum Guidelines

Welcome to the myhosting.com Forums! The purpose of this forum is to allow you to discuss topics relating to hosting and topics of interest with other myhosting.com Customers. The primary focus should relate to issues not generally included in our Wiki or Control Panel, or information not provided by our Customer Support Team. Some examples include programming and coding support, web site design ideas and SEO practices.

The forum is not meant as a replacement to our Wiki or Customer Support. We highly recommend searching our Wiki before posting on the forum. Also, if you have a question for our Customer Support team, please contact them as you would normally.

We ask that if you have any complaints or questions relating specifically to your account, that you address them to our Customer Support department. Do not post personal account information such as passwords or other sensitive and private information the forum, as this type of information is best kept secret. Also, please be respectful of other users and refrain from defamatory comments or use of coarse language.

We will visit the forum from time to time, and contribute to various topics. We reserve the right to delete any posts which are deemed offensive or against the spirit of the forum. Any spamming or illegal activity will not be tolerated. We also reserve the right to block any user who violates these guidelines.

To get started, we welcome you to sign up at our User Management site. Any account created there will have access to these forums, our Wiki, our Ideas site and commenting permission on our Status Blog.
See more
See less
APC Cache Setup Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • APC Cache Setup

    I have installed APC on my vps in order to cache my joomla site. When I go to the apc.php file it says that the only script cached is the apc.php itself. I ran a phpinfo.php and this is the APC config:
    Version 3.1.15-dev
    APC Debugging Disabled
    MMAP Support Enabled
    MMAP File Mask no value
    Locking type pthread mutex Locks
    Serialization Support php
    Revision $Revision$
    Build Date Feb 14 2014 13:49:03
    apc.cache_by_default On On
    apc.canonicalize On On
    apc.coredump_unmap Off Off
    apc.enable_cli Off Off
    apc.enable_opcode_cache On On
    apc.enabled On On
    apc.file_md5 Off Off
    apc.file_update_protection 2 2
    apc.filters no value no value
    apc.gc_ttl 3600 3600
    apc.include_once_override Off Off
    apc.lazy_classes Off Off
    apc.lazy_functions Off Off
    apc.max_file_size 2M 2M
    apc.mmap_file_mask no value no value
    apc.num_files_hint 2048 2048
    apc.preload_path no value no value
    apc.report_autofilter Off Off
    apc.rfc1867 Off Off
    apc.rfc1867_freq 0 0
    apc.rfc1867_name APC_UPLOAD_PROGRESS APC_UPLOAD_PROGRESS
    apc.rfc1867_prefix upload_ upload_
    apc.rfc1867_ttl 3600 3600
    apc.serializer default default
    apc.shm_segments 1 1
    apc.shm_size 256M 256M
    apc.shm_strings_buffer 4M 4M
    apc.slam_defense On On
    apc.stat Off Off
    apc.stat_ctime Off Off
    apc.ttl 3600 3600
    apc.use_request_time On On
    apc.user_entries_hint 4096 4096
    apc.user_ttl 7200 7200
    apc.write_lock On On

    Any idea why apc isnt caching other scripts?

  • #2
    Hi Npilla,

    Can you clarify if you're on a Windows or Linux VPS? If you wanna make use of APC on your Joomla! go under global configuration > system and change the cache handler from File to Alternative php cache(APC)

    If you are still having trouble installing APC, I would suggest getting in touch with myhosting Support team. They'll be able to look into the details of your account and see if there are any issues.

    Cheers

    Comment


    • #3
      Thanks for the quick reply suwunk.

      It is on linux running centos. I enabled that setting but it doesn't seem to cache any php files (joomla or not) except its own apc.php.

      The installation seems fine because it does successfully cache apc.php. It must be some setting somewhere preventing it from caching other things. I will contact support, hopefully it wont cost me a tonne of money :/

      Thanks!

      Comment

      Working...
      X