death, the OCF webserver, currently runs PHP 7.0 with the following
non-standard packages installed:
For a full list of available modules, run phpinfo() from a PHP script.
Plase contact us if you are missing a module that you need
installed to get your application running.
If the default PHP settings are problematic for your site (for example, if you
require larger than normal file uploads), you can customize the PHP settings
used by creating a .user.ini file inside your web root.
In order to maintain compatibility with the OCF's PHP settings, we highly
recommend not copying an entire php.ini* or .user.ini file from the web
or from another server. Instead, we advise you to create an empty .user.ini
and add only the settings you wish to change.
Note that .user.ini filename should be used, as our webserver will not look
for (per-user) php.ini files.
.user.ini file The following file, located at ~/public_html/.user.ini, is an example of a
good .user.ini file.
; raise max upload and POST sizes
upload_max_filesize = 32M
post_max_size = 32M
; raise maximum number of input variables
max_input_vars = 20000
To prevent websites from being compromised, outbound HTTP requests via
either curl_exec() or file_get_contents() are blocked.
Consider using different frameworks if your website requires outbound
HTTP requests.