Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer/upgrader: Should we check for mbstring support? #4148

Closed
sbulen opened this issue Jun 22, 2017 · 4 comments
Closed

Installer/upgrader: Should we check for mbstring support? #4148

sbulen opened this issue Jun 22, 2017 · 4 comments

Comments

@sbulen
Copy link
Contributor

sbulen commented Jun 22, 2017

This post on the support site caught my eye:
https://www.simplemachines.org/community/index.php?topic=554740.0

How rare would this be? I'm leaning towards putting a check for mbstring support in both the installer & upgrader. Let me know if this makes sense.

@sbulen
Copy link
Contributor Author

sbulen commented Jun 22, 2017

I just recalled that a few checks were called for in #1869: GD2, Imagemagick, hash, json, mbstring.

Are these potential checks appropriate?

@Oldiesmann
Copy link
Contributor

I don't think we need a check for GD at all. That's a default feature of PHP and the only way it won't be there is if you specifically compile PHP without it, which is highly unusual.

ImageMagick isn't a requirement for SMF - we've got checks for the two extensions (imagick and magickwand) where appropriate, but SMF will work fine without it.

I'm not sure about the others.

@sbulen
Copy link
Contributor Author

sbulen commented Jun 23, 2017

Looks like hash and json are compiled into php by default since php 5.1 & 5.2.

The only item here that is still not enabled by default is mbstring.

I'll add a check for mbstring, and both of these issues can be closed out.

@sbulen
Copy link
Contributor Author

sbulen commented Jun 29, 2017

Addressed by PR #4155

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants