提示错误:
Access to XMLHttpRequest from origin has been blocked by CORS policy:The request client is not a secure context and the resource is in more-private address space `local`.
原因:最新的谷歌和edge升级到94版本后对公网上的http请求下的非同域的http请求进行了拦截。
解决方案:
1、所有公网上的web项目都应该使用https证书。所以最好的方案还是将您的公网web项目升级...
安装composer提示需要opcache,已经在phpmanager开启了opcache却依然提示错误:
PHP Warning: PHP Startup: Invalid library (appears to be a Zend Extension, try loading using zend_extension=php_opcache.dll from php.ini) in Unknown on line 0
查看php.ini发现phpmanager开启opcache有问题:
phpmanager是在php.ini中添加了:
[PHP_OPCACHE]
extension=php_opcache.dll
这是错误的,正确的...