Back to Documentation
September - PHP Movie & Serie Watch Script

Installation

Requirements

  • PHP 8.3 or newer
  • MySQL 8 or newer (MariaDB is also supported)
  • PHP extensions: pdo, pdo_mysql, mbstring, openssl, curl, gd, fileinfo, json
  • Apache (mod_rewrite) or nginx; on shared hosting, cPanel is enough
  • Composer on the server, if the package does not include the vendor/ folder

The installer checks the PHP version and extensions in its first step and lists anything missing before you continue.

1. Upload the files

  1. Extract the package and upload all files to your server.
  2. If there is no vendor/ folder, run composer install in the project root.
  3. Point your domain's document root to the public/ folder. The project root must never be served directly. See the Server configuration page for details.
  4. Make storage/ and content/uploads/ writable (755 or 775).

2. Installation wizard

Open your site address in a browser and the wizard starts automatically (/install/step1). The steps are:

  1. Requirements check: PHP version and extensions.
  2. Database connection: the connection is tested, and the database can be created automatically if it does not exist (the database user needs the CREATE DATABASE privilege).
  3. Site details: site name, URL and language.
  4. Administrator account: the account you will use to sign in to the admin panel.
  5. Install: database tables and base data are created.

When installation finishes, the file storage/app/installed.lock is created and the site starts working normally.

Important: installation resets the selected database. Do not choose a database that already holds data. To run the installer again, delete storage/app/installed.lock. Note that this resets the database again too.

Command-line installation (optional)

If you have SSH access, you can use the command line instead of the wizard:

composer install
cp .env.example .env
php september key:generate

Set your site URL and database details in .env:

APP_URL=https://yourdomain.com
DB_DATABASE=database_name
DB_USERNAME=database_user
DB_PASSWORD=your_password

Then create the tables and lock the installation:

php september migrate:fresh --seed
touch storage/app/installed.lock
  • Do not forget to create installed.lock, or the site will stay in installation mode.
  • This method creates sample admin and member accounts. On a live site, change their passwords right away or delete them.
  • On a live site, APP_URL must start with https://. The secure flag on session and "remember me" cookies depends on it.

Shared hosting (cPanel)

No SSH or nginx configuration is needed; the control panel is enough.

  1. Upload the project together with its vendor/ folder.
  2. In cPanel → Domains, set the Document Root of your domain (or subdomain) to .../september/public. It must be the public folder.
  3. Make storage/ and content/uploads/ writable (755/775).
  4. Make sure APP_URL in .env is your real site address.

Scheduled content

You do not need to set up a cron job. Content scheduled for a later date is published automatically on incoming site requests (at most once per minute). If you prefer, you can add a real cron job on your server that runs this command regularly:

php september publish:due