Home - slackero/phpwcms GitHub Wiki
Welcome to the phpwcms wiki!
phpwcms is a fast, flexible and developer-friendly open source CMS and CMS framework running on PHP and MySQL/MariaDB. These pages collect HowTos that go beyond the manual β the current reference documentation ships inside the repository under docs/.
Quick links
- Website β phpwcms.org
- Support forum β forum.phpwcms.org
- Releases β github.com/slackero/phpwcms/releases
- Changelog β
CHANGELOG.md - Security policy β
SECURITY.md - PHP requirements β
docs/requirements - Installing and updating β
docs/installation
Documentation (phpwcms 2.x)
The complete reference manual ships with the source in docs/. It covers the current branch only. Start at docs/index.md, or browse the section indexes below β every single page is listed in docs/llms.txt.
- General β core concepts, URL handling
- Requirements β system requirements: server, PHP, database and extensions
- Installation and updates β fresh installation, setup wizard, Docker, updating, configuration file
- Administration β admin panel, users and usergroups, file storage, SEO settings, cache and performance, image processing, whitelabel branding
- Backend β overview, structure tree, articles, files and file center, messaging, profile
- Frontend β page rendering, frontend scripts, deprecated tags, RSS feeds, and the replacement tag reference (
NAV_LIST_UL,SHOW_CONTENT, meta, date/time, login, RSS, functions) - Templates β template system, layout tags, template editor, default templates, assets and libs
- Content parts β all 37 content part types
- Modules β all shipped modules: shop, calendar, newsletter, ads, feed import, addresses, SEO log, statistics, glossary
Older documentation (phpwcms 1.x)
These community sites predate the documentation that ships with phpwcms 2.x. They still help with legacy 1.x installations, but they do not describe current releases:
- docu.phpwcms.org β German language documentation site, covering phpwcms up to 1.7.x, last updated in 2015
- wiki.phpwcms.org β snapshot of the former community HowTo wiki
- yaml.phpwcms.org β βyamlitβ, step-by-step tutorials for building phpwcms templates on the YAML CSS framework (YAML 3.1 era)
The support forum at forum.phpwcms.org is still active and is the place to ask about any phpwcms version.
Versions and PHP
| phpwcms | GitHub branch | PHP |
|---|---|---|
| 2.0.x (beta, 2.0.0-beta.2) | v2-dev |
8.4 or newer |
| 1.12.x (stable, 1.12.5) | master, v1.10-dev |
8.2 or newer |
| 1.9.x (legacy, 1.9.51) | v1.9-dev, phpwcms-legacy |
7.4 or newer |
Details, including what to watch when moving an old installation to a newer PHP, are on Updating PHP.
Recent releases
- 2026-11-01 β 2.0.0-beta.2 (prerelease): raises the runtime baseline to PHP 8.4, fixes form file size/max persistence, article content part type on form submit, file usage detection in custom fields, and the revision engine.
- 2026-11-01 β 1.12.5: the revision engine runs every pending revision instead of only the newest one (an upgrade from 1.9.50 could skip r554 and hide all articles), drops the obsolete
sysvalue_tstampcolumn and thephpwcms_bad_behaviortable, plus dependency updates. - 2026-11-01 β 1.9.51: the same revision engine fix for the PHP 7.4 legacy line, plus dependency updates.
- 2026-10-03 β 1.12.4 / 1.9.50 / 2.0.0-beta.1: security releases fixing CVE-2026-110025 (unauthenticated
.phtmlupload leading to remote code execution) together with the 2026-09 audit findings. Run 1.9.51+, 1.12.5+ or 2.0.0-beta.2+ β every older version is affected.
Full history: CHANGELOG.md and the release notes.
Installing phpwcms
- Place the phpwcms files in your web server's document root.
- Installing from Git requires the Composer dependencies:
composer install(PHP 8.4 for 2.x, PHP 8.2 for 1.12.x). Release archives already shipinclude/vendor/. - Open
http://your-domain.com/setup/and follow the setup wizard to configure the database and your administrator account. - Remove or protect the
/setupfolder afterwards, and use the shipped server config as a starting point:_.htaccess(Apache),nginx.conf(Nginx) orweb.config(IIS).
Full walkthrough: docs/installation.
Updating an existing installation
Back up the database and the files (include/config/conf.inc.php, template/, filearchive/, content/images/, content/tmp/) to a location off the web server before you start.
- phpwcms 2.0.0 and newer: Admin β System Update (
phpwcms.php?do=admin&p=18). - Older installations and 1.x migrations: run
setup/upgrade.phpfrom the command line or in the browser.
Both paths need PHP 8.4 or newer for 2.x, or PHP 8.2 for 1.12.x. See Updating PHP and docs/installation/updating.md.
Wiki pages
These pages apply to current phpwcms releases:
- Updating PHP β supported PHP versions per branch, and what to watch when moving an installation to a newer PHP
- Reserved aliases β alias names phpwcms blocks, how a collision is renamed per target type, and how to extend the list
- Content Parts β content part IDs and backend labels, how the part stack renders, with a link to the reference page of every type
- CKEditor Configuration β adjusting the legacy CKEditor 4 backend editor; phpwcms 2.x ships TinyMCE 8 as the default editor
These pages only describe phpwcms 1.x and are kept for legacy installations:
- Cannot redeclare boolval() with PHP5.5 β fatal
boolval()collision when moving an old installation to PHP 5.5 - WYSIWYG images empty β missing editor images after a PHP 5.5/5.6 upgrade
- Update PHP to version 5.5 or 5.6 β former PHP upgrade page, now a pointer to Updating PHP