是一个Wordpress插件。我正在使用进行持续集成。
我正在尝试设置我的circle.yml文件,以便能够运行我的phpunit测试。我跟随在CI环境上安装Wordpress等。以下是不适合我的东西:
## Customize test commands
test:
pre:
# download wordpress for wp-cli to use
- curl -s https://wordpress.org/latest.tar.gz > /tmp/wordpress.tar.gz
- tar --strip-components=1 -zxmf
我的vps ubuntu14.04.5LTS和PHP版本7.1.17-1 + ubuntu14.04.1 + deb.sury.org +1
如果我打开我的网页链接,它会显示如下:
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tel
我试图在ubuntu上安装WordPress,方法是遵循这个https://ubuntu.com/tutorials/install-and-configure-wordpress#4-configure-database
但是停留在第4步,每当我运行这个
mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER
-> ON wordpress.*
-> TO wordpress@localhost
-> IDENTIFIED BY 'password';
我得到了
ER
我试图使用链接在ubuntu上安装wordpress,并攻击了https://ubuntu.com/tutorials/install-and-configure-wordpress#4-configure-database。
当我运行这个命令时,我得到了错误-
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER
-> ON wordpress.*
-> TO wordpress@localhost
-> IDENTIFIED BY 'root';
ERROR 1064 (4200
操作系统:ubuntu
当我进入http://127.0.0.1/wordpress时,
显示错误:
Neither /etc/wordpress/config-127.0.0.1.php nor /etc/wordpress/config-0.0.1.php could be found.
Ensure one of them exists, is readable by the webserver and contains the right password/username.
但是http://localhost/wordpress可以访问
我使用了可能导致此error.And的命令
我在ubuntu ec2实例中配置了wordpress网站,但是当我输入我的网站adresse时,它会显示以下代码:
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPre