Apache2Triad Help, Support and Development Forum Index Apache2Triad Help, Support and Development
The apache2triad help , support and development forums
 

Tutorial: Alternative PHP Cache.
Click here to go to the original topic

 
       Apache2Triad Help, Support and Development Forum Index -> Community
View previous topic :: View next topic  
Author Message
Joshua Meadows (DemoRic)



Joined: 29 Dec 2004
Posts: 785
Location: S.E. Kansas

Posted: Tue Jul 04, 2006 9:25 pm    Post subject: Tutorial: Alternative PHP Cache.  

Want an opensource alternative to Zend? Want to compare cache systems? Try apc.

Alternative PHP Cache. http://nl3.php.net/apc
IMPORTANT! Disable Zend Engine.
Stop Apache2

Download the PECL extension http://nl3.php.net/downloads.php and copy to apache2triad\php\extensions

Open c:\windows\php.ini

In your Dynamic Extensions area add:
Quote: ;Non-standard PECL extension enableAPC cache http://nl3.php.net/apc
extension=php_apc.dll

In your Module Settings area add:
Quote: [APC]
apc.enabled = 1
apc.shm_segments = 1
apc.shm_size = 64
apc.optimization = 0
apc.num_files_hint = 1000
apc.ttl = 0
apc.gc_ttl = 3600
apc.cache_by_default = On
apc.slam_defense = 0
apc.file_update_protection = 2
apc.enable_cli = 0
apc.stat=0

Start Apache2

*Also you can download the apc.php file and place it in your apache2triadcp to view the status of apc.
Back to top  
 
       Apache2Triad Help, Support and Development Forum Index -> Community
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group