Quantcast
Channel: PHP Website Development » APC
Browsing index pages (12 articles)
↧

PHP – Write to database and remove after set time

Basically when a user wishes to recover their password, I generate a hash and store it in a MySQL Database. I do not want this hash to exist forever though, but to be removed from the database after...

View Article


Zend_Cache memfs file vs APC

I just wanted to ask if anybody has got any experience with PHP Caching, or even in particular Zend_Cache with respect to using as backend a file on memfs in contrast to using APC for data caching.The...

View Article


APC – how to handle GC cache warnings?

On occasion, maybe once a day, our PHP web server using APC will raise an E_WARNING error that my error handler catches and logs. It looks similar to this:require_once() [function.require-once]: GC...

View Article

What does apc.preload_path do in the APC settings?

Just curious. It’s undocumented in the manual here.Maybe someone who is familiar with the APC source code can explain?………………………………………. It specifies a directory from which APC loads cache data on...

View Article

APC configuration on Ubuntu 10.4. Problem with apc.shm_size,

I’ve just installed APC to cache my PHP code on my Ubuntu VPS server. Using sudo apt-get install php-apcsudo /etc/init.d/apache2 restartThis worked fine. However, I encounter some problems increasing...

View Article


PHP Encoder and Accelerator

I’m looking for recommendations for PHP encoders and accelerators.From what I can tell, APC is the de facto standard for accelerators: http://php.net/manual/en/book.apc.php. As for encoders, I’m still...

View Article

PHP APC Filter out large PDF files

There is not too much information in the PHP APC documentation about filtering files.“A comma-separated list of POSIX extended regular expressions. If any pattern matches the source filename, the file...

View Article

Image may be NSFW.
Clik here to view.

How to do a replace with Kohana_Cache

When working with Memcache in PHP, I rely on being able to replace existing values like so:$cache = new Memcache;$cache->set(‘foo’, ‘bar’); $cache->replace(‘foo’, ‘baz’);Unfortunately it doesn’t...

View Article


PHP warning being thrown, Unknown: GC cache entry

We have a server at my work with APC installed on it, and about every 1-2 weeks, all of a sudden this error just starts being thrown and when it is throw it happens a lot. It will be perfectly fine for...

View Article


php how to write data into json?

I am newer for php. I want make php page cache, query data from mysql and store data into json format. I have many questions:which type of file should I store? .json or .txt or .cache? for I also need...

View Article

Looking for a PHP Caching Library with multiple back-end sto

I am looking for a PHP caching library that has multiple back-end storage adapters. For example, something that can save the cache in a file or in Memcache.Here are some of the libraries that I have...

View Article

Image may be NSFW.
Clik here to view.

Large Configuration for class, implementation suggestions

So I have a large class that I’m refactoring to be more flexible.well over 100 configurable properties (variables) in a INI file. Some are dev settings and others are production settings. Currently I...

View Article
Browsing index pages (12 articles)


Latest Images