ImpressPages CMS on FreeBSD: Project Status and a Maintained Alternative
ImpressPages 5.0 has had no release since 2017 and predates PHP 8. Here is the project's status and a maintained CMS you can install from FreeBSD packages.
ImpressPages was an open-source PHP content management system known for its inline, drag-and-drop page editor. Version 5.0 was popular on small FAMP servers (FreeBSD, Apache, MariaDB, PHP). It is not a sensible choice for a new site today: development stopped years ago and the code predates PHP 8. This page sets out the project's status and shows how to install a maintained CMS from packages on FreeBSD 15.1, the current release.
Project status
- The last tagged release is ImpressPages 5.0.3, published on Packagist in July 2017.
- The last commit on the main branch of the GitHub repository dates from April 2018. The repository is not formally archived, and the project website is still online, but no release has followed.
- The package declares
php >=5.5.0and depends on Zend Framework 2 components and a PHPMailer 5.2 release, all of which are themselves no longer maintained upstream. - Requests for PHP 8 support have been open in the issue tracker since 2023 without a release that addresses them.
The platform it was usually installed on has moved on as well. FreeBSD 11 reached end of life in 2021 and PHP 7.1 in 2019. The FreeBSD ports tree now offers PHP 8.2 and newer only, so a current FreeBSD system has no PHP version that ImpressPages 5.0 was written for.
If you still run an ImpressPages site
Treat it as legacy software that needs to be retired rather than upgraded in place:
- Do not move it to a new server with a newer PHP and expect it to work; test on a copy first.
- Take a database dump and a copy of the
filedirectory (uploaded images and documents) before you change anything. - Until you migrate, put the admin login behind HTTP authentication or an IP allowlist, since the application no longer receives security fixes.
- For a small brochure site, the simplest exit is to save the rendered pages as static HTML and serve those while you rebuild the site in a maintained CMS.
A maintained alternative on FreeBSD 15
No actively developed fork of ImpressPages exists. For the same use case, a small site whose pages are edited visually in the browser, WordPress with its block editor is the closest maintained option that FreeBSD packages directly, and the package is updated regularly. The steps below are run as root.
Install the packages
pkg update
pkg install wordpress
The package installs the application to /usr/local/www/wordpress, owned by the www user, and pulls in PHP with the extensions WordPress needs. Check which PHP branch was installed, because the Apache module must match it:
pkg info -d wordpress | grep php
Then install Apache, the matching PHP module and MariaDB. With PHP 8.5, the default in the ports tree at the time of writing, that is:
pkg install apache24 mod_php85 mariadb118-server
If pkg reports that a name does not exist, list what your repository offers with pkg search mod_php and pkg search -x 'mariadb.*-server'.
Create the database
sysrc mysql_enable=YES
service mysql-server start
mariadb-secure-installation
mariadb -u root -p
CREATE DATABASE wordpress;
CREATE USER 'wpuser'@'localhost' IDENTIFIED BY 'choose-a-strong-password';
GRANT ALL PRIVILEGES ON wordpress.* TO 'wpuser'@'localhost';
EXIT;
Point Apache at WordPress
Create /usr/local/etc/apache24/Includes/wordpress.conf:
DocumentRoot "/usr/local/www/wordpress"
DirectoryIndex index.php index.html
<Directory "/usr/local/www/wordpress">
AllowOverride All
Require all granted
</Directory>
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
Enable mod_rewrite by removing the # in front of the LoadModule rewrite_module line in /usr/local/etc/apache24/httpd.conf, then give PHP a production configuration and start Apache:
cp /usr/local/etc/php.ini-production /usr/local/etc/php.ini
sysrc apache24_enable=YES
service apache24 start
Finish in the browser
As the package message says, copy the sample configuration and enter the database name, user and password you created:
cd /usr/local/www/wordpress
cp wp-config-sample.php wp-config.php
chown www:www wp-config.php
vi wp-config.php
Open http://203.0.113.10/ (your server's address or domain) and complete the WordPress installer. Add a TLS certificate before you log in over the public internet, and keep the system current with pkg upgrade. Background on packages and services is in the FreeBSD Handbook.
Frequently asked questions
Can I import ImpressPages content into another CMS?
There is no ready-made importer. ImpressPages stores page content as widgets in its MySQL database, so a migration is normally done by copying the text of each page into the new system and re-uploading the images from the file directory. For more than a few dozen pages, exporting the rendered HTML and importing that is less work than reading the database tables.
Is there an editor closer to ImpressPages' drag-and-drop style?
Several maintained PHP systems offer in-page editing, for example Concrete CMS and Grav with its admin plugin. They are not in every package repository, so installation means downloading the release from the project and checking its PHP requirements against the version on your server.
Why not install an old PHP from an archive to keep ImpressPages running?
You would be running an unsupported interpreter under an unsupported application on a public server. Neither receives security fixes, and old PHP branches no longer build cleanly against the libraries of a current FreeBSD release. The time is better spent on the migration.