3.2 php7 with mbstring not set to pass ???

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
User avatar
warmweer
Registered User
Posts: 479
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

3.2 php7 with mbstring not set to pass ???

Post by warmweer » Sat Nov 18, 2017 9:53 pm

A couple of months ago I installed 3.2.0 online (just for testing purposes) and it worked just fine (I can't remember the settings though).
A day or 2 ago I tried to install 3.2.1 online with php 7.1and phpBB complained that the mbstring. input etc.. should be set to pass, so the installation was blocked.
I then changed php to 5.6 and tried to instal 3.1.11 and got the same message, the again with php5.5.
With php5.4 it installs just fine.

Since the mbstring is deprecated, I'm wondering why phpBBB test it when installing?
Yet there are so many phpBB3.2 boards running and they need php 7.0 or higher.

It doesn't rhyme properly: 3.2.1 needs php7 and mbstring.input/output, but I haven't seen a host yet offering php7 with mbstring set up.
Am I missing something?
A bug is a feature that didn't make it to the manual (yet)

User avatar
Elias
Registered User
Posts: 4601
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias
Contact:

Re: 3.2 php7 with mbstring not set to pass ???

Post by Elias » Sun Nov 19, 2017 1:20 am

You should check with your host to see if you can have a custom php.ini in your web root where you can set these values.

Or try the following:

In your .htaccess (in your domain’s root and not phpBB’s) add the following:
php_value mbstring.http_input pass
php_value mbstring.http_output pass

Thanks
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|

User avatar
david63
Jr. Extension Validator
Posts: 13120
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: 3.2 php7 with mbstring not set to pass ???

Post by david63 » Sun Nov 19, 2017 8:24 am

warmweer wrote:
Sat Nov 18, 2017 9:53 pm
3.2.1 needs php7
That is incorrect - phpBB 3.2.1 only needs PHP 5.4 but is designed to work with PHP7
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
warmweer
Registered User
Posts: 479
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: 3.2 php7 with mbstring not set to pass ???

Post by warmweer » Sun Nov 19, 2017 9:06 am

Elias wrote:
Sun Nov 19, 2017 1:20 am
You should check with your host to see if you can have a custom php.ini in your web root where you can set these values.

Or try the following:

In your .htaccess (in your domain’s root and not phpBB’s) add the following:
php_value mbstring.http_input pass
php_value mbstring.http_output pass

Thanks
Didn't work half a year ago, but who knows, I'll try it again.
A bug is a feature that didn't make it to the manual (yet)

User avatar
warmweer
Registered User
Posts: 479
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: 3.2 php7 with mbstring not set to pass ???

Post by warmweer » Sun Nov 19, 2017 9:12 am

david63 wrote:
Sun Nov 19, 2017 8:24 am
warmweer wrote:
Sat Nov 18, 2017 9:53 pm
3.2.1 needs php7
That is incorrect - phpBB 3.2.1 only needs PHP 5.4 but is designed to work with PHP7
OMG, how did this idea that phpBB3.2 needs php7 get into my head??
Thanks david63 - this suddenly erases the major problems.
A bug is a feature that didn't make it to the manual (yet)

User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3277
Joined: Wed Oct 27, 2004 11:35 pm
Name: William
Contact:

Re: 3.2 php7 with mbstring not set to pass ???

Post by bonelifer » Sun Nov 19, 2017 12:42 pm

warmweer wrote:
Sun Nov 19, 2017 9:12 am
david63 wrote:
Sun Nov 19, 2017 8:24 am
warmweer wrote:
Sat Nov 18, 2017 9:53 pm
3.2.1 needs php7
That is incorrect - phpBB 3.2.1 only needs PHP 5.4 but is designed to work with PHP7
OMG, how did this idea that phpBB3.2 needs php7 get into my head??
Thanks david63 - this suddenly erases the major problems.
Most likely you've asked or saw someone ask if 3.1 worked with php7 and the answer was you'd need phpBB 3.2 if you used php7. Since then you've gotten that answer jumbled up. Don't worry these things happen to everyone.
Knowledge Base | phpBB Board Rules | Search Customisation Database
Image
Please don't contact me via PM or email for phpBB support .

User avatar
warmweer
Registered User
Posts: 479
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: 3.2 php7 with mbstring not set to pass ???

Post by warmweer » Sun Nov 19, 2017 4:38 pm

bonelifer wrote:
Sun Nov 19, 2017 12:42 pm
...
Most likely you've asked or saw someone ask if 3.1 worked with php7 and the answer was you'd need phpBB 3.2 if you used php7. Since then you've gotten that answer jumbled up. Don't worry these things happen to everyone.
Naah, I think it's just because I'm illiterate ;)
The thing is that this misconception of mine made me postpone almost all my phpBB projects for months and months.
Anyway, the good thing now is that I can skip 3.1 and move on directly to 3.2.
A bug is a feature that didn't make it to the manual (yet)

User avatar
david63
Jr. Extension Validator
Posts: 13120
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: 3.2 php7 with mbstring not set to pass ???

Post by david63 » Sun Nov 19, 2017 5:38 pm

Bear in mind that at some point your hosts will upgrade the servers to PHP7
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
warmweer
Registered User
Posts: 479
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: 3.2 php7 with mbstring not set to pass ???

Post by warmweer » Tue Nov 21, 2017 12:23 pm

david63 wrote:
Sun Nov 19, 2017 5:38 pm
Bear in mind that at some point your hosts will upgrade the servers to PHP7
Yes, I know. php7 is there already. 5.4 and 5.5 will probably be dropped by end of next year (if not earlier).
Anyway, what would be the options when (apart from finding of host with mbstring.I/O pass) only 5.6 and 7 remain with deprecated functions inactivated?
A bug is a feature that didn't make it to the manual (yet)

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: Bruno36, jehem, richxrich, vmNav2 and 160 guests