![]() ![]() by short running PHP processes.Īdd the following entries to Nextcloud's configuration file: It is not necessary to configure opcache here as this php.ini is only used by the occ command line tool and the background job, i.e. etc/webapps/nextcloud/php.ini open_basedir=/var/lib/nextcloud:/tmp:/usr/share/webapps/nextcloud:/etc/webapps/nextcloud:/dev/urandom:/usr/lib/php-legacy/modules:/var/log/nextcloud:/proc/meminfo:/proc/cpuinfoĭepending on which additional extensions you configure you may need to extend this list, e.g. This limits the locations where Nextcloud's PHP code can read and write files. Optional: For additional security configure open_basedir. etc/webapps/nextcloud/php.ini memory_limit = 512M Raise PHP's memory limit to at least 512MiB: ![]() etc/webapps/nextcloud/php.ini date.timezone = Europe/Berlin Set date.timezone to your preferred timezone, e.g.: in case you installed php-imagick (as recommended) etc/webapps/nextcloud/php.ini extension=bcmath Additionally enable the following extensions: Most of the prerequisites listed in Nextcloud's installation instructions are already enabled in a bare PHP installation. # chown nextcloud:nextcloud /etc/webapps/nextcloud/php.ini Although not strictly necessary change ownership of the copy: Make a copy of /etc/php-legacy/php.ini in /etc/webapps/nextcloud. These will be covered in the section about application servers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |