1 (edited by kdadmin 2021-04-29 17:07:25)

Topic: Installing PhpBB 3.3.3

Attempting to install phpBB-3.3.3.
Requires PHP 7.1.3+ and MySQL 4.1.3.

During installation phpBB complains PHP 7.1.3 or higher is not available.

The Tux FAQ mentions:

In order to execute PHP7 instead of PHP5, edit/add a .htaccess file and add:
   AddType application/x-httpd-php7 .php

If that is the fix, where do I place this .htaccess file? I cannot find an existing one anywhere. And is it simply a file named .htaccess with the single line: "AddType application/x-httpd-php7 .php"  ?

I can use a different BB if needed.

Thanks much,

Update:
I abandoned the phpBB-3.3.3 effort.
Installed punbb-1.4.6 instead - much smaller.

Another update:
Cannot get punbb-1.4.6 to work via https.
Loggins are unsecure.

Is there a fix for this?

Any help would be appreciated.

Thanks,

Re: Installing PhpBB 3.3.3

kdadmin wrote:

If that is the fix, where do I place this .htaccess file?

Typically in the same directory as your phpBB/pubBB installation.

kdadmin wrote:

I cannot find an existing one anywhere.

How do you list files? Most PHP software come with a .htaccess file, typically filled with various RewriteRules. However, filenames that start with a dot are considered hidden files and may not be displayed unless explicitly requested.

kdadmin wrote:

And is it simply a file named .htaccess with the single line: "AddType application/x-httpd-php7 .php"  ?

Absolutely. *.htaccess files are not specific to TuxFamily (they are specific to the Apache web server though); there is plenty of documentation on the Internet about them.

kdadmin wrote:

Loggins are unsecure.
Is there a fix for this?

As I am writing this message, both https://forum.dslav.tuxfamily.org/ and https://dslav.tuxfamily.org/ are considered secure. The fix was to... wait for the morning. Explanation: TLS/X.509 certificates are not requested immediately, so there is a one-day delay during which your freshly spawned web area is not considered secure over HTTPS.

Re: Installing PhpBB 3.3.3

Thank you very much for the reply and help.
My appologies for getting back so late.

Regarding punbb-1.4.6:

xavier wrote:

As I am writing this message, both https://forum.dslav.tuxfamily.org/ and https://dslav.tuxfamily.org/ are considered secure.

Well the forum at:
  http://forum.dslav.tuxfamily.org/punbb/index.php
is an unsecure forum - the page does not support encryption. Firefox will issue a warning that it is not a secure login.

Going instead to:
  https://forum.dslav.tuxfamily.org/punbb/index.php
redirects you to the same unsecure forum page.

The Tux PunBB forum we're using right now:
https://forum.tuxfamily.org
is secure and uses a cert from Let's Encrypt.

So, sorry but I fail to see what is secure about it, and still have no idea how to make it a proper forum.

Re: Installing PhpBB 3.3.3

kdadmin wrote:

So, sorry but I fail to see what is secure about it, and still have no idea how to make it a proper forum.

For PunBB, you need to switch from http:// to https:// in the $base_url setting of the config.php configuration file.

5 (edited by kdadmin 2021-06-12 17:54:36)

Re: Installing PhpBB 3.3.3

gradator wrote:

For PunBB, you need to switch from http:// to https:// in the $base_url setting of the config.php configuration file.

Parfait! Thank you.

And for the newbies like me, config.php is not part of the PunBB download, it is created during the PunBB install. To fix the unsecure PunBB forum, simply download config.php from the install directory, modify it, and upload it back.