mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-02 19:27:52 +02:00
Minimum php is 5.3 #333
This commit is contained in:
@@ -3,7 +3,7 @@ Monstra is a modern and lightweight Content Management System.
|
|||||||
|
|
||||||
## System Requirements
|
## System Requirements
|
||||||
Operation system: Unix, Linux, Windows, Mac OS
|
Operation system: Unix, Linux, Windows, Mac OS
|
||||||
Middleware: PHP 5.2.3 or higher with PHP's [SimpleXML module](http://php.net/simplexml) and [Multibyte String module](http://php.net/mbstring)
|
Middleware: PHP 5.3.0 or higher with PHP's [SimpleXML module](http://php.net/simplexml) and [Multibyte String module](http://php.net/mbstring)
|
||||||
Webserver: Apache with [Mod Rewrite](http://httpd.apache.org/docs/current/mod/mod_rewrite.html) or Ngnix with [Rewrite Module](http://wiki.nginx.org/HttpRewriteModule)
|
Webserver: Apache with [Mod Rewrite](http://httpd.apache.org/docs/current/mod/mod_rewrite.html) or Ngnix with [Rewrite Module](http://wiki.nginx.org/HttpRewriteModule)
|
||||||
|
|
||||||
## Steps to Install
|
## Steps to Install
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
<?php defined('MONSTRA_ACCESS') or die('No direct script access.');
|
<?php defined('MONSTRA_ACCESS') or die('No direct script access.');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monstra requires PHP 5.2.3 or greater
|
* Monstra requires PHP 5.3.0 or greater
|
||||||
*/
|
*/
|
||||||
if (version_compare(PHP_VERSION, "5.2.3", "<")) {
|
if (version_compare(PHP_VERSION, "5.3.0", "<")) {
|
||||||
exit("Monstra requires PHP 5.2.3 or greater.");
|
exit("Monstra requires PHP 5.3.0 or greater.");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user