selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Serendipity logo

Self-host Serendipity

2.6.1

PHP-powered weblog engine for self-hosted blogging

ReleaseOpen SourceBSD-3-Clause
Updated12 hours ago
LanguagePHP
Setup difficultyModerate
Stars
229
Serendipity screenshot 1

What is Serendipity?

Serendipity is a PHP weblog engine you install on your own web server. It targets casual bloggers but scales to professional use through a plugin system and theme engine. Core features include a WYSIWYG editor, media library, trackback and pingback support, categories, user groups, and built-in anti-spam. The Spartacus repository delivers additional plugins for static pages, tags, Markdown, XML-RPC publishing, and email-to-post workflows. It runs on Apache, IIS, or Lighttpd with PHP 7.3+ and a MySQL, PostgreSQL, or SQLite database. The project has shipped stable releases since 2002 and is licensed under BSD-3-Clause.

Should you self-host Serendipity?

Serendipity scores 53/100 on selfhost.directory (how scoring works) and ranks #7 of 24 in Blogging. It has 229 GitHub stars.

It shipped 2 stable releases in the past year. The latest, 2.6.1, came out on 22 July 2026. New versions land roughly every 3 months.

Setup is moderate: expect some configuration beyond a single command. It is BSD-3-Clause-licensed and written mostly in PHP.

Its closest alternative on selfhost.directory is Typecho (66/100, 12 457 stars). It scores higher overall, so compare the two before you pick. See Serendipity vs Typecho side by side.

Features

  • Anti-spam measures
  • Blog editor
  • Categories
  • Email posting (via plugin)Requires POPfetcher plugin
  • Markdown and Textile (via plugin)Requires plugin installation
  • Media Library
  • Multi-language Support
  • Plugin Management
  • Static pages (via plugin)Requires plugin installation
  • Tags (via plugin)Requires plugin installation
  • Theme System
  • Trackbacks and pingbacks
  • User and Group Management
  • XML-RPC APIRequires XML-RPC plugin

Serendipity README

How to configure Serendipity

  • .htaccessApache configuration file for URL rewriting and security, created during installation

    Apache configuration file for URL rewriting and security, created during installation

  • serendipity_config_local.inc.phpMain configuration file created during installation, contains database credentials and core settings

    Main configuration file created during installation, contains database credentials and core settings

Serendipity releases & version history

FAQ

How do I fight spam in Serendipity?

Use the anti-spam trinity: core Spamblock plugin with multiple measures, Spamblock-Bee with honeypot and hidden captcha, and Spamblock-bayes for local learning spam filtering.

How can my users subscribe to entry comments?

Users can subscribe by leaving their email when commenting, or use the comments RSS feed by adding a feed link to the template.

What is Spartacus and how do I install it?

Spartacus is the online plugin repository and its client plugin. Install it via the admin plugin manager by clicking 'Click here to install event plugins' and installing the Spartacus plugin.

How can I move an existing Serendipity installation to a different server or path?

Copy all files including .htaccess and config, migrate the database via SQL dump, adjust permissions, update database credentials and paths in config files.

How do I upgrade Serendipity?

Backup your installation and database, extract new release files over the old directory (keeping serendipity_config_local.inc.php), then run the upgrader from the admin panel.

What are the file permissions required to run Serendipity?

The core directory needs to be writable (775 or 777) during installation for .htaccess and config file creation. The templates_c, archives, and uploads directories must be permanently writable. If using Spartacus, plugins and templates directories also need write access.

How do I install Serendipity?

Download the release archive, unpack it in your document root, make the directory writable by the web server, and open it in a browser to run the installer.

What system requirements does Serendipity have?

PHP 7.4 or newer with MySQL, PostgreSQL, or SQLite, Apache web server, and either ImageMagick or GD2 for image processing.

What does "s9y" mean?

s9y is an abbreviation of Serendipity, similar to how i18n abbreviates Internationalization.

Where does the name Serendipity originate from?

The name comes from 'Manufactured Serendipity', an essay by Sam Ruby, and the character Serendipity played by Selma Hayek in the movie Dogma.

More in Blogging

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…