Warning: Use of undefined constant url - assumed 'url' (this will throw an Error in a future version of PHP) in /www/wwwroot/boke/wp-content/themes/boke/framework/functions/theme-functions.php on line 2211
Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /www/wwwroot/boke/wp-content/themes/boke/framework/functions/theme-functions.php on line 2211
yum安装ngixn时提示如下错误
[root@localhost ~]# yum install nginx
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
解决办法:
yum --disablerepo=epel -y update ca-certificates