lighttpd forum XCache > How to install XCache under Windows (Plesk) ??

Posted by Thomas K.....
on 09.04.2008 07:18
Hi guys,

read of your nice developed PHP-Accelerator. But now I really dont know 
to make it run.

I downloaded the latest Windows-Build and take a look at the INSTALL 
File.
But now I dont now to go on....

I cant do anything with this :

[quote]
# vim:ts=4:sw=4
Installtion:

    $ phpize --clean && phpize
    $ ./configure --help
    $ CFLAGS='your cflags' ./configure --enable-xcache --enable...
    $ make
    $ su
    # make install
	(update php.ini, restart php)

Reinstall:

	$ mv config.nice conf
	$ make distclean && phpize --clean && phpize
	$ mv conf config.nice
	$ ./config.nice
	$ make
	$ su
	# make install
	(update php.ini, restart php)

Update php.ini:
	$ su
	# cat xcache.ini >> /etc/php.ini
	# $EDITOR /etc/php.ini
[/quote]

How do i have to modify my php.ini of Plesk ? And where to copy the 
whole files of the archive ??

Posted by moo XCache
on 09.04.2008 10:08
> Reinstall:
> 
> 	$ mv config.nice conf
> 	$ make distclean && phpize --clean && phpize
> 	$ mv conf config.nice
> 	$ ./config.nice
> 	$ make
> 	$ su
> 	# make install
> 	(update php.ini, restart php)
> 
> Update php.ini:
> 	$ su
> 	# cat xcache.ini >> /etc/php.ini
> 	# $EDITOR /etc/php.ini
> [/quote]
> 
> How do i have to modify my php.ini of Plesk ?

sorry, most of the doc is about *nix and is under command line.
1. find out which/where php.ini is
2. just copy all the content of xcache.ini (the example one) to at the 
end of php.ini
3. use notepad or whatever editor to open php.ini, there's some values 
that have to be changed in order to make it work.

> And where to copy the whole files of the archive ??
just copy the whole "admin/" directory from xcache to your website 
document root, like you install other *.php files (vBulletin... 
phpMyAdmin etc), and rename the directory if you want