Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 Tutorial: Alternative PHP Cache.
Post new topic Reply to topic
Author Message
Joshua Meadows (DemoRic)

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

PostPosted: Tue Jul 04, 2006 9:25 pm Reply with quoteBack to top

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:
;Non-standard PECL extension enableAPC cache http://nl3.php.net/apc

In your Module Settings area add:
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

Start Apache2

*Also you can download the apc.php file and place it in your apache2triadcp to view the status of apc.


 Filename:  apc.zip
 Filesize:  10.74 KB
 Downloaded:  1204 Time(s)

View user's profileSend private messageYahoo MessengerICQ Number
Display posts from previous:      
Post new topic Reply to topic

 Jump to:   

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT