Fedora 23
php 5.6.23-1.fc23
phpBB 3.1.9
I have full root access to the Fedora 23 OS. I read this post
https://www.phpbb.com/support/docs/en/3 ... rmissions/ and wrote a bash script to implement it.
============================================================
dophpBBPermissionChanges.sh
#!/usr/bin/bash
PHPBB_INSTALL_FULL_PATH="/var/www/html/usque/bb"
# All other files - 644
find ${PHPBB_INSTALL_FULL_PATH} -type f -exec chmod 644 {} +
# 666 before installation
# 644 after installation
find ${PHPBB_INSTALL_FULL_PATH} -name config.php -exec chmod 644 {} +
# All directories - 755
find ${PHPBB_INSTALL_FULL_PATH} -type d -exec chmod 755 {} +
# The files directory - 777
find ${PHPBB_INSTALL_FULL_PATH} -type d -name files -exec chmod 777 {} +
# The cache directory - 777
find ${PHPBB_INSTALL_FULL_PATH} -type d -name cache -exec chmod 777 {} +
# The store directory - 777
find ${PHPBB_INSTALL_FULL_PATH} -type d -name store -exec chmod 777 {} +
# The images/avatars/upload directory - 777
find ${PHPBB_INSTALL_FULL_PATH}/images/avatars -type d -name upload -exec chmod 777 {} +
============================================================
I have rebooted httpd, php and the whole OS. But I still get "Unwriteable".
============================================================
PHP version and settings
Required - You must be running at least version 5.3.3 of PHP in order to install phpBB. If safe mode is displayed below your PHP installation is running in that mode. This will impose limitations on remote administration and similar features.
PHP version >= 5.3.3:
Yes
PHP setting allow_url_fopen is enabled:
Optional - This setting is optional, however certain phpBB functions like off-site avatars will not work properly without it.
Yes
PHP function getimagesize() is available:
Required - In order for phpBB to function correctly, the getimagesize function needs to be available.
Yes
PCRE UTF-8 support:
phpBB will not run if your PHP installation is not compiled with UTF-8 support in the PCRE extension.
Yes
PHP JSON support:
Required - In order for phpBB to function correctly, the PHP JSON extension needs to be available.
Yes
mbstring extension check
Required - mbstring is a PHP extension that provides multibyte string functions. Certain features of mbstring are not compatible with phpBB and must be disabled.
Function overloading:
mbstring.func_overload must be set to either 0 or 4.
Yes
Transparent character encoding:
mbstring.encoding_translation must be set to 0.
Yes
HTTP input character conversion:
mbstring.http_input must be set to pass.
Yes
HTTP output character conversion:
mbstring.http_output must be set to pass.
Yes
Supported databases
Required - You must have support for at least one compatible database within PHP. If no database modules are shown as available you should contact your hosting provider or review the relevant PHP installation documentation for advice.
MySQL with MySQLi Extension:
Available
MySQL:
Available
MSSQL Server 2000+:
Unavailable
MSSQL Server 2000+ via ODBC:
Unavailable
MSSQL Server 2005+ [ Native ]:
Unavailable
Oracle:
Unavailable
PostgreSQL:
Unavailable
SQLite 2:
Unavailable
SQLite 3:
Available
Optional modules
Optional - These modules or applications are optional. However, if they are available they will enable extra features.
zlib compression support [ gz, .tar.gz, .zip ]:
Available
Remote FTP support [ Installation ]:
Available
GD graphics support [ Visual Confirmation ]:
Available
XML support [ Jabber ]:
Available
Imagemagick support [ Attachments ]:
Available, /usr/bin/
Files and Directories
Required - In order to function correctly phpBB needs to be able to access or write to certain files or directories. If you see “Not Found” you need to create the relevant file or directory. If you see “Unwritable” you need to change the permissions on the file or directory to allow phpBB to write to it.
cache/:
Found,
Unwritable
files/:
Found,
Unwritable
store/:
Found,
Unwritable
Optional files and directories
Optional - These files, directories or permission settings are not required. The installation system will attempt to use various techniques to create them if they do not exist or cannot be written to. However, the presence of these will speed installation.
config.php:
Found,
Unwritable
images/avatars/upload/:
Found,
Unwritable
============================================================