Page 1 of 1

How to install the PECL on XAMPP for Windows?

PostPosted: 15. March 2008 01:28
by ysun
Hello,

I need to install the PHP Cache (APC) on my server, but does anyone know how to install the PECL on XAMPP for Windows?

Thanks.

PostPosted: 15. March 2008 02:01
by Milligan

PostPosted: 15. March 2008 02:09
by ysun
Milligan wrote:I believe it is already included in xampp.

Go to this section of the apache\bin\php.ini file.
; Windows Extensions
; Note that ODBC support is built in, so no dll is needed for it.
; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
; extension folders as well as the separate PECL DLL download (PHP 5).
; Be sure to appropriately set the extension_dir directive.

Uncomment the apc extension if it is present in the ini file.
;extension=php_apc.dll
to
extension=php_apc.dll

IIRC that is all you need to do then check in the phpinfo.php from the welcome page menu to see if it is enabled.

If it is not present then this link may help found by using the search keyword apc with no author entry.
http://community.apachefriends.org/f/viewtopi ... 410#110410


It's already included? :shock: Thanks a lot! :mrgreen:

PostPosted: 15. March 2008 02:11
by Milligan

PostPosted: 15. March 2008 02:20
by ysun
Milligan wrote:For pecl.
Look in xampp\php for the pecl.bat file
Open a command console window in this folder and issue the pecl.bat command and it will give a list of commands to use.

Roger, Thanks! :D