Wordpress Installation

Will there be a problem if I manually install wordpress in the directory for static sites? I 'm hoping if it can be done.

Thanks!

Considering how heavily Wordpress relies on PHP, I’d recommend against it.

@blinkingline MIAB supports PHP - It’s MySQL that would be an issue since it’s not installed on MIAB

@Moderndayfreak I would use an external server, and add an “A” record for domain.com (do not input a subdomain) that points to the external server.

I don’t really use nginx, which is what MIAB uses, but I would configure it to put it on another directory separate from Mail in a Box.
MySQL isn’t really a problem. MIAB uses SQL Lite files instead of servers, so installing MySQL on your box really shouldn’t be a problem.

Wordpress relying on PHP isn’t much of a problem either, I would imagine. Since I’ve never really run anything but Apache, I wouldn’t know how nginx handles Apache, but I imagine it’s possible.

Just remember that everyone else is running their mail on its own dedicated box, and it is the official, community-supported way of managing your mail, so you are stepping outside of what is recommended by adding a Wordpress site to your box. It’s possible though. You just might break something.

1 Like

I don’t really use nginx, which is what MIAB uses, but I would configure it to put it on another directory separate from Mail in a Box.

Directory is irrelevant

Wordpress relying on PHP isn’t much of a problem either, I would imagine. Since I’ve never really run anything but Apache, I wouldn’t know how nginx handles Apache, but I imagine it’s possible.

It is possible to run Apache and Nginx side by side - however they cannot consume the same ports (nginx in this case MUST keep 80 & 443 (http & https default ports) which means running a website in apache will not work as expected for people who do not know how to switch ports in their browser)

MySQL isn’t really a problem. MIAB uses SQL Lite files instead of servers, so installing MySQL on your box really shouldn’t be a problem.

MIAB does not support installing MySQL - Ubuntu must be kept as-is in this case in order to get support from the developer.

Therefore, the only viable option is a second server for wordpress.

My suggestion is to install wordpress on another box and have your MIAB instance point the DNS to the other box. Keep it simple, keep it separate.

2 Likes

Could not have said it better myself.

1 Like

It’s doable.

Install mariadb first and run the secure install script. Then configure nginx to use php on that domain, and add this fix.

Before installing wordpress be sure to create a mysql user/password/database too.