Hi there
I’m trying to setup bedrock & sage on my localhost WAMP server runnung php 5.5.12, apache 2.4.9 and mysql 5.6.17. All my .env variables are configured, db and user setup and vhost set to site-path/web but when I try to run the wordpress install script i get a database connection erro with the following warnings:
Warning: mysqli_real_connect(): in C:\wamp\www\bedrock-boilerplate\web\wp\wp-includes\wp-db.php on line 1386.
My .env file:
DB_NAME=bedrock_wp
DB_USER=admin_bedrock
DB_PASSWORD=P_>my-password
DB_HOST=localhost
WP_ENV=development
WP_HOME=http://localhost/bedrock-boilerplate
WP_SITEURL=http://localhost/bedrock-boilerplate/wp
vhost:
<VirtualHost *:80>
DocumentRoot "c:/wamp/www"
ServerName localhost
ServerAlias localhost
<Directory "c:/wamp/www">
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "c:/wamp/www/bedrock-boilerplate/web/"
ServerName bedrock-boilerplate
<Directory "c:/wamp/www/bedrock-boilerplate/web/">
Options FollowSymlinks
AllowOverride All
Require local
</Directory>
</VirtualHost>
My manifest.json file:
{
"dependencies": {
"main.js": {
"files": [
"scripts/main.js"
],
"main": true
},
"main.css": {
"files": [
"styles/main.less"
],
"main": true
},
"editor-style.css": {
"files": [
"styles/editor-style.less"
]
},
"jquery.js": {
"bower": ["jquery"]
},
"modernizr.js": {
"bower": ["modernizr"]
}
},
"config": {
"devUrl": "http://localhost/bedrock-boilerplate"
}
}
Has anybody else experienced this issue? All my other sites run fine on the latest wampserver but i can’t seem to get my Bedrock install running.
Any help would be great
Many thanks in advance