Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在没有 SSH 访问服务器的情况下检查是否在服务器上安装并运行 PHP 操作码缓存?我检查了 phpinfo() 并且看不到对 APC 或 eAccelerator 的引用,但我知道还有其他操作码缓存系统,并且我不完全确定检查 phpinfo() 是否足以让我知道一种或另一种方式。
var_dump(function_exists('apc_store'));或您选择的库的等效项。
var_dump(function_exists('apc_store'));
如果像往常一样使用 Web 服务器 SAPI,请确保在编辑 php.ini 后重新启动服务器进程以查看反映的新添加。