php-fpm xcache

HonDev Developer developerhondev at gmail.com
Thu May 22 11:27:22 MSD 2008


Hi thanks,

For whatever reason this file was not added to
/usr/local/etc/php/xcache.ini when I compiled xcache.

Anyway I've tried everything and the only thing that works is php-fpm.conf

			<value name="php_defines">
				<value name="upload_max_filesize">4m</value>
				<value name="extension">xcache.so</value>
				<value name="xcache.shm_scheme">"mmap"</value>
				<value name="xcache.size">64M</value>
				<value name="xcache.count">1</value>
				<value name="xcache.slots">8K</value>
				<value name="xcache.ttl">3600</value>
				<value name="xcache.gc_interval">1800</value>
				<value name="xcache.var_size">16M</value>
				<value name="xcache.var_count">1</value>
				<value name="xcache.var_slots">8K</value>
				<value name="xcache.var_ttl">0</value>
				<value name="xcache.var_maxttl">0</value>
				<value name="xcache.var_gc_interval">300</value>
				<value name="xcache.mmap_path">"/dev/zero"</value>
				<value name="xcache.cacher">On</value>
				<value name="xcache.stat">On</value>
				<value name="xcache.optimizer">Off</value>
			</value>

On Thu, May 22, 2008 at 4:33 PM, Sergej Kandyla <sk.paix at gmail.com> wrote:
> HonDev Developer wrote:
>>
>> How does one enable xcache when using php-fpm?
>>
>
> no matter what type of php-engine you are using.
> Just install xcache.
>
> In freebsd for example xcache configuration file is installed by default to
> /usr/local/etc/php/xcache.ini  and it will by automatically parsed  after
>  php-fpm (or other kind of php) restart.
> To ensure see phpinfo();
>
>> Many thanks.
>>
>>
>>
>
>
> --
> Wbr, SK
>
>
>





More information about the nginx mailing list