Everything is self-contained with the within the archive folder and is able to run directly from that folder. By default, the system is configured like so:
/phire-cms (BASE_PATH) /phire-cms/phire (SYS_PATH) /phire-cms/phire-content (CONTENT_PATH)
You can easily place the system and the content folders in a different location under the BASE_PATH. Upon installation, simply enter that new path data into the install form. You will have to make sure the 'require_once' line is set properly in the system 'index.php' controller file and reflects your new system folder location, for example:
require_once 'YOUR_NEW_SYSTEM_FOLDER/bootstrap.php';
Phire CMS just requires a few easy steps to install. (This example assumes the original folder structure out of the archive file):
One of the strengths of Phire CMS is the ability to install and manage multiple sites from the same admin interface. To install an additional site, simply unzip the included archive file, 'newsite.zip', into the additional site's document root. Follow the instructions in the included README.HTML file.
IMPORTANT! In order for Phire CMS and the multiple site feature to work properly, there must NOT be any directory access restrictions (i.e., PHP's open_basedir flag) between the where Phire CMS is installed and where the additional sites are located.
If you're using Apache, then the '.htaccess' file should take care of everything for you. However, if your server uses another web server platform, such as Microsoft IIS, make sure you have an appropriate rewrite filter or module installed. For Microsoft IIS 7+, there is a URL rewrite filter module included. For Microsoft IIS 6 or lower, we recommend the Ionics Isapi Rewrite Filter. It is open-source, works really well and Phire CMS has been tested for it in the Windows/IIS server environment. You can download it here: http://iirf.codeplex.com/.
No matter what web server or rewrite filter you choose, the end result of the URL rewrite should be:
index.php?query=/original-url - OR - index.php?query=/original-url&other=123 (Maintaining any additional $_GET queries.)
Support is built-in for the following popular WYSIWYG content editors:
Simply download your preferred editor (or both!) and install them to the following folders, respectively:
/phire/core/scripts/ckeditor /phire/core/scripts/tinymce
The system will automatically scan for those folders and activate whichever editor (or editors) you have installed. You will then be able to select a default editor under the configuration control panel or "on-the-fly" as you are editing the content of a page.
CKEditor Issue: If you install CKEditor, you may have to alter the main JS file to allow for scrollbars with in the system's file and image browser window.
Phire CMS is built upon the lightweight, object-oriented PHP library, the Moc10 Library 1.9.7. Because of this, it inherits the same dependencies and requires PHP 5.2.6 or greater in order to fully function. MySQL 5.0 or greater is also required.
Some dependencies for Phire CMS to fully function are as follows:
Most of these extensions and settings are generally included in PHP 5.2.6+, but should there be any issues in any of these areas, please verify that the related extensions are correctly installed and settings are properly configured. Also, PHP's mail function is dependant on whichever mail program is available and correctly installed on the server.
Also, a few settings in the php.ini file may affect or interfere with the performance of Phire CMS if they are not set correctly. Make sure the following php.ini settings are set correctly:
; All database transactions are already escaped and filtered. Any of these being ; set to 'On' could cause an undesired 'double escaping' of the content. magic_quotes_gpc = Off magic_quotes_runtime = Off magic_quotes_sybase = Off ; This will allow the feed component of the CMS to function properly. allow_url_fopen = On ; Obviously, this has to be on to allow the CMS to upload files and images. file_uploads = On ; These settings are more at your discretion, but make sure they are set high ; enough to allow for many larger files, if that is the need. upload_max_filesize = 10M max_file_uploads = 20 post_max_size = 64M ; Not a huge issue, but if this isn't set properly, it can cause some notices ; or warnings to be thrown in certain versions of PHP. date.timezone = America/Chicago
Further contact or comments can be emailed to info@phirecms.org.