mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 11:58:53 +00:00
phpBB Development: phpBB is a popular open-source bulletin board written in PHP. This repository also contains the history of version 2.
Update the mbstring.http_input and mbstring.http_output configuration check, from being the deprecated PHP 5.6.x "PASS, or blank" to now be "UTF-8, or blank". PHP documentation specifies this configuration should be left blank, in order to inherit default_charset, which phpBB requires to be configured as UTF-8. For a phpBB customer where mbstring.http_input and mbstring.http_output is set to UTF-8 rather than being left blank, and is a shared hosting configuration that the customer isn't permitted to change, the phpBB ACP warning that "your http_input/http_output configuration is invalid" isn't helpful. Their setting is UTF-8, which is the encoding http_input/http_output would be using if it had been left blank and allowed to inherit default_charset. Our "warning" isn't advising the user of a misconfiguration which is causing a phpBB functionality problem. phpBB is getting exactly the UTF-8 encoding it was intending to get; same as when it was checking whether the setting was left blank, too. Also update the default_charset test to permit "UTF-8, or blank". This had been correctly changed to effectively test "UTF-8, or NULL" during PHPBB3-16698, based on code inspection of /vendor/bantu/ini-get-wrapper/src/IniGetWrapper.php which confirmed IniGetWrapper::getString() will return NULL for any setting which does not exist. However, testing on some PHP platforms shows PHP itself returning an empty string for a parameter which isn't defined in the PHP.INI, and so we receive an empty string instead of NULL. So the test was updated so that we effectively check for "UTF-8, or blank, or NULL", all of which result in UTF-8 being used. PHPBB3-16708 |
||
---|---|---|
.github | ||
build | ||
git-tools | ||
phpBB | ||
tests | ||
travis | ||
vagrant | ||
.editorconfig | ||
.gitignore | ||
.jscsrc | ||
.jshintrc | ||
composer.phar | ||
doctum.phar | ||
LICENSE | ||
phpunit.xml.dist | ||
README.md | ||
Vagrantfile |
phpBB is a free open-source bulletin board written in PHP.
🧑🏻🤝🏻🧑🏽 Community
Get your copy of phpBB, find support and lots more on phpBB.com. Discuss the development on area51.
👨💻 Contribute
- Create an account on phpBB.com
- Create a ticket (unless there already is one)
- Read our Coding guidelines and Git Contribution Guidelines
- Send us a pull request
🏗️ Setting up a development build of phpBB
To run an installation from the repo (and not from a pre-built package) on a local server, run the following commands:
- Fork phpbb/phpbb to your GitHub account, then create a local clone of it:
git clone https://github.com/your_github_name/phpbb.git
- Install phpBB's dependencies (from the root of your phpbb repo):
cd phpBB php ../composer.phar install
Alternatively, you can read our Vagrant documentation to find out how to use Vagrant to develop and contribute to phpBB.
📓 Documentation
phpBB's Development Documentation contains all the information you'll need to learn about developing for phpBB's core, extensions and automated testing.
🔬 Automated Testing
We have unit and functional tests in order to prevent regressions. You can view the bamboo continuous integration here or check our travis builds below:
Branch | Description | Github Actions |
---|---|---|
master | Latest development version | |
3.3.x | Development of version 3.3.x |