Procedures
System
Download OJS from here
System requirements (recommended). Your server will need:
PHP >= 7.0
MySQL/MariaDB 4.1 or later or PostgreSQL 9.1.5 or later
Apache >= 1.3.2x or >= 2.0.4x or Microsoft IIS 6
Operating system:
Any OS: Linux, BSD, Solaris, Mac OS X, Windows
Installation
Download from extract the OJS archive to the desired location in your web documents directory
Make the following files and directories (and their contents) writeable:
config.inc.php(optional, if not writable you will be prompted to manually overwrite this file during installation)publiccachecache/t_cachecache/t_configcache/t_compilecache/_db
Create a subdirectory that will host your pdfs, jpeg, etc. Protect it under a rule inside the
.htaccessfileOpen a web browser to
http://yourdomain.com/path/to/ojs/and follow the on-screen installation instructionsVerify
config.inc.phpfor additional configuration settings

Verify your server API PHP. If OJS is already installed, log in as Site Administrator, click
System Information, and at the bottom of the page, clickExtended PHP Information. Find the line that saysServer API. Depending on which API you are using (mod_php/SAPIorCGI/FastCGI), permissions should be set as follow:mod_php/SAPI: In this configuration, all PHP scripts on the system typically execute as the same user (usually Apache’s “nobody” or “www-data” accounts). Be warned that this may be insecure on a shared host. The
files_dir(configured inconfig.inc.php), the cache directory, the public directory, and all contents and subdirectories must be writable and readable by the web server user. Theconfig.inc.phpconfiguration file must be readable by the web server userCGI/FastCGI: PHP scripts will typically run under your user account (though server configurations may vary). This can be a well-secured configuration. The
files_dir(configured inconfig.inc.php), the cache directory, the public directory, and all contents and subdirectories must be writable and readable by this user account. Theconfig.inc.phpconfiguration file must be readable by this account.
Schedule tasks (such as automatic sending of reminder notification emails): enable support for using scheduled tasks, edit your
config.inc.phpand set thescheduled_taskssetting toOn. On Unix operating systems, this can be done by adding a simple cron task:
check your
file_type_restriction.ini

file_type_restriction.iniPHP Safe Modeis not a recommended configuration and may not function properlyAcross time, it will be warned about updates. Apply accordingly
Check
docsdirectory: there it contains configuration, installation or upgrade questionsTo add support for other languages, the following sets of XML files must be localized and placed in an appropriately named directory (using ISO locale codes, e.g.
fr_FR, is recommended):locale/en_USlib/pkp/locale/en_USdocs/manual/enregistry/locale/en_USplugins/[plugin category]/[plugin name]/locale, where applicable
New locales must also be added to the file
registry/locales.xml. Edit accordinglyVerify character encoding (preferred
utf-8format). In a way, we’re storing utf8 data in a utf8 database. Therefore, run these command from your terminal:

We are ensuring that the OJS
config.inc.phpsettings match the data anddbsettingsClear it off comments your css file
Configuration
Browse to the
Settings>Websites>Plugins>Plugin Gallerypage in your Open Journal Systems website setup.Enable this plugins:
Google Analytics
DOI
Install a font (preferred) that support non-western glyphs and ligatures. More data can be found here
Maintenance
Verify your webserver error log
Verify your file permissions
Check your memory limit on your
PHPsettings. It’s normally set at8mbby default, but OJS need at least16mbset to run properly. You can find amemory_limitconfiguration directive in your server’sphp.iniconfig file.Check this thread about error logs
Follow this good practices about backup
Last updated
