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
Jr. Extension Validator
Posts: 11241
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

3.2 php7 with mbstring not set to pass ???

Post by warmweer »

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?
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
Elias
Registered User
Posts: 5152
Joined: Sat Feb 25, 2006 4:31 pm
Name: Elias

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

Post by Elias »

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
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

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

Post by david63 »

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!

I now no longer support any of my extensions but they will start to become available here
User avatar
warmweer
Jr. Extension Validator
Posts: 11241
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

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

Post by warmweer »

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.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
warmweer
Jr. Extension Validator
Posts: 11241
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

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

Post by warmweer »

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.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3542
Joined: Wed Oct 27, 2004 11:35 pm
Name: William
Contact:

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

Post by bonelifer »

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.
William Jacoby - Community Team
Knowledge Base | phpBB Board Rules | Search Customisation Database
Please don't contact me via PM or email for phpBB support .
User avatar
warmweer
Jr. Extension Validator
Posts: 11241
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

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

Post by warmweer »

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.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

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

Post by david63 »

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!

I now no longer support any of my extensions but they will start to become available here
User avatar
warmweer
Jr. Extension Validator
Posts: 11241
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

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

Post by warmweer »

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?
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
Post Reply

Return to “[3.2.x] Support Forum”