Go Back   SZONE.US Forums > Do it yourself (DIY) > Web Tips

Web Tips Tips and tricks specializing in programming languages of the web. ie. PHP, MYSQL, XHTML, CSS, etc

Install APC on Windows and Apache

Thread Tools Search this Thread Rate Thread
Unread 05.10.08, 07:24 AM
Zachariah Boren's Avatar
Zachariah Boren Zachariah Boren is offline
Join Date: 02.07
Location: Canoga Park, CA
Posts: 928
Blog Entries: 6
Images: 10075
Send a message via ICQ to Zachariah Boren Send a message via MSN to Zachariah Boren Send a message via twitter to Zachariah Boren
Install APC on Windows and Apache

Alternative PHP Cache (APC) is a free and open opcode cache for PHP.

What is PECL?
PECL is a repository for PHP Extensions, providing a directory of all known extensions and hosting facilities for downloading and development of PHP extensions.

The packaging and distribution system used by PECL is shared with its sister, PEAR
Installing APC on Windows is simple task to do. Unfortunately, looking for the .dll file is not! The DLL's used to enable this in PHP4 to PHP6 can be found here at PECL. Please choose the correct version based on your PHP version installed on your webserver.

Download and save the php_apc.dll file to your PHP extensions folder. On my PC, this folder is located here:

As soon as you have successfully downloaded the file, you will have to edit your php.ini. Open php.ini with your favourite text editor and insert a line like this:

Since I have no reason to tweak the APC configurations, I didn't insert any custom APC configuration values to the php.ini file. But if this is what you want to do, some of these options need to be set inside your php.ini file.

One such configuration option is the:
apc.shm_size	"30"	PHP_INI_SYSTEM
For those of you who don't already know it, the PHP_INI_SYSTEM in there means that this directive may only be set in the php.ini or Apache's httpd.conf files.

Save the php.ini file and restart Apache and you're ready to experiment using APC functions in your php scripts.

Mr Floris did a blog on Installing APC on CentOS 5 Server
http://www.szone.us | http://www.gzhq.net
Twitter | Facebook | My:Hacks @ vBulletin.org
Member of Kiwanis Club of Chatsworth
Reply With Quote
Unread 01.03.12, 01:23 AM
watson88 watson88 is offline
Junior Member
Join Date: 01.12
Posts: 1
Thanks a lot i was searching for this for very long time, actually i recently join this forum and i hope got lot of such useful information in future.
Reply With Quote

apache, apc, install, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Vista: Restore Missing Desktop Icons Zachariah Boren Computer Software 0 01.31.09 08:58 AM
Clean out Windows Temp folder Zachariah Boren Computer Software 0 01.31.09 08:53 AM
Windows Vista and No Telnet Zachariah Boren Computer Software 0 04.22.08 05:37 PM
91 Utilities to Supercharge Windows Steve Boren Computer Software 0 04.08.08 01:31 PM
Microsoft Windows Vista Service Pack 1 Steve Boren Computer Software 0 02.27.08 12:18 PM

All times are GMT -8. The time now is 04:23 AM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2007 - 20017 SZONE.US All rights reserved