Difference between revisions of "Recommended configuration"
From CMC for PHP
(Created page with "CMC for PHP is designed to require a minimum requirements. As it is object oriented and uses modern syntax, it requires PHP 5.3 at least. PHP 5.5 is recommended. The curren...") |
(No difference)
|
Latest revision as of 22:05, 5 August 2014
CMC for PHP is designed to require a minimum requirements.
As it is object oriented and uses modern syntax, it requires PHP 5.3 at least. PHP 5.5 is recommended.
The current release needs the following:
- a web server. Currently only Apache is tested (version 2.4)
- PHP engine:
- version >= 5.3
- mysqlnd over mysqli module (except if no database connection is needed)
Apache configuration
Apache configuration is minimal. A mod_rewrite module is recommended, and here is a sample of rewrite options that can be used:
Options +FollowSymLinks
Allow from all
DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !(index.php/*|images/*|img/*|style/*|mp4|webm|css|js|ico|txt)
RewriteRule ^(.*) index.php/$1 [L]
</IfModule>
Don't remember to replace with the appropriate index name you want to use.
PHP configuration
If you want to make an application (not just a web site) you will need to enable PHP session management. There is no special other recommendation that are not the general recommendation (avoid obsolete directives, etc.)