Deploying a dual-runtime bridge onto a live Perfex CRM instance fails most often when file permissions, PHP extensions, or web server rewrite rules are guessed during installation. This DevOps runbook gives administrators a repeatable checklist to install, configure, and verify IgniteCore on Perfex CRM Classic in under ten minutes, ensuring clean CI4 front-controller routing, intact legacy CI3 URLs, and a tested one-step rollback path.
Want to understand the routing internals first? Read our Strangler Fig CI3-to-CI4 bridge architecture guide.
| Requirement | Minimum Baseline | Production Recommendation |
|---|---|---|
| PHP Version | PHP 8.1+ | PHP 8.2 or 8.3 with OPcache enabled |
| Required Extensions | intl, mbstring, json, mysqli | Add curl, zip, gd or imagick |
| Perfex CRM Core | Perfex Classic 3.0+ | Latest Perfex Classic 3.2+ release |
| Web Server | Apache with mod_rewrite | OpenLiteSpeed, LiteSpeed, or Nginx rewrite rules |
| Writable Storage | modules/ignitecore/writable/ (0755) | Dedicated non-public log and cache rotation |
1. Run Preflight Checks and Upload IgniteCore
Before uploading the archive, take a quick snapshot of your Perfex database and root .htaccess file. Verify that PHP intl and mbstring extensions are active, because CodeIgniter 4 requires both for locale formatting and string handling. Once verified, upload the module via Perfex’s native Setup -> Modules installer and activate it cleanly.
- Confirm
php -mlistsintlandmbstringfor both the web SAPI (FPM/OLS) and CLI binary. - Ensure
modules/ignitecore/writable/cache,logs, andsessiondirectories are owned by the web server user. - Verify
APP_BASE_URLinapplication/config/app-config.phpmatches your exact HTTPS domain without trailing typos.
2. Configure Routing Rules and Verify Runtime Parity
IgniteCore ships a lightweight rewrite snippet for Apache/OpenLiteSpeed .htaccess and an equivalent location block for Nginx so /ignite/* requests dispatch straight to CI4. After applying the rule, open IgniteCore’s Diagnostics Dashboard to confirm session sharing, database prefix detection, and CI3 vs CI4 endpoint response benchmarks.
- Place IgniteCore rewrite conditions above Perfex’s generic
index.phprewrite rule in.htaccess. - Test one legacy CI3 admin page and one
/ignite/healthJSON probe to confirm both returnHTTP 200. - Enable Auto-Quarantine Guard inside IgniteCore Settings immediately after confirming clean module discovery.
Common Pitfalls and Quick Fixes
404 Not Foundon/ignite/*endpoints under Nginx: Add the documentedtry_filesblock for/ignite/inside your Nginxserverconfig and reload Nginx (nginx -s reload).HTTP 500right after activation on shared hosting: Checkmodules/ignitecore/writable/logs/first; 90% of initial errors trace to missingphp-intlor un-writablecache/permissions.- OpenLiteSpeed ignoring updated
.htaccessrules: Restart OpenLiteSpeed (systemctl restart lsws) or purge cache via CyberPanel so updated rewrite directives load into memory.
Frequently Asked Questions
Do I need SSH or Composer CLI access on the server to install IgniteCore?
No. IgniteCore ships with pre-packaged production vendor dependencies inside the module archive, so administrators can upload and activate it directly through the Perfex CRM Setup Modules interface just like any standard module without needing SSH access or running Composer commands on production.
Does IgniteCore overwrite my existing Perfex .htaccess customizations?
No. IgniteCore never overwrites your root .htaccess file blindly without a backup. Its installer checks for existing rewrite rules, provides an exact copy-paste snippet with live preview, and supports a clean one-click revert if you ever need to remove the bridge.
How do I verify IgniteCore is using the right Perfex database prefix?
Open the IgniteCore Diagnostics tab in the Perfex admin panel. It displays the detected APP_DB_PREFIX (typically tbl), active MySQL driver, PHP extensions, and live connection latency, confirming automatically that CI4 models point directly to your exact production database tables.
What is the rollback procedure if we need to uninstall IgniteCore?
Deactivate IgniteCore in Perfex’s Modules screen and remove the two-line /ignite/ rewrite rule from your .htaccess or Nginx server config. All dual-mode modules automatically revert to CI3 fallback mode, and no core Perfex database tables or system files are altered.

Leave a Reply