Wordpress setup problems


We have some problems with our new build of our website. It’s a 2.0 version from our previous website. Our previous website was hosted on a shared server. We found out that the speed was an big issue. Based on this awesome tutorial we decided to go for a VPS. (LEMP stack) I managed to setup our new site and now we are hosting it on a VPS (Obviously). But there are some issues and I don’t know how to fix them (On a shared server all the presets are there, and now I have to do it my self.)

  • First problem is and was that woocommerce or wordpress didn’t send emails. I fixed only one of them with installing Exim4 Now the mails from woocommerce are send (new order, on hold etc. but these are messed up. It sends the wrong mails at the wrong action.) But emails from wordpress don’t send at al (new customer, change password that stuff), which we think are !important.

  • Second, when a customer wants to register we get an white page. When we refresh it says; customer al ready exists. And in de backend the customer is created. After that they can login. So we don’t get whats wrong there.

I hope some can help me :) Greetings,

Jasper Dergent

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Ryan Quinn
DigitalOcean Employee
DigitalOcean Employee badge
December 1, 2016
Accepted Answer


On the first item, we don’t install an SMTP service by default mostly to prevent spam. I’ve had good luck with a basic install of postfix (instead of exim) to get mail working in WordPress. It provides a sendmail binary that the php mail() function can use.

The registration white page is something different. I am guessing that it’s related to one of the plugins in use rather than WP core. I’d recommend checking your php-fpm error log in /var/log to see if any information is being recorded there when the white page is shown. If you find something, share it here and I’ll help you get to the bottom of it.

Hi Ryanpg,

Thanks for the quick reply. Yeah, I understand that those service’s are not pre-installed, it’s not a problem. I like a challenge. Would you recommend postfix over Exim? Or what are pro’s or con’s? Isn’t the php mail() function used by Exim and is that causing the problem for some emails?

The white pages i’m going to try get one now and post the results below. Thanks btw.


There nothing in /var/log. I mean, there are a lot files. But none php7.0-fpm file with a date of to day. This is the latest php7.0-fpm file;

[28-Nov-2016 06:25:01] NOTICE: error log file re-opened
[28-Nov-2016 20:30:23] WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
[29-Nov-2016 03:48:52] WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
[29-Nov-2016 09:31:14] WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
[29-Nov-2016 09:35:32] WARNING: [pool www] server reached pm.max_children setting (5), consider raising it

These are the only files there with php. something

  • php7.0-fpm.log.2.gz
  • php7.0-fpm.log.1
  • php7.0-fpm.log

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel