Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
e115b0c8
Commit
e115b0c8
authored
Oct 18, 2013
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated docs, composer.json and other things to mention and use PHP 5.4
parent
c3ba7f6b
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
17 additions
and
18 deletions
+17
-18
README.md
README.md
+1
-1
README.md
apps/advanced/README.md
+1
-1
composer.json
apps/advanced/composer.json
+1
-1
README.md
apps/basic/README.md
+1
-1
composer.json
apps/basic/composer.json
+1
-1
README.md
apps/benchmark/README.md
+1
-1
composer.json
apps/benchmark/composer.json
+1
-1
apps-advanced.md
docs/guide/apps-advanced.md
+1
-1
apps-basic.md
docs/guide/apps-basic.md
+1
-1
installation.md
docs/guide/installation.md
+2
-2
overview.md
docs/guide/overview.md
+1
-1
README.md
framework/README.md
+1
-1
composer.json
framework/composer.json
+1
-1
Connection.php
framework/yii/db/Connection.php
+1
-2
requirements.php
framework/yii/requirements/requirements.php
+2
-2
No files found.
README.md
View file @
e115b0c8
...
...
@@ -33,7 +33,7 @@ DIRECTORY STRUCTURE
REQUIREMENTS
------------
The minimum requirement by Yii is that your Web server supports PHP 5.
3.?
.
The minimum requirement by Yii is that your Web server supports PHP 5.
4
.
DOCUMENTATION
...
...
apps/advanced/README.md
View file @
e115b0c8
...
...
@@ -52,7 +52,7 @@ environments/ contains environment-based overrides
REQUIREMENTS
------------
The minimum requirement by Yii is that your Web server supports PHP 5.
3.?
.
The minimum requirement by Yii is that your Web server supports PHP 5.
4.0
.
In order for captcha to work you need either GD2 extension or ImageMagick PHP extension.
...
...
apps/advanced/composer.json
View file @
e115b0c8
...
...
@@ -14,7 +14,7 @@
},
"minimum-stability"
:
"dev"
,
"require"
:
{
"php"
:
">=5.
3
.0"
,
"php"
:
">=5.
4
.0"
,
"yiisoft/yii2"
:
"dev-master"
,
"yiisoft/yii2-composer"
:
"dev-master"
},
...
...
apps/basic/README.md
View file @
e115b0c8
...
...
@@ -31,7 +31,7 @@ DIRECTORY STRUCTURE
REQUIREMENTS
------------
The minimum requirement by Yii is that your Web server supports PHP 5.
3.?
.
The minimum requirement by Yii is that your Web server supports PHP 5.
4.0
.
In order for captcha to work you need either GD2 extension or ImageMagick PHP extension.
...
...
apps/basic/composer.json
View file @
e115b0c8
...
...
@@ -14,7 +14,7 @@
},
"minimum-stability"
:
"dev"
,
"require"
:
{
"php"
:
">=5.
3
.0"
,
"php"
:
">=5.
4
.0"
,
"yiisoft/yii2"
:
"dev-master"
,
"yiisoft/yii2-composer"
:
"dev-master"
},
...
...
apps/benchmark/README.md
View file @
e115b0c8
...
...
@@ -27,7 +27,7 @@ DIRECTORY STRUCTURE
REQUIREMENTS
------------
The minimum requirement by Yii is that your Web server supports PHP 5.
3.?
.
The minimum requirement by Yii is that your Web server supports PHP 5.
4.0
.
INSTALLATION
...
...
apps/benchmark/composer.json
View file @
e115b0c8
...
...
@@ -17,7 +17,7 @@
},
"minimum-stability"
:
"dev"
,
"require"
:
{
"php"
:
">=5.
3
.0"
,
"php"
:
">=5.
4
.0"
,
"yiisoft/yii2"
:
"dev-master"
}
}
docs/guide/apps-advanced.md
View file @
e115b0c8
...
...
@@ -138,7 +138,7 @@ directory:
},
"minimum-stability"
:
"dev"
,
"require"
:
{
"php"
:
">=5.
3
.0"
,
"php"
:
">=5.
4
.0"
,
"yiisoft/yii2"
:
"dev-master"
,
"yiisoft/yii2-composer"
:
"dev-master"
},
...
...
docs/guide/apps-basic.md
View file @
e115b0c8
...
...
@@ -128,7 +128,7 @@ directory:
},
"minimum-stability"
:
"dev"
,
"require"
:
{
"php"
:
">=5.
3
.0"
,
"php"
:
">=5.
4
.0"
,
"yiisoft/yii2"
:
"dev-master"
,
"yiisoft/yii2-composer"
:
"dev-master"
},
...
...
docs/guide/installation.md
View file @
e115b0c8
...
...
@@ -48,10 +48,10 @@ script via the following URL in a Web browser:
http://hostname/path/to/yii/requirements/index.php
~~~
Yii requires PHP 5.
3.7, so the server must have PHP 5.3.7
or above installed and
Yii requires PHP 5.
4.0, so the server must have PHP 5.4.0
or above installed and
available to the web server. Yii has been tested with
[
Apache HTTP server
](
http://httpd.apache.org/
)
on Windows and Linux. It may also run on other Web servers and platforms,
provided PHP 5.
3
is supported.
provided PHP 5.
4
is supported.
Recommended Apache Configuration
...
...
docs/guide/overview.md
View file @
e115b0c8
...
...
@@ -11,7 +11,7 @@ Requirements
------------
To run a Yii-powered Web application, you need a Web server that supports
PHP 5.
3.?
or greater.
PHP 5.
4.0
or greater.
For developers who want to use Yii, understanding object-oriented
programming (OOP) is very helpful, because Yii is a pure OOP framework.
...
...
framework/README.md
View file @
e115b0c8
...
...
@@ -16,6 +16,6 @@ without prior notices. **Yii 2.0 is not ready for production use yet.**
REQUIREMENTS
------------
The minimum requirement by Yii is that your Web server supports PHP 5.
3.?
.
The minimum requirement by Yii is that your Web server supports PHP 5.
4.0
.
framework/composer.json
View file @
e115b0c8
...
...
@@ -64,7 +64,7 @@
"source"
:
"https://github.com/yiisoft/yii2"
},
"require"
:
{
"php"
:
">=5.
3.7
"
,
"php"
:
">=5.
4.0
"
,
"ext-mbstring"
:
"*"
,
"lib-pcre"
:
"*"
,
"phpspec/php-diff"
:
"1.0.*"
,
...
...
framework/yii/db/Connection.php
View file @
e115b0c8
...
...
@@ -205,8 +205,7 @@ class Connection extends Component
* as specified by the database.
*
* Note that if you're using GBK or BIG5 then it's highly recommended to
* update to PHP 5.3.6+ and to specify charset via DSN like
* 'mysql:dbname=mydatabase;host=127.0.0.1;charset=GBK;'.
* specify charset via DSN like 'mysql:dbname=mydatabase;host=127.0.0.1;charset=GBK;'.
*/
public
$charset
;
/**
...
...
framework/yii/requirements/requirements.php
View file @
e115b0c8
...
...
@@ -9,9 +9,9 @@ return array(
array
(
'name'
=>
'PHP version'
,
'mandatory'
=>
true
,
'condition'
=>
version_compare
(
PHP_VERSION
,
'5.
3.7
'
,
'>='
),
'condition'
=>
version_compare
(
PHP_VERSION
,
'5.
4.0
'
,
'>='
),
'by'
=>
'<a href="http://www.yiiframework.com">Yii Framework</a>'
,
'memo'
=>
'PHP 5.
3.7
or higher is required.'
,
'memo'
=>
'PHP 5.
4.0
or higher is required.'
,
),
array
(
'name'
=>
'Reflection extension'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment