php5

PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language. read more at WikiPedia

  • cedTag

    CedTag&160; has been updated to version 2.5.3 and correct a lot of bugs and contains some nice features.

    CedTag is the continuation of the GPL component Joomla Tags (www.joomlatags.org), Most of the codehas been rewritten according to the new standard of Joomla 2.5, the component has been greatly extended and most bugs have been removed. I will continue removing, refactoring existing codebase, in order to be able to add new features faster.

    What’s new

    NEW: Auto completion of tags in frontend and backend using jQuery. You can add new tags, search and remove tags without fearing creating duplicates!
    NEW: Joomla ACL support,
    NEW: Add basic support for themes, still need some css correction for optimal results
    NEW:Use confirmation popup windows for all delete/clear operations,
    NEW: New option to switch off tags title in front page,
    NEW: No white background in simple.css for people loving their black background as default,
    NEW: cedTag is now having no warnings/errors in PHP error level E_STRICT
    BUG:&160; I cant disable cedTag on front page when i disable it any thing not change...i want show tags only on full article view...
    BUG:&160; Working update manager: starting at version 2.5.3 you can update with one click in the update manager.
    BUG: Did remove a hack of me for testing -> it was not possible to switch off the add tags button in frontend since i fixcoded to true :-(
    BUG: Correct issue in editor xtd plugin blocking users to edit/view articles in frontend

    Code cleaning

    • Rewrite 90% of all query string to use the $query object api of joomla
    • Did clean the content plugin a lot,

    CedTag is used on this site with more than 5000 tags in 2200 articles.

    Your ideas are important, feel free to contact me and ask for new features!

  • cedTag4

    CedTag&160; has been updated to version 2.5.5 and correct a lot of bugs and contains some nice new features.

    CedTag is the continuation of the GPL component Joomla Tags (www.joomlatags.org), Most of the code if not allhas been now rewritten according to the new standard of Joomla 2.5, the component has been greatly extended and most bugs have been removed. I will continue removing, refactoring existing codebase, in order to be able to add new features faster.

    What’s new

    NEW: Wikipedia auto-completion of tag descriptions with Wikipedia&160; OpenSearch API!

    Support more than 40 localized Wikipedia servers (all Wikipedia with more than 100’000 articles)

    العربيةБългарскиCatalàČeskyDanskDeutschEnglishEspañolEsperantoEuskaraفارسیFrançais한국어हिन्दीHrvatskiBahasa IndonesiaItalianoעבריתLietuviųMagyarBahasa MelayuNederlands日本語Norsk (bokmål)PolskiPortuguêsҚазақша / Qazaqşa / قازاقشاRomânăРусскийSlovenčinaSlovenščinaСрпски / SrpskiSuomiSvenskaTürkçeУкраїнськаTiếng ViệtVolapükWinaray中文

    For all termscedtag_wikipediaautofill1

    cedtag_wikipediaautofill2

    or while editing a term

    cedtag_wikipediaautofill3
    NEW:diagnostic page

    cedTag_newDiagnostic
    NEW: tags can also now be automatically inserted when new article is entered from the backend,
    NEW: new configuration settings “Force Existing articles get their tags updated always from article meta keywords at save time” under Tab Tags (default is No)


    NEW: Supporting tags containing many words separated by space: There are normally 5 ways to insert a tag after inputting some text: space, comma, enter, selecting an autocomplete option, or defocusing the widget. Now space now longer save the tag: You can enter tags with space as a result!
    NEW: inline documentation when adding tag in frontend

    cedTag_supportTagsWithSpace

    &160;

    BUG: Code cleaning, according to Joomla standard: my dream is to have this extension accepted in Joomla core! Still a lot of PHP Unit test to be written before submitting this to the mailing list of Joomla developers. Now I use Joomla CodeSniffer&160; and PSR-1 CodeSniffer rules in my day to day development.
    BUG:&160; after click on Template Manager it show this err Fatal error: Class 'UsersHelper' not found in /home/assafir/public_html/administrator/components/com_cedtag/views/css/view.html.php on line 41
    BUG: tags were not inserted automatically from new content article in frontend,
    BUG: it was not possible to use html descriptions
    BUG: missing some http://jqueryui.com images resources

    Your ideas are important, feel free to contact me and ask for new features!

  • Warning

    IT IS MANDATORAY TO COMPLETELY REMOVE ALL VERSION < 2.6.0 BEFORE INSTALLING THIS NEW ONE!
    Go to the Extension Manager under the tab Manage, enter in filter "tag", select all and click Actions – Uninstall
    Reason: I did change a lot of folder name and file casing casing to be more Joomla compliant
    Don’t be scared you will not loose any Tags or data from your database! uninstalling do not remove currently any tables!

    &160;

    Your ideas are important, feel free to contact me and ask for new features!

    New & Noteworthy

    Security

    SECURITY: all Ajax operations+Admin operation are now protected with a Joomla token to avoid CSRF

    SECURITY: All SQL statement have been migrated to use Joomla Query Object so the code should be portable now under SQL Server, Postgress

    Code review and refactoring is a recurring task for me!

    Performances

    PERF: Faster escaping in modules if there is no tags matching any criteria,

    Features

    NEW:&160;More themes are available.

    joomla_cedtag_moreThemes

    NEW: In “article Manager”, multi-tag filtering it is now possible to simply select multiple tags and/or searching for one tag and then another within the previous results.

    joomla_cedtag_multitagFiltering

    NEW: In “article Manager”, tab index is supported, enter tags hit tab to go to next articles,

    NEW:Full rewriting of Tag List layout, now table less.

    NEW:Full rewriting of blog layout: having as much if not all features of the internal Joomla category blog feature.

    • Table less layout,
    • Category display,
    • Articles Metadata: publish, created, hits,
    • Articles operations like print, email,
    • As it reuse the setting of Joomla, you’ll have to go to Joomla configuration to make changes or better it will inherit the same setting as Joomla content blog layout.

    joomla_cedtag_newBlogLayout

    NEW: full internationalization of all 5 modules:

    • Custom Tags Cloud (en-GB.mod_cedtagcustom.ini),
    • Latest Tags Cloud (en-GB.mod_cedtaglatest.ini),
    • Most Popular Tags Cloud (en-GB.mod_cedtagmostpopular.ini),
    • Most Read Tags Cloud (en-GB.mod_cedtagmostread.ini),
    • Random Tags Cloud (en-GB.mod_cedtagrandom.ini).

    NEW: Add “Save” button for “Template manager” and “Stop words”

    NEW: It is now possible to change the title of tags by changing the value of the key COM_CEDTAG_ITEMS_TITLE in&160; /plugins/content/cedtag/language/en-GB/en-GB.plg_content_cedtags.ini

    ; %1$s = frequency,
    ; %2$s = name,
    ; %3$s = created,
    ; %4$s = hits
    COM_CEDTAG_ITEMS_TITLE="%1$s items tagged with %2$s | created %3$s | Hits: %4$s"

    joomla_cedtag_ titleofTags

    &160;

    NEW: More Options for Menu Entry “All Tags” Count, Page Title, Meta Description, Meta Keywords, Reverse display and tags ordering. Some default are provided.

    joomla_cedtag_ alltagsMenuEntry

    NEW/BUG Wordlenow working on Linux, was always working on windows due to a path issue to the true type font I did introduced, I took the time to add a lot more settings so you can fully customized the images created!

    joomla_cedtag_wordlejoomla_cedtag_ wordleOptions

    NEW: Rockettheme Installer removed to use standard Joomla installation packages. To remove now all CedTag components, just remove the main component. No risk of incomplete removal.

    joomla_cedtag_newInstallerjoomla_cedtag_newUninstall
    NEW: menu entries for administration backend

    joomla_cedtag_MenuEntriesForAdministrationBackend

    NEW: 5 Modules are now created as default but not published nor assigned to any page.

    joomla_cedtag_5ModulesAreNowCreatedAsDefault


    NEW: option so front page tagging to be just available in front page edit before , it was too long, and breaks the browsing experience for any logged author browsing the site, sometimes appearing even twice. (Request)

    NEW:scripts to switch off all subsystem of cedTag if you get no access to your site (happen only when you remove some part and not all of cedTag)

    Known Issues

    • CSV export of all tags is currently broken

    &160;

    Bugs

    BUG:Error 500 Some people encounter while using URL rewriting.
    Found also that RokComment is crashing when used with cedTag. I did solve the issue by patching RokComment (I think the error is there and not in my component). YOu can ask me for the custom build of RokComment.

    BUG: correct handling of trash item in frontend
    BUG: correct handling of Joomla ACL using authorized access levels for the user
    BUG: Can add tag but cannot delete tag, request http://forums.waltercedric.com/index.php?topic=1401.0
    BUG
    : Content plugin don’t get executed in blog layout,
    BUG: wordle links were not supporting SEF
    BUG: advertisement code was not allowing html,
    BUG: Custom tag cloud module: the SQL query was broken,
    BUG: Custom tag cloud font size and title overlay was not defined ,
    BUG: All tags layout was not taking “count” into account for limiting the size of the cloud.
    BUG: default file css restore was not depending on user selection of theme, as a result restore was always using simple.default.css
    BUG: installer now create default modules instances without publishing them.
    BUG: metadata of menu entry “All tags” was not reading parameters, now you can set count, sorting, metadata descriptions and keywords
    BUG: paging at the limits (where ?limitstart= is in the url) lead to a tag not found.
    BUG: “:” was always filtered from tag name even when removed from “Strip Characters”
    BUG: Solved “Warning: Missing argument 4 for plgContentCedTags::onContentBeforeDisplay() in plugins/content/cedTags/cedTags.php on line 41"

  • &160;

    cedTag provide a useful way to group related posts together and to quickly tell readers what a post is about. Tags also make it easier for people to find your content. Tags are similar to, but more specific than, Joomla categories.

    Warning

    IT IS MANDATORAY TO COMPLETELY REMOVE ALL VERSION < 2.6.0 BEFORE INSTALLING THIS NEW ONE!
    Go to the Extension Manager under the tab Manage, enter in filter "tag", select all and click Actions – Uninstall
    Reason: I did change a lot of folder name and file casing casing to be more Joomla compliant
    Don’t be scared you will not loose any Tags or data from your database! uninstalling do not remove currently any tables!

    New & Noteworthy

    cedThumbnails support in cedTag!

    • cedThumbnails show Related Stories Under Each Post, it is a small widget that appears under each post, linking to related stories from your blog archive,
    • cedThumbnails links to stories that are relevant and interesting to readers of a particular post, keeping them engaged with your blog, and increasing your traffic!

    You can now use Tags from cedTag to display related articles in Joomla. You can choose either

    • CedThumbnails&160; (require extension CedThumbnails)
    • Joomla - using Meta-Keywords

    cedtag_2-6-1_relatedarticles

    Maintenance Page

    This new page will let you perform basic maintenance operations. Feel Free to ask for more operations using the support channel (Forums or Feedback (UserVoice))

    Replace Tag xxxx with Tag yyyy in all articles with Tag xxxx

    cedtag_2-6-1_maintenance-replace-tags

    Add Tag yyyy to all articles which have also Tag xxxx

    cedtag_2-6-1_maintenance-add-tags

    Remove Tag xxxx to all articles which have also Tag yyyy.

    cedtag_2-6-1_maintenance-remove-tags

    NEW:change position of tag in category view, blog view that you can set tags to appear after intro text (show after text before readmore button)

    NEW:version of extension is now displayed in administrator backend panel.

    NEW:Adding a&160; “Clear All” button in&160;&160; “TERM MANAGER” to remove all Tags and all

    &160;

    Bug Fixing

    fix 500 error

    This error is now solved for good, was in cedtag component SEF (Thanks to Signature Ltd)

    BUG: missing CSS style on ads top

    Miscellaneous

    The whole code has been validated using PHP code guidelines PSR-0/PSR-1/PSR-2

    &160;

    &160;

    Your ideas are important, feel free to contact me and ask for new features!

    You can download the latest version and just upgrade without any loss of data by reinstalling the package

    &160;

  • cedTag provide a useful way to group related posts together and to quickly tell readers what a post is about. Tags also make it easier for people to find your content. Tags are similar to, but more specific than, Joomla categories.

    What’s NEW

    NEW: Adding a debug switch in administrator configuration area, this will write a file at logs/cedtag.php that contains some debug information that may be useful to spot difficult bugs,

    NEW:a new css file (/media/com_cedtag/css/blog.css) is added to the blog layout to give you more control on the rendering of top and bottom publicity,

    BUG cedtag was adding ul no matter if tags were available for the current article.

    BUG title of html page was not translated correctly and was displayed wrongly like this

    <title>%1$s items tagged with %2$s | created %3$s | Hits: %4$sjoomla | test</title>

    BUG solve cedtag: Warning: Missing argument 8 for plgContentCedTag::execute(), called in /htdocs/public/www/plugins/content/cedtag/cedtag.php on line 72 and
    defined in /htdocs/public/www/plugins/content/cedtag/cedtag.php on line 136 Fatal error: Call to a member function get()
    on a non-object in /htdocs/public/www/plugins/content/pagenavigation/pagenavigation.php on line 30

    &160;

    Features

    what are the features of cedtag? get an overview by reading http://cedtag.waltercedric.com

    Your ideas are important, feel free to contact me and ask for new features!

  • cedTags_for_joomla

    cedTag&160; has been released and it is still beta, it has been made available to gather feedback. Don’t use it in production or at your own risk. I plan to use it before the end of months on my site. I would love to hear what is missing, what you don’t like, how it can be better.

    A real free tag system for Joomla!

    Front end features

    • Show tags at the bottom of each article.
    • Tag list view
    • Tag blog view
    • Most popular tags.
    • Most hits tags.
    • Latest tags.
    • SEF support, compatible with sh404SEF,ARTIO JoomSEF,AceSEF
    • XMap Plugin
    • Language file support
    • Add/Edit tags
    • Compatible with JoomlFish
    • Search plugin.

    Back end features

    • Import Tags from Meta keywords
    • Import tags from 3rd party system
    • Term editable.
    • Batch term add.
    • Batch tag management.
    • Auto extractable tag.
    • Language file support
    • Template edit online.
    • Tags filter by section and category.
    • One click installation.

    User of Joomla Tags, just install this all in one package and select Import – Souce – Joomla Tags and click import to copy your data in the new table.

    cedTag a new Tag system for Joomla 2.5 (based on Joomla tags) is now deployed on my showcase

    http://demo-joomla-2.5.waltercedric.com/

    &160;

  • CedThumbnails has been updated to version 2.5.5 and contains 1 new features for both Joomla 1.7 and Joomla 2.5. For existing users the update will display in the Extensions Manager under Updates. If you do not have this currently installed, you can click the link below and install as normal via the Extensions Manager.

    What’s new?

    • Video Thumbnail Feature: Google Youtube video are now supported as thumbnails!
    • Administrator panel
    • Update server simplified

    Full list of changes available in GIT commit aa32de404c928f3bd0fc67d7b9302e236893fd48

  • Announcement of com_minify

    I am developing a new component com_minify that will greatly reduce the number of http requests

    itCombines, minifies, and caches JavaScript and CSS files on demand to speed up page loads.

    from yahoo performance developer
    80% of the end-user response time is spent on the front-end. Most of this time is tied up in downloading all the components in the page: images, style sheets, scripts, Flash, etc. Reducing the number of components in turn reduces the number of HTTP requests required to render the page. This is the key to faster pages.

    One way to reduce the number of components in the page is to simplify the page's design. But is there a way to build pages with richer content while also achieving fast response times? Here are some techniques for reducing the number of HTTP requests, while still supporting rich page designs.

    Combined files are a way to reduce the number of HTTP requests by combining all scripts into a single script, and similarly combining all CSS into a single style sheet. Combining files is more challenging when the scripts and style sheets vary from page to page, but making this part of your release process improves response times.

    I was developing this week end this component (name com_combine) but decide it would be better to use a proven engine, and I found one:
    http://code.google.com/p/minify/

    Minify is a PHP5 app that can combine multiple CSS or JavaScript files, compress their contents (i.e. removal of unnecessary whitespace/comments), and serve the results with HTTP encoding (gzip/deflate) and headers that allow optimal client-side caching. This helps you follow several of Yahoo!'sRules for High Performance Web Sites.

    The list of features is huge

    • Combines and minifies multiple CSS or JavaScript files into a single download
    • Uses anenhanced port of Douglas Crockford's JSMin library and custom classes to minify CSS and HTML
    • Caches server-side to avoid doing unnecessary work
    • Responds with an HTTP 304 (Not Modified) response when the browser has an up-to-date cache copy
    • Most modules are lazy-loaded as needed (304 responses use minimal code)
    • Automatically rewrites relative URIs in combined CSS files to point to valid locations
    • With caching enabled, Minify is capable of handling hundreds of requests per second on a moderately powerful server.
    • Content-Encoding: deflate/gzip, based on request headers. Caching allows it so serve deflated files faster than Apache's mod_deflate option!
    • Test cases for most components
    • Easy integration of 3rd-party minifiers
    • Separate utility classes for HTTP encoding and cache control

    On top of that you'll get the ease of

    • Installation and removal like any Joomla! component
    • A real back end administration panel, multilingual,
    • Version check to always keep up to date,
    • Some security measure inherited from Joomla! framework and best practices.
    • GPL v3 license for com_minify,
    • BSD license for the engine minify

    Download it later this week HERE

  • I did not see that I was using a feature only available in PHP5 while coding the class administrator/components/com_securityimages/classSecurityimagesSession.php(Singleton holding database connections)

    And this PHP5 and was looking at how the database connection is done in Joomla! 1.5. I am providing a patch for that that will allow all of you to run SecurityImages on PHP4 and PHP5, download SecurityImages 4.3.1

    Remember: PHP4 is discontinued:

    As mentioned in this post on PHP.net the PHP4 life cycle is finally coming to a close:

    Today it is exactly three years ago since PHP 5 has been released. In those three years it has seen many improvements over PHP 4. PHP 5 is fast, stable & production-ready and as PHP 6 is on the way, PHP 4 will be discontinued.

    &160;&160;&160; The PHP development team hereby announces that support for PHP 4 will continue until the end of this year only. After 2007-12-31 there will be no more releases of PHP 4.4. We will continue to make critical security fixes available on a case-by-case basis until 2008-08-08. Please use the rest of this year to make your application suitable to run on PHP 5.

    They also&160; link to a migration guide for users moving up from PHP4 to PHP5 including guides for the PHP 5.0 to 5.1 switch and the PHP 5.1 to 5.2 switch.

    + You can expect 25% more speed just by going to PHP5.

    &160;

    Visiting www.gophp5.org may also help in your migration
    Since the launch of GoPHP5.org, over 100 software projects and over 200 web hosts have come on board to support the adoption of PHP 5.2.

  • The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. It was conceived of to provide a free, open, and robust framework for caching and optimizing PHP intermediate code. from http://nl2.php.net/apc

    Links:
    Unpack your distribution file. You will have downloaded a file named something like apc_x.y.tar.gz. Unzip this file with a command like
    # wget http://pecl.php.net/get/APC-3.0.14.tgz
    # gunzip apc_x.y.tar.gz

    Next you have to untar it with
    #  tar xvf apc_x.y.tar

    This will create an apc_x.y directory. cd into this new directory:
    # cd apc_x.y

    phpize is a script that should have been installed with PHP, and is normally located in /usr/local/php/binassuming you installed PHP in /usr/local/php. (If you do not have the phpize script, you must reinstall PHP and be sure not to disable PEAR.).

    Locate phpize:
    # find / -name phpize

    mine is in
     /etc/alternatives/phpize
    yours may be in /usr/local/php/bin/phpize

    Run the phpize command:
    #  /usr/local/php/bin/phpize

    Its output should resemble this:
            Configuring for:
              PHP Api Version:   20020918
              Zend Module Api No:   20020429
              Zend Extension Api No:   20021010


    phpize should create a configure script in the current directory. If you get errors instead, you might be missing some required development tools, such as autoconf or libtool. You can try downloading the latest versions of those tools and running phpize again.

    Run the configure script.

    phpize creates a configure script. The only option you need to specify is the location of your php-config script.

    find location of php-config
    # find / -name php-config
    then
    # ./configure --enable-apc --enable-apc-mmap --with-apxs --with-php-config=/etc/alternatives/php-config

    php-config should be located in the same directory as phpize.
    If you prefer to use mmap instead of the default IPC shared memory support,  add --enable-apc-mmap to your configure line.

        If you prefer to use sysv IPC semaphores over the safer fcntl() locks, add --enable-sem to your configure line.  If you don't have a problem
        with your server segaulting, or any other unnatural accumulation of semaphores on your system, the semaphore based locking is slightly faster.

    Compile and install the files.
    Simply type:
    # make install
    Installing shared extensions:     /usr/lib/php5/extensions/


    Suggested Configuration (in your php.ini file)

      extension=apc.so
      apc.enabled=1
      apc.shm_segments=1
      apc.shm_size=128
      apc.ttl=7200
      apc.user_ttl=7200
      apc.num_files_hint=1024
      apc.mmap_file_mask=/tmp/apc.XXXXXX
      apc.enable_cli=1



    Although the default APC settings are fine for many installations, serious
    users should consider tuning the following parameters:

        OPTION                  DESCRIPTION
        ------------------      --------------------------------------------------
        apc.enabled             This can be set to 0 to disable APC. This is
                                primarily useful when APC is statically compiled
                                into PHP, since there is no other way to disable
                                it (when compiled as a DSO, the zend_extension
                                line can just be commented-out).
                                (Default: 1)

        apc.shm_segments        The number of shared memory segments to allocate
                                for the compiler cache. If APC is running out of
                                shared memory but you have already set
                                apc.shm_size as high as your system allows, you
                                can try raising this value.  Setting this to a
                                value other than 1 has no effect in mmap mode
                                since mmap'ed shm segments don't have size limits.
                                (Default: 1)

        apc.shm_size            The size of each shared memory segment in MB.
                                By default, some systems (including most BSD
                                variants) have very low limits on the size of a
                                shared memory segment.
                                (Default: 30)

        apc.optimization        This option has been deprecated.
                                (Default: 0)

        apc.num_files_hint      A "hint" about the number of distinct source files
                                that will be included or requested on your web
                                server. Set to zero or omit if you're not sure;
                                this setting is mainly useful for sites that have
                                many thousands of source files.
                                (Default: 1000)

        apc.user_entries_hint   Just like num_files_hint, a "hint" about the number
                                of distinct user cache variables to store.
                                Set to zero or omit if you're not sure;
                                (Default: 4096)

        apc.ttl                 The number of seconds a cache entry is allowed to
                                idle in a slot in case this cache entry slot is
                                needed by another entry.  Leaving this at zero
                                means that your cache could potentially fill up
                                with stale entries while newer entries won't be
                                cached.
                                (Default: 0)

        apc.user_ttl            The number of seconds a user cache entry is allowed
                                to idle in a slot in case this cache entry slot is
                                needed by another entry.  Leaving this at zero
                                means that your cache could potentially fill up
                                with stale entries while newer entries won't be
                                cached.
                                (Default: 0)


        apc.gc_ttl              The number of seconds that a cache entry may
                                remain on the garbage-collection list. This value
                                provides a failsafe in the event that a server
                                process dies while executing a cached source file;
                                if that source file is modified, the memory
                                allocated for the old version will not be
                                reclaimed until this TTL reached. Set to zero to
                                disable this feature.
                                (Default: 3600)

     apc.cache_by_default    On by default, but can be set to off and used in
                                conjunction with positive apc.filters so that files
                                are only cached if matched by a positive filter.
                                (Default: On)

        apc.filters             A comma-separated list of POSIX extended regular
                                expressions. If any pattern matches the source
                                filename, the file will not be cached. Note that
                                the filename used for matching is the one passed
                                to include/require, not the absolute path.  If the
                                first character of the expression is a + then the
                                expression will be additive in the sense that any
                                files matched by the expression will be cached, and
                                if the first character is a - then anything matched
                                will not be cached.  The - case is the default, so
                                it can be left off.
                                (Default: "")

        apc.mmap_file_mask      If compiled with MMAP support by using --enable-mmap
                                this is the mktemp-style file_mask to pass to the
                                mmap module for determing whether your mmap'ed memory
                                region is going to be file-backed or shared memory
                                backed.  For straight file-backed mmap, set it to
                                something like /tmp/apc.XXXXXX (exactly 6 X's).
                                To use POSIX-style shm_open/mmap put a ".shm"
                                somewhere in your mask.  eg.  "/apc.shm.XXXXXX"
                                You can also set it to "/dev/zero" to use your
                                kernel's /dev/zero interface to anonymous mmap'ed
                                memory.  Leaving it undefined will force an
                                anonymous mmap.
                                (Default: "")

        apc.slam_defense        ** DEPRECATED - Use apc.write_lock instead **
                                On very busy servers whenever you start the server or
                                modify files you can create a race of many processes
                                all trying to cache the same file at the same time.
                                This option sets the percentage of processes that will
                                skip trying to cache an uncached file.  Or think of it
                                as the probability of a single process to skip caching.
                                For example, setting this to 75 would mean that there is
                                a 75% chance that the process will not cache an uncached
                                file.  So the higher the setting the greater the defense
                                against cache slams.  Setting this to 0 disables this
                                feature.
                                (Default: 0)

        apc.file_update_protection
                                When you modify a file on a live web server you really
                                should do so in an atomic manner.  That is, write to a
                                temporary file and rename (mv) the file into its permanent
                                position when it is ready.  Many text editors, cp, tar and
                                other such programs don't do this.  This means that there
                                is a chance that a file is accessed (and cached) while it
                                is still being written to.  This file_update_protection
                                setting puts a delay on caching brand new files.  The
                                default is 2 seconds which means that if the modification
                                timestamp (mtime) on a file shows that it is less than 2
                                seconds old when it is accessed, it will not be cached.
                                The unfortunate person who accessed this half-written file
                                will still see weirdness, but at least it won't persist.
                                If you are certain you always atomically update your files
                                by using something like rsync which does this correctly, you
                                can turn this protection off by setting it to 0.  If you
                                have a system that is flooded with io causing some update
                                procedure to take longer than 2 seconds, you may want to
                                increase this a bit.
                                (Default: 2)

        apc.enable_cli          Mostly for testing and debugging.  Setting this enables APC
                                for the CLI version of PHP.  Normally you wouldn't want to
                                create, populate and tear down the APC cache on every CLI
                                request, but for various test scenarios it is handy to be
                                able to enable APC for the CLI version of APC easily.
                                (Default: 0)

        apc.max_file_size       Prevents large files from being cached.
                                (Default: 1M)

        apc.stat                Whether to stat the main script file and the fullpath
                                includes.  If you turn this off you will need to restart
                                                                                            

     apc.write_lock          On busy servers when you first start up the server, or when
                                many files are modified, you can end up with all your processes
                                trying to compile and cache the same files.  With write_lock
                                enabled, only one process at a time will try to compile an
                                uncached script while the other processes will run uncached
                                instead of sitting around waiting on a lock.
                                (Default: 1)

        apc.report_autofilter   Logs any scripts that were automatically excluded from being
                                cached due to early/late binding issues.
                                (Default: 0)

        apc.rfc1867             RFC1867 File Upload Progress hook handler is only available
                                if you compiled APC against PHP 5.2.0 or later.  When enabled
                                any file uploads which includes a field called
                                APC_UPLOAD_PROGRESS before the file field in an upload form
                                will cause APC to automatically create an upload_<key>
                                user cache entry where <key> is the value of the
                                APC_UPLOAD_PROGRESS form entry.

                                Note that the file upload tracking is not threadsafe at this
                                point, so new uploads that happen while a previous one is
                                still going will disable the tracking for the previous.
                                (Default: 0)

        apc.localcache          This enables a lock-free local process shadow-cache which
                                reduces lock contention when the cache is being written to.
                                (Default: 0)

        apc.localcache.size     The size of the local process shadow-cache, should be set to
                                a sufficently large value, approximately half of num_files_hint.
                                (Default: 512)

        apc.include_once_override
                                Optimize include_once and require_once calls and avoid the
                                expensive system calls used.
                                (Default: 0)