
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.
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
- Check the server requirements
- Download OJS from PKP
- Create the database
- Create the files directory outside the web root
- Prepare the configuration file
- Run the web installer
- Secure the installation
- Turn on scheduled tasks
- Configure email
- Create and configure your first journal
- Add plugins carefully
- Common installation errors
- When to hand it over
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.
How to Install OJS 3.x, Step by Step
Follow PKP’s documentation for your exact OJS version alongside these steps.
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 serverDownload OJS
Download the latest stable OJS 3.x release from PKP’s website and extract it into the web directory.
OJS files in placeCreate the database
Create an empty Unicode database and a dedicated user with rights only on it.
Database readyCreate the files directory
Make a folder outside the web root, writable by the web server, for submitted files.
Private file storageSet permissions
Make config.inc.php, public and cache writable by the web server for the installation.
Installer can save settingsRun the installer
Open the site in a browser, enter the administrator, language, files directory and database details, and install.
OJS installedSecure it
Make the configuration read-only, force HTTPS, enable CAPTCHA and start daily backups.
Secure installationSet up cron and email
Enable scheduled tasks with a cron job and send mail through SMTP with SPF, DKIM and DMARC.
Reminders and mail workingCreate the journal
Create the journal, then set the masthead, sections, workflow, review, distribution and users.
Configured journalAdd plugins and test
Install plugins for your version, then run a test submission through to publication.
Ready for authorsSecure OJS Installation Checklist
Check each item before the journal accepts its first real submission.
| Check | What good looks like | Why it matters |
|---|---|---|
| Files directory | Outside the web root, writable only by the web server | Unpublished manuscripts stay private |
| Configuration file | Read-only after installation | Settings and passwords cannot be changed by an attacker |
| HTTPS | Valid certificate, HTTPS forced, base URL uses https | Logins and personal data are encrypted |
| Database user | Dedicated user, rights on the OJS database only | Limits the damage if credentials leak |
| Administrator account | Strong password, not used for daily editing | Protects the most powerful account |
| Registrations | CAPTCHA on, registration settings reviewed | Keeps out spam accounts |
| SMTP with SPF, DKIM and DMARC | Reviewer and author mail is delivered | |
| Scheduled tasks | Cron running at a regular interval | Reminders and statistics keep working |
| Backups | Daily database and files backups, restore tested | The journal can be recovered |
| Updates | A plan for OJS patch releases and server updates | Known security issues get fixed |
Exact setting names vary between OJS versions. Check PKP’s documentation for the version you install.

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.
Real Work Behind Our Journals and Publishing
Live websites and systems our team built, which you can open and check yourself.




59 live client websites among the 64 projects in our portfolio, including clients in Germany, Bahrain, UAE, Kuwait, UK.
Frequently Asked
Questions
More Journal Guides
Related Journal Services
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.