Skip to main content
Journal Publishing Guide

OJS Installation, Step by Step

An accurate overview of installing Open Journal Systems 3.x securely, from server requirements to your first journal, with the errors that catch most people out. Or let our team do it for you.

Requirements and downloadSecure installer setupCron, email and first journal
Installing Open Journal Systems on a server
10 stepsIn order
Local teamCoimbatore, India
Guide

Installing OJS, Explained

Open Journal Systems (OJS) is open-source journal software from the Public Knowledge Project (PKP). On a well-prepared server the installer runs in minutes. Installing OJS so that it stays secure, sends email reliably, runs its scheduled tasks and survives future upgrades takes more care. This guide describes the process for OJS 3.x in the order we follow it.

Requirements and options change between OJS releases, so treat this as an overview and use PKP’s official documentation and the installation notes in the docs folder of the download for your exact version. If you would rather have it done for you, see the form below or our OJS services.

In this guide:

Decide where OJS will run

Choose the server first. OJS can run on shared hosting, a virtual private server, a cloud server or your institution’s own servers. What matters is that you can choose the PHP version, create a database, place a folder outside the public web directory and run scheduled tasks. Many shared hosting plans fail on at least one of these.

Decide the address too: a subdomain such as journals.youruniversity.edu, or the journal’s own domain, with HTTPS from the first day. Changing the address later is possible but affects links, DOIs and indexing. If you would rather not manage a server at all, see our managed OJS hosting.

Check the server requirements

  • PHP: a version supported by the OJS release you are installing, with the extensions OJS needs (for example for multibyte text, XML, internationalisation and file handling). PKP lists them for each version.
  • Database: MySQL or MariaDB, or PostgreSQL, with full Unicode (utf8mb4 on MySQL and MariaDB) so every language and script is stored correctly.
  • Web server: Apache or Nginx, with an SSL certificate.
  • Command-line PHP, for scheduled tasks, upgrades and maintenance tools.
  • PHP limits: upload_max_filesize and post_max_size large enough for manuscripts, with adequate memory_limit and max_execution_time.
  • Disk space for the application, uploaded files and backups.

Do not rely on version numbers from old tutorials. Check PKP’s current requirements for the OJS version you are about to install.

Download OJS from PKP

Download the latest stable OJS 3.x release from the Public Knowledge Project’s official website. Avoid copies from third-party sites, which may be outdated or altered. If you depend on a particular theme or plugin, confirm it supports the version you choose. Upload the package to the server and extract it into the web directory, either at the root of the domain or in a subfolder.

Create the database

Create an empty database and a dedicated database user with a strong password and rights only on that database. On MySQL or MariaDB, use the utf8mb4 character set. Never connect OJS with the database root account, and never share one database user between several applications.

Create the files directory outside the web root

OJS stores submitted manuscripts, review files and other private uploads in a files directory. It must sit outside the public web directory, for example one level above public_html, so the files cannot be downloaded directly by URL. Access then goes through OJS, which checks who is allowed to see each file. Make the folder writable by the web server user, and no wider than that.

Inside the OJS folder, the public directory (for logos, cover images and other files meant to be public) and the cache directory must also be writable by the web server.

Prepare the configuration file

OJS keeps its settings in config.inc.php, based on the config.TEMPLATE.inc.php file in the package. If config.inc.php is not present, copy the template to that name. Make it writable by the web server while you install so the installer can save your settings; if it is not writable, the installer shows the contents for you to paste in by hand. You will come back to this file for the base URL, HTTPS, email and scheduled-task settings.

Run the web installer

Open the journal address in a browser. OJS detects that it is not installed and shows the installation form. Enter the languages to install, the site administrator’s username, strong password and email, the path to the files directory, the database driver, host, name, user and password, and the OAI repository identifier (usually your domain). Submit the form; the installer creates the database tables and records that OJS is installed. If it reports an error, fix the cause, empty the database and run it again.

Secure the installation

  • Make config.inc.php read-only
  • Confirm the files directory cannot be reached from a browser
  • Set the base URL to the https address and turn on the setting that forces HTTPS
  • Use a separate editor account for daily work, not the site administrator account
  • Review user registration settings and enable the CAPTCHA option to reduce spam registrations
  • Start daily backups of the database and the files directory, and test a restore
  • Plan how you will apply OJS patch releases and server updates

Turn on scheduled tasks

OJS relies on scheduled tasks for review reminders, usage statistics and other background work. Enable scheduled tasks in config.inc.php and add a cron job that runs the OJS scheduled-task tool (tools/runScheduledTasks.php) with command-line PHP at a regular interval, for example hourly. Recent OJS 3.x versions also process background jobs through a job queue; check the documentation for your version on running the job runner or a worker. Without these, the journal looks fine but reminders never go out and statistics stop updating.

Configure email

Sending through the server’s built-in PHP mail is often blocked or marked as spam. Configure SMTP in the email section of config.inc.php with a real mailbox or mail service, using an address on the journal’s domain, and publish SPF, DKIM and DMARC records for that domain. If your mail service rejects messages sent on behalf of authors’ addresses, use the configuration options that make OJS send from a fixed sender address. Then test: register a user, reset a password and send a review request to a test reviewer.

Create and configure your first journal

As site administrator, go to Administration, Hosted Journals and create the journal with its title, abbreviation, path (the part of the URL that identifies it) and languages. Then work through the journal’s settings:

  • Journal: masthead, publisher, contact details, sections and categories. Add the ISSN only once it has been assigned.
  • Website: theme, logo, homepage content, navigation menus and pages for your policies
  • Workflow: submission checklist, author guidelines, review mode, review forms, deadlines and email templates
  • Distribution: licence, DOIs, access model and search indexing
  • Users and roles: editors, section editors, copyeditors, layout editors and reviewers

Before inviting real authors, take a test submission all the way through review, copyediting and production to a published article.

Add plugins carefully

Install plugins from the Plugin Gallery inside OJS, which lists versions released for your installation. Common choices are DOI registration with Crossref, ORCID, Google Scholar metadata, usage statistics, citation formats, a PDF viewer and a custom or child theme. Install only what you need and only plugins maintained for your OJS version; unmaintained plugins are a common cause of problems at upgrade time. For DOIs, see our Crossref DOI registration guide.

Common installation errors

  • Blank page or HTTP 500 error: usually a missing PHP extension or an unsupported PHP version. Read the PHP error log.
  • Uploads fail or the files directory is "not writable": check the path, ownership and permissions.
  • Database connection errors: wrong host or driver, or a user without rights on the database.
  • Garbled characters in names and titles: the database was not created with full Unicode.
  • Large files will not upload: raise upload_max_filesize and post_max_size, and any request-size limit in the web server.
  • Redirect loops or mixed-content warnings after moving to HTTPS: the base URL and HTTPS settings do not match the real address.
  • Emails not arriving: no SMTP, missing SPF or DKIM, or a sender address the mail server rejects.
  • Reminders and statistics never update: scheduled tasks are not running.

When to hand it over

Installing OJS on a test server is a good way to learn it. For a journal that will publish real research, also decide who will apply security patches, run upgrades, keep backups and answer the editor when an email fails. Our done-for-you installation covers the server, secure installation, email, scheduled tasks, journal configuration, plugins, theme and editor training, and we can host and look after the journal afterwards.

For local indexing requirements, see our pages for journals in Africa, Pakistan, Iraq, Malaysia, Indonesia, Bangladesh, Egypt and the Philippines. Still choosing your software? Read how to choose a journal management system.

Step by Step

How to Install OJS 3.x, Step by Step

Follow PKP’s documentation for your exact OJS version alongside these steps.

01

Check the requirements

Confirm the server offers a PHP version and extensions supported by your OJS release, MySQL, MariaDB or PostgreSQL, HTTPS and cron.

Ready server
02

Download OJS

Download the latest stable OJS 3.x release from PKP’s website and extract it into the web directory.

OJS files in place
03

Create the database

Create an empty Unicode database and a dedicated user with rights only on it.

Database ready
04

Create the files directory

Make a folder outside the web root, writable by the web server, for submitted files.

Private file storage
05

Set permissions

Make config.inc.php, public and cache writable by the web server for the installation.

Installer can save settings
06

Run the installer

Open the site in a browser, enter the administrator, language, files directory and database details, and install.

OJS installed
07

Secure it

Make the configuration read-only, force HTTPS, enable CAPTCHA and start daily backups.

Secure installation
08

Set up cron and email

Enable scheduled tasks with a cron job and send mail through SMTP with SPF, DKIM and DMARC.

Reminders and mail working
09

Create the journal

Create the journal, then set the masthead, sections, workflow, review, distribution and users.

Configured journal
10

Add plugins and test

Install plugins for your version, then run a test submission through to publication.

Ready for authors
Secure Installation

Secure OJS Installation Checklist

Check each item before the journal accepts its first real submission.

CheckWhat good looks likeWhy it matters
Files directoryOutside the web root, writable only by the web serverUnpublished manuscripts stay private
Configuration fileRead-only after installationSettings and passwords cannot be changed by an attacker
HTTPSValid certificate, HTTPS forced, base URL uses httpsLogins and personal data are encrypted
Database userDedicated user, rights on the OJS database onlyLimits the damage if credentials leak
Administrator accountStrong password, not used for daily editingProtects the most powerful account
RegistrationsCAPTCHA on, registration settings reviewedKeeps out spam accounts
EmailSMTP with SPF, DKIM and DMARCReviewer and author mail is delivered
Scheduled tasksCron running at a regular intervalReminders and statistics keep working
BackupsDaily database and files backups, restore testedThe journal can be recovered
UpdatesA plan for OJS patch releases and server updatesKnown security issues get fixed

Exact setting names vary between OJS versions. Check PKP’s documentation for the version you install.

Samantha Technologies developer at work

Why Samantha Technologies

One Team for Your Whole Journal

We have built and hosted websites and software since 2007. Our journal team combines publishing know-how with 18+ years of web experience.

18+ Years of Experience

We have delivered 1000+ projects, including journal, university and publisher websites.

Honest Advice

ISSN, DOI, Scopus and indexing bodies make their own decisions. We prepare you properly and never promise what they must decide.

Everything in One Place

Software, website, hosting, design, indexing support and marketing come from one team with one contact.

Support After Launch

Call, email or WhatsApp us, Monday to Saturday, 9:30 AM to 6:30 PM IST. We answer within 2 to 4 business hours.

Get OJS Installed Securely for You

Tell us about your journal and your server, if you have one. We install and configure OJS securely, and quote on scope after a free consultation.

Proof, Not Promises

Real Work Behind Our Journals and Publishing

Live websites and systems our team built, which you can open and check yourself.

18+Years in business
1000+Projects delivered
350+Clients served
9+Countries served

59 live client websites among the 64 projects in our portfolio, including clients in Germany, Bahrain, UAE, Kuwait, UK.

Frequently Asked
Questions

Still have a question?

Talk to our team — the first consultation is free.

Book Free Consultation
A PHP version supported by your OJS release with the required extensions, MySQL or MariaDB or PostgreSQL, a web server such as Apache or Nginx with HTTPS, command-line PHP for scheduled tasks and enough disk space. Requirements change between releases, so check PKP’s current list for your version.
Sometimes. You need to be able to choose the PHP version, create a database, place the files directory outside the web root and run cron jobs. Many shared plans fall short on one of these, which causes problems later.
Because it holds unpublished manuscripts and review files. Outside the web root they cannot be downloaded by URL; OJS serves them only to users who are allowed to see them.
It runs OJS’s scheduled tasks, such as review reminders and usage statistics, and in recent versions helps process background jobs. Without it the journal appears to work, but reminders are never sent.
Usually because mail is sent through the server’s default mail function without SMTP, or the journal’s domain has no SPF, DKIM and DMARC records. Configure SMTP with an address on your domain and publish those records.
The installer runs in minutes on a prepared server. Preparing and securing the server, setting up email and cron, and configuring the journal take longer, and depend mostly on how quickly decisions about sections, policies and design are made.
The software is free and open source. The cost is in hosting and in the time to install, secure, configure and maintain it. We quote for installation on scope after a free consultation.
Yes. We prepare the server or use yours, install OJS securely, set up email, cron, the journal configuration, plugins and theme, and train your editors. We can also host and look after it through our managed OJS hosting.
Journal Publishing

Rather Have OJS
Installed for You?

Tell us about your journal. We install, secure and configure OJS, and quote on scope after a free consultation.

Back to top Call +91 98944 14299 Chat on WhatsApp