Warning: file_exists(): File name is longer than the maximum allowed path length on this platform (260): C:\wwwroot\kkong.net/wp-content/themes/Adams-1.4.26/single-post-php-%e8%a2%ab%e8%ae%be%e7%bd%ae%e4%b8%ba%e7%a7%bb%e9%99%a4%e5%86%85%e8%81%94%e5%9d%97-%e8%bf%99%e5%b0%86%e5%af%bc%e8%87%b4%e5%a4%9a%e4%b8%aa%e6%a0%b8%e5%bf%83%e5%ba%94%e7%94%a8%e6%97%a0%e6%b3%95.php in C:\wwwroot\kkong.net\wp-includes\template.php on line 703

Warning: file_exists(): File name is longer than the maximum allowed path length on this platform (260): C:\wwwroot\kkong.net/wp-content/themes/Adams-1.4.26/single-post-php-%e8%a2%ab%e8%ae%be%e7%bd%ae%e4%b8%ba%e7%a7%bb%e9%99%a4%e5%86%85%e8%81%94%e5%9d%97-%e8%bf%99%e5%b0%86%e5%af%bc%e8%87%b4%e5%a4%9a%e4%b8%aa%e6%a0%b8%e5%bf%83%e5%ba%94%e7%94%a8%e6%97%a0%e6%b3%95.php in C:\wwwroot\kkong.net\wp-includes\template.php on line 706
PHP 被设置为移除内联块, 这将导致多个核心应用无法访问 – 我的学习日记

PHP 被设置为移除内联块, 这将导致多个核心应用无法访问

/ 0评 / 0

PHP 被设置为移除内联块, 这将导致多个核心应用无法访问.

这可能由缓存/加速器导致的, 例如 Zend OPcache 或 eAccelerator.”

这是因为我们还要对php.ini中Opcache的参数进行修改,改成下方的就行(Oneinstack的相关参数被拆分出来了,在/usr/local/php/etc/php.d/ext-opcache.ini 中)其它可以不用改,主要是那个opcache.save_comments=1 ,因为默认是0,改完重启php-fpm就行

顺手把fileinfo模块装了(用addon.sh就行),然后我们还需要配置下内存缓存,这个的话NextCloud支持的种类还是不少的,有APU、Memcached以及Redis。

其实吧,官方推荐APU或者Redis,最方便的是APU了,至于你们喜欢啥那随意,下面给出一些配置的栗子,都需要修改config目录中的config.php才行

发表评论