How to Install Osclass – Open Source Classifieds Script

OSCLASS is a free, open-source classified script that helps you to create your own site with real estate ads, job listings, car classifieds, rentals, or just about anything you can imagine.

Built using MySQL and PHP technology, but you don’t need to worry as Osclass is fully configurable and has good themes and plugins. Script and basic themes, and plugins used to be free, but it seems they discontinued that. You need to purchase themes and plugins.


Below are some of the features of this script.

  • Payment options
  • Worldwide locations
  • Watermark
  • Alerts
  • Custom Fields
  • Static pages
  • Add categories and subcategories
  • Add your banners
  • Google Maps integrated
  • Publish video ads
  • Choose currency
  • Responsive for mobiles and tablets

Osclass Installation

Below are the step-by-step instructions to install Osclass on localhost. We are using XAMPP, you can use any other Apache distribution like WAMP.


This tutorial assumes a basic working knowledge of the Windows Operating system.

  • Microsoft Windows 8.1/10 32/64 Bit Operating System
  • XAMPP v3.2.2 – Free Apache, MySQL, and PHP Distribution
  • Osclass v3.7.4

1. Download Osclass

Click this link to download Osclass.

At the time of writing this article, the version is Osclass v3.7.4. Below are the minimum requirements.

  • PHP version: 5.6 or newer
  • MySQL database (or access to create one)
  • MySQLi module for PHP
  • GD module for PHP

2. Start XAMPP

Go to the program and start XAMPP to open the control panel. Follow this guide to install XAMPP on Windows or Linux if you don’t have it.

Start Apache and MySQL Service. This is the pre-requisite before starting the installation. Make sure PID(s) and Port(s) are populated and the module name background turns green.

Open PHPMyAdmin and create a MySQL Database and user. Make sure you provide all necessary privileges to the user on the database, else you may get this error … a database server is not available.

3. Begin Installation

Create folder classifieds in C:\xampp\htdocs\ and extract the downloaded file there. You should find below the file structure under C:\xampp\htdocs\classifieds\ folder.

  • oc-admin
  • oc-content
  • oc-include
  • config-sample.php
  • favicon.ico
  • index.php
  • licenses.txt
  • oc-load.php

Open a web browser and enter the URL http://localhost/classifieds/index.php. This starts the installation.

If you get an error “There doesn’t seem to be config.php file. Osclass isn’t installed. Need more help?”, then enter the URL http://localhost/classifieds/oc-includes/osclass/install.php.

The installer does a quick requirement check. If all the requirements have been met, Click the Run the Install button.

osclass install requirement check and welcome

4. Enter database information

On the next screen enter database information. Enter Host, Database Name, Username, Password, and Table Prefix. Table prefix by default is oc_, but if you have multiple installations in the same database, change it to something else.

We already created a database, but if you miss that step. You can create it here. Just check Create DB option and enter the Database Admin username and password.

osclass enter database information

5. Enter Admin and contact details

Enter Admin User, Contact Information, Location, and click next. This is the website admin user and not the database one.

osclass enter target information

Within seconds, it gets installed on your desktop and you get the confirmation message. Click Finish and go to the administration panel button.

osclass installation completed

Enter Admin User Name and password on the next screen. Post authentication you will and on the Admin page. Use this page to configure Listings, Appearance, and Plugins, etc

osclass admin dashboard

Click on Classifieds Site Demo link on the upper left corner to open your site. Here you go, this is your ad listing site with the default setup.

osclass default site

Go ahead and play with Osclass. Let me know if you face any issues and need help.


Osclass is one of the budget scripts available to start your real estate, job website. Go ahead download and install it

I hope you liked this article. Please share and subscribe.