phpbb 3.2 + nginx

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
Icos
Registered User
Posts: 6
Joined: Fri Jan 27, 2017 10:20 pm

phpbb 3.2 + nginx

Post by Icos » Fri Jan 27, 2017 10:33 pm

Hi. I'm using the phpbb since 2003.Never ever had any troubles installing it.

Today i've tried to make a clean install of the 3.2 version on nginx server. And as many users i've stumbled at the very first step: the "Install" tab leads you to the /forum/install/app.php/install page which is not exists. After a quick search, i've found at this thread that i have to setup my nginx server in a very special way to even install the forum!

And this is beyond me! Why should i ever change the config of my server to install a forum? Why should i redirect the parameters passed to the app.php via "/install" by hacking into the server configs? What's wrong with plain and simple "app.php?a=install" way which is supported by any server by default? Really guys, you've amazed me today!

And what if the user has no access to the server's config file? Before he could easily install the forum, but now it's impossible in such conditions.

Please, guys, prove me wrong and tell me, that there is still a way to install phpbb on nginx old way without changing the configs of the server. Is there any switch or flag in the config of the forum to use it as usual?

User avatar
SiteSplat
Registered User
Posts: 74
Joined: Sun Sep 07, 2014 7:17 pm
Contact:

Re: phpbb 3.2 + nginx

Post by SiteSplat » Sat Jan 28, 2017 12:04 am

The answer is:

¯\_(ツ)_/¯

See my post: https://area51.phpbb.com/phpBB/viewtopi ... 81&t=49426

Icos
Registered User
Posts: 6
Joined: Fri Jan 27, 2017 10:20 pm

Re: phpbb 3.2 + nginx

Post by Icos » Sat Jan 28, 2017 12:14 am

What can i say... But why?
Isn't a plain passing of parameters via ? good enough these days?

AlexandrBu
Registered User
Posts: 2
Joined: Tue Jan 02, 2018 6:31 am

Re: phpbb 3.2 + nginx

Post by AlexandrBu » Tue Jan 02, 2018 6:35 am

Very upset after find out that phpBB 3.2 does not support Nginx

User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 24592
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: phpbb 3.2 + nginx

Post by Paul » Tue Jan 02, 2018 9:14 am

AlexandrBu wrote:
Tue Jan 02, 2018 6:35 am
Very upset after find out that phpBB 3.2 does not support Nginx
It does support it, you just need to configure nginx correctly.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

User avatar
Mick
Support Team Member
Support Team Member
Posts: 19973
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: phpbb 3.2 + nginx

Post by Mick » Tue Jan 02, 2018 9:34 am

There are users who have installed phpBB with nginx without any issues so I’d call “server set up”.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.

User avatar
battye
Extension Customisations
Extension Customisations
Posts: 10839
Joined: Wed Feb 11, 2004 11:02 am
Location: Australia
Contact:

Re: phpbb 3.2 + nginx

Post by battye » Sun Aug 19, 2018 1:45 pm

Thank you SiteSplat/Gwyneth Llewelyn, that solution worked for me - I was also getting the problem of clicking the "Install" button and the page was redirecting back on to itself.

I just wanted to re-iterate the answer to get phpBB 3.2 working with Nginx because this topic is one of the first results on Google for that search term, and the code to fix it isn't on this page.

In the /etc/nginx/sites-enabled/ directory, I edited the file for my subdomain and added this (as mentioned over at Area51):

Code: Select all

        location /install/app.php {
                try_files $uri $uri/ /install/app.php?$query_string;
        }
Then I ran sudo service nginx restart for good measure, refreshed the page and the Installer works perfectly.
Customisations Team Member

User avatar
Noxwizard
Support Team Leader
Support Team Leader
Posts: 10305
Joined: Mon Jun 27, 2005 8:41 pm
Location: Texas, USA
Name: Patrick Webster
Contact:

Re: phpbb 3.2 + nginx

Post by Noxwizard » Sun Aug 19, 2018 3:06 pm

If the sample nginx config file provided in the docs/ directory doesn't actually work, please submit a bug ticket.
[Support Template] - [Read Before Posting] - [phpBB Knowledge Base]
Do not contact me for private support, please share the question in our forums.

User avatar
battye
Extension Customisations
Extension Customisations
Posts: 10839
Joined: Wed Feb 11, 2004 11:02 am
Location: Australia
Contact:

Re: phpbb 3.2 + nginx

Post by battye » Sun Aug 19, 2018 3:53 pm

Out of the box with the configuration in the docs I think it would be fine, mine was an extreme edge case :)

I was mucking around with installing a 3.2 board on the same Vagrant box as the latest development version. It might be loosely related to http://tracker.phpbb.com/browse/PHPBB3-15400 but because with that Vagrant setup the board is pre-installed and most people wouldn't have any need to go through the installation process there's probably little reason to make an official change. I just wanted to add my thanks to the poster above that his solution did the trick for me :)
Customisations Team Member

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: AbaddonOrmuz, Hartenheer, invenio, lopoto, stevemaury and 51 guests