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.
我的一些网站似乎有服务器端缓存,httpd每次更改 PHP 代码时我都必须重新启动服务器
httpd
有没有办法不重新启动 Apache 但立即显示 PHP 代码更改?
7 年前.. 我不确定你会不会读到这篇文章。但我认为你想要的是改变 opcache.enable 选项。
去php/etc/php.ini尝试改变opcache.enable=0
php/etc/php.ini
opcache.enable=0
但我认为你最好这样做是为了开发,而不是真正的服务。
我收到此错误Error parsing <!DOCTYPE HTML...,就像它没有找到资源一样,但我传递了正确的 url:
Error parsing <!DOCTYPE HTML...
“http://10.0.2.2/portablevision/webservice.php”;
无论如何,这是我的 PHP 网络服务:
<?php $response = array(); require_onc