Bedrock local install -- leads to blank page

Hey everybody,

i followed all instructions to install bedrock via composer on Github.
After that, I created an empty database with all the right credentials and put
them in th dotenv file.

When visiting my local page, i am redirected to the install.php under
/web/wp/wp-admin/. The result is a blank page with no errors under debug

Am I missing something? I set up a couple of other pages with earlier versions of
bedrock the same way without this error.

mysql, php and phpmyadmin work correctly… Can anyone help?

Local server is nginx. Never had problems with my Nginx Setup. :wink:

Thank you very much

just tested my configuration with a normal wordpress install…
Everything works… So it has to do with the setup of Bedrock…
Please check and help. Peace

There’s errors somewhere if it’s a blank page. One thing I can tell you that’s wrong is your URLs. If you’re seeing /web/wp/wp-admin/, then your web server’s document root isn’t set up properly. It needs to include web/.

It’s right in the README:

Set your Nginx or Apache vhost to /path/to/site/web/ (/path/to/site/current/web/ if using Capistrano)

Hey Scott, thank you for your answer. I post my nginx conf so you can see that i did set the vhost path with /web.

server {
    listen       80;
    root       /Users/Baranek/Sites/antoine/web/;
    access_log  /usr/local/etc/nginx/logs/default.access.log  main;    
    rewrite /wp-admin$ $scheme://$host$uri/ permanent;

location / {
        try_files $uri $uri/ /index.php?q=$uri&$args;
    location ~* ^.+.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|rss|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ {
       access_log off; log_not_found off; expires max;

error_page 404 /404.html;
    error_page 500 502 503 504 /50x.html;
    location = /50x.html {
        root /usr/share/nginx/www;
    location ~ .php$ {
        include   /usr/local/etc/nginx/conf.d/php-fpm;

the url i meant is just the url called in the browser when accessing my site.The page where you would usually set up your database. So full url would be: That is the blank page. :wink: Thx again

Here’s a minimal Nginx conf that works with Bedrock:

server {
  listen       80;
  access_log   /var/logs/nginx/;
  error_log    /var/logs/nginx/;
  root  /srv/www/;
  index index.php;
  location / {
    try_files $uri $uri/ /index.php?$args;
  location ~ \.php$ {
    try_files $uri =404;
    include fastcgi_params;
    fastcgi_pass unix:/var/run/php5-fpm.sock;

Not sure even sure how Nginx lets your server_name work since it shouldn’t have http:// in it. You also don’t need that wp-admin rewrite.

Hey Scott,

gotcha on the nginx setup. :wink: I am new to nginx. I used to use Apache. I found the error myself. It was located in the .env file. I put the wrong siteurl in it. Thanks for your time. Everything is perfectly working now. Thumbs up.

Argh, I have same issue. Just blank page and no errors.
Have cheked everything couple of times but I cannot see why.
Any tips please how to debug this?

Installing just bedrock on digital ocean.

it was php error, was not parsing php, fixed.