StaticFAQ - Lightweight Database-Free PHP FAQStaticFAQ - Lightweight Database-Free PHP FAQ
A self-hosted FAQ accordion for PHP sites. No database, no framework - one include and one function call to embed anywhere. Recently UpdatedStaticFAQ - Lightweight Database-Free PHP FAQ
A self-hosted FAQ accordion for PHP sites. No database, no framework - one include and one functi...
Overview
StaticFAQ is a self-hosted FAQ accordion for PHP websites. It stores everything in a flat JSON file, so there is no database to set up and nothing to configure on the server beyond uploading the files.
Add it to any PHP page with a single include and one function call. The admin dashboard lets you add, edit and delete questions, switch between light, dark and soft styles, pick your own accent color, and run more than one separate FAQ on different pages.
It runs on standard shared hosting cPanel, DirectAdmin and Plesk and needs only PHP 7.4 or higher. A one-time installer sets your password and removes itself when finished. A compatibility checker is included so you can confirm your hosting works before you buy.
Every FAQ automatically outputs Google-ready FAQPage structured data, so your questions can appear as rich results in search.
Features
- Flat JSON file storage - no database required
- One include and one function call to embed on any PHP page
- Run multiple separate FAQ sets on different pages
- Light, dark and soft styles with a custom accent color
- Google FAQPage structured data built in
- One-time installer that removes itself after setup
- Secure admin login with hashed passwords and CSRF protection
- Automatic backups of your last five versions
- Compatibility checker included
- Works on shared hosting - cPanel, DirectAdmin, Plesk
- No framework, no Composer, no build step
Requirements
- PHP 7.4 or higher
- A folder on your server that PHP can write to
- No database, no Composer, no Node, no build step
Instructions
1. Upload all files to a folder on your server - any folder name works.
2. Open install.php in your browser and set your admin password. The installer removes itself when done.
3. Add your questions from the dashboard.
4. To show the FAQ on a page, copy the include snippet from the dashboard into any PHP page. A ready-made example-embed.php is included to copy from.
Full documentation is included in the download.
Other items by this author
| Category | Scripts & Code / PHP Scripts / Help Desk |
| First release | 4 July 2026 |
| Last update | 4 July 2026 |
| Files included | .php, .css, .html, Javascript .js |
| Tags | php, accordion, no database, shared hosting, Faq, flat file, json storage, self hosted, faq schema, structured data, faq accordion, faq script, php faq, faq page, faq widget |








