How to install the PECL on XAMPP for Windows?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

How to install the PECL on XAMPP for Windows?

Postby ysun » 15. March 2008 01:28

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.
ysun
 
Posts: 5
Joined: 15. March 2008 01:24

Postby Milligan » 15. March 2008 02:01

Last edited by Milligan on 17. July 2008 05:56, edited 2 times in total.
Milligan
 
Posts: 136
Joined: 03. March 2008 06:23

Postby ysun » 15. March 2008 02:09

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:
ysun
 
Posts: 5
Joined: 15. March 2008 01:24

Postby Milligan » 15. March 2008 02:11

Last edited by Milligan on 17. July 2008 05:58, edited 1 time in total.
Milligan
 
Posts: 136
Joined: 03. March 2008 06:23

Postby ysun » 15. March 2008 02:20

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
ysun
 
Posts: 5
Joined: 15. March 2008 01:24


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 127 guests