PHP-XCache在哪里保存数据?

时间:2022-10-05 21:17:38

I've recently installed PHP-XCache and set it up. I can also see files being cached in the admin panel.

我最近安装了PHP-XCache并对其进行了设置。我还可以看到在管理面板中缓存的文件。

But something I do not understand is, where does it save all the data?
Is it stored in a specific location or is it stored in an apache processes memory, if its stored in apaches memory, why does it not need to recompile for every process?

但是我不明白的是,它在哪里保存所有的数据?它是存储在特定位置还是存储在apache进程内存中,如果它存储在apaches内存中,为什么它不需要为每个进程重新编译?

Please help me understand this one!

请帮我理解这个!

2 个解决方案

#1


2  

PHP opcode accelerators save to shared memory. Shared memory can be accessed by all processes.

PHP操作码加速器保存到共享内存。所有进程都可以访问共享内存。

#2


1  

It is cached in the memory, and it can't be changed to a place on the hard drive, if you were wondering. There's more info at the link below.

它被缓存在内存中,如果您想知道,它不能被更改为硬盘上的某个位置。下面的链接有更多的信息。

Link: http://forum.lighttpd.net/topic/100804

链接:http://forum.lighttpd.net/topic/100804

#1


2  

PHP opcode accelerators save to shared memory. Shared memory can be accessed by all processes.

PHP操作码加速器保存到共享内存。所有进程都可以访问共享内存。

#2


1  

It is cached in the memory, and it can't be changed to a place on the hard drive, if you were wondering. There's more info at the link below.

它被缓存在内存中,如果您想知道,它不能被更改为硬盘上的某个位置。下面的链接有更多的信息。

Link: http://forum.lighttpd.net/topic/100804

链接:http://forum.lighttpd.net/topic/100804