Skip to content

Commit 090f459

Browse files
committed
Merge branch 'feature/v3.5.0' into develop
2 parents ab76276 + 6389859 commit 090f459

30 files changed

+1714
-184
lines changed
File renamed without changes.

.github/ISSUE_TEMPLATE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Please attach the output of following command when open a new support request.
2+
3+
- [ ] lsb_release -a
4+
- [ ] ee -v
5+
- [ ] ee info
6+
- [ ] wp --allow-root --info

CHANGELOG.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
v3.5.0 - Feb 24, 2016
2+
- Added PHP 7.0 support for Ubuntu(Trusty)
3+
- Dual support for PHP 5.6 + PHP 7.0
4+
- Fixed minor issues
5+
16
v3.4.1 - Jan 20, 2016
27
- Fixed and update ee stack install --nginx/--nginxmainline
38
- Fixed --letsencrypt minor issues

config/bash_completion.d/ee_auto.rc

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ _ee_complete()
2929
# IF YOU HAD ANOTHER CONTROLLER, YOU'D HANDLE THAT HERE
3030
"debug")
3131
COMPREPLY=( $(compgen \
32-
-W "$(command find /etc/nginx/sites-enabled/ -type l -printf "%P " 2> /dev/null) --nginx --php --fpm --mysql -i --interactive --all --import-slow-log --import-slow-log-interval= --nginx=off --php=off --fpm=off --mysql=off --all=off " \
32+
-W "$(command find /etc/nginx/sites-enabled/ -type l -printf "%P " 2> /dev/null) --nginx --php --php7 --fpm --fpm7 --mysql -i --interactive --all --import-slow-log --import-slow-log-interval= --nginx=off --php=off --php7=off --fpm=off --fpm7=off --mysql=off --all=off " \
3333
-- $cur) )
3434
;;
3535

@@ -53,7 +53,7 @@ _ee_complete()
5353

5454
"info")
5555
COMPREPLY=( $(compgen \
56-
-W "--mysql --php --nginx" \
56+
-W "--mysql --php --php7 --nginx" \
5757
-- $cur) )
5858
;;
5959

@@ -74,17 +74,17 @@ _ee_complete()
7474
# HANDLE EVERYTHING AFTER THE THIRD LEVEL NAMESPACE
7575
"install" | "purge" | "remove" )
7676
COMPREPLY=( $(compgen \
77-
-W "--pagespeed --web --admin --mail --nginx --nginxmainline --php --mysql --postfix --wpcli --phpmyadmin --adminer --utils --all --mailscanner --hhvm --redis --phpredisadmin" \
77+
-W "--pagespeed --web --admin --mail --nginx --nginxmainline --php --php7 --mysql --postfix --wpcli --phpmyadmin --adminer --utils --all --mailscanner --hhvm --redis --phpredisadmin" \
7878
-- $cur) )
7979
;;
8080
"upgrade" )
8181
COMPREPLY=( $(compgen \
82-
-W "--web --mail --nginx --php --mysql --postfix --all --hhvm --php56 --no-prompt --wpcli" \
82+
-W "--web --mail --nginx --php --php7 --mysql --postfix --all --hhvm --php56 --no-prompt --wpcli" \
8383
-- $cur) )
8484
;;
8585
"start" | "stop" | "reload" | "restart" | "status")
8686
COMPREPLY=( $(compgen \
87-
-W "--nginx --php --mysql --postfix --memcache --dovecot --redis" \
87+
-W "--nginx --php --php7 --mysql --postfix --memcache --dovecot --redis" \
8888
-- $cur) )
8989
;;
9090
"migrate")
@@ -142,7 +142,7 @@ _ee_complete()
142142
;;
143143
esac
144144

145-
if [ ${COMP_WORDS[1]} == "debug" ] && ([ "$prev" != "--start" ] && [ "$prev" != "--nginx" ] && [ "$prev" != "--php" ] && [ "$prev" != "--fpm" ] && [ "$prev" != "--mysql" ] && [ "$prev" != "-i" ] && [ "$prev" != "--interactive" ] && [ "$prev" != "--import-slow-log" ] && [ "$prev" != "--stop" ]); then
145+
if [ ${COMP_WORDS[1]} == "debug" ] && ([ "$prev" != "--start" ] && [ "$prev" != "--nginx" ] && [ "$prev" != "--php" ] && [ "$prev" != "--php7" ] && [ "$prev" != "--fpm" ] && [ "$prev" != "--fpm7" ] && [ "$prev" != "--mysql" ] && [ "$prev" != "-i" ] && [ "$prev" != "--interactive" ] && [ "$prev" != "--import-slow-log" ] && [ "$prev" != "--stop" ]); then
146146
retlist="--all --wp --rewrite -i --all=off --wp=off --rewrite=off"
147147
ret="${retlist[@]/$prev}"
148148
COMPREPLY=( $(compgen \
@@ -165,13 +165,13 @@ _ee_complete()
165165

166166
"create")
167167
COMPREPLY=( $(compgen \
168-
-W "--user --pass --email --html --php --mysql --wp --wpsubdir --wpsubdomain --w3tc --wpfc --wpsc --hhvm --proxy= --pagespeed --wpredis --letsencrypt -le" \
168+
-W "--user --pass --email --html --php --php7 --mysql --wp --wpsubdir --wpsubdomain --w3tc --wpfc --wpsc --hhvm --proxy= --pagespeed --wpredis --letsencrypt -le" \
169169
-- $cur) )
170170
;;
171171

172172
"update")
173173
COMPREPLY=( $(compgen \
174-
-W "--password --php --mysql --wp --wpsubdir --wpsubdomain --w3tc --wpfc --wpsc --hhvm --hhvm=off --pagespeed --pagespeed=off --wpredis --letsencrypt --letsencrypt=off --letsencrypt=renew" \
174+
-W "--password --php --php7 --mysql --wp --wpsubdir --wpsubdomain --w3tc --wpfc --wpsc --hhvm --hhvm=off --pagespeed --pagespeed=off --wpredis --letsencrypt --letsencrypt=off --letsencrypt=renew" \
175175
-- $cur) )
176176
;;
177177
"delete")
@@ -217,9 +217,9 @@ _ee_complete()
217217
"--wp")
218218
if [ ${COMP_WORDS[1]} != "debug" ]; then
219219
if [ ${COMP_WORDS[2]} == "create" ]; then
220-
retlist="--wp --wpsc --w3tc --wpfc --pagespeed --hhvm --user --email --pass --wpredis --letsencrypt"
220+
retlist="--wp --wpsc --w3tc --wpfc --pagespeed --hhvm --user --email --pass --wpredis --letsencrypt --php7"
221221
elif [ ${COMP_WORDS[2]} == "update" ]; then
222-
retlist="--wp --w3tc --wpfc --wpsc --pagespeed --hhvm --pagespeed=off --hhvm=off --wpredis --letsencrypt --letsencrypt=off --letsencrypt=renew"
222+
retlist="--wp --w3tc --wpfc --wpsc --php7 --php7=off --pagespeed --hhvm --pagespeed=off --hhvm=off --wpredis --letsencrypt --letsencrypt=off --letsencrypt=renew"
223223
else
224224
retlist=""
225225
fi
@@ -236,9 +236,9 @@ _ee_complete()
236236
"--wpsubdir" | "--wpsubdomain")
237237
if [ ${COMP_WORDS[1]} != "debug" ]; then
238238
if [ ${COMP_WORDS[2]} == "create" ]; then
239-
retlist="--wpsc --w3tc --wpfc --pagespeed --hhvm --user --email --pass --wpredis --letsencrypt"
239+
retlist="--wpsc --w3tc --wpfc --pagespeed --hhvm --user --email --pass --wpredis --letsencrypt --php7"
240240
elif [ ${COMP_WORDS[2]} == "update" ]; then
241-
retlist="--w3tc --wpfc --wpsc --pagespeed --hhvm --pagespeed=off --hhvm=off --wpredis --letsencrypt --letsencrypt=off --letsencrypt=renew"
241+
retlist="--w3tc --wpfc --wpsc --php7 --php7=off --pagespeed --hhvm --pagespeed=off --hhvm=off --wpredis --letsencrypt --letsencrypt=off --letsencrypt=renew"
242242
else
243243
retlist=""
244244
fi
@@ -254,7 +254,7 @@ _ee_complete()
254254

255255
"--pagespeed" | "--hhvm" | "--wpredis" | "--w3tc" | "--wpfc" | "--wpsc" | "--wpsubdir" | "--wpsubdomain" | "--user" | "--pass" | "--email" | "--wp")
256256
if [ ${COMP_WORDS[2]} == "create" ]; then
257-
retlist="--user --pass --email --wp --wpsubdir --wpsubdomain --w3tc --wpfc --wpsc --hhvm --pagespeed --experimenal --wpredis --letsencrypt"
257+
retlist="--user --pass --email --wp --wpsubdir --wpsubdomain --w3tc --wpfc --wpsc --hhvm --pagespeed --experimenal --wpredis --php7 --letsencrypt "
258258
else
259259
retlist=""
260260
fi
@@ -267,7 +267,7 @@ _ee_complete()
267267

268268
"--pagespeed" | "--hhvm" | "--wpredis" | "--w3tc" | "--wpfc")
269269
if [ ${COMP_WORDS[2]} == "update" ]; then
270-
retlist="--password --php --mysql --wp --wpsubdir --wpsubdomain --w3tc --wpfc --wpsc --hhvm --hhvm=off --pagespeed --pagespeed=off --experimenal --wpredis --letsencrypt --letsencrypt=off --letsencrypt=renew"
270+
retlist="--password --php --php7 --mysql --wp --wpsubdir --wpsubdomain --w3tc --wpfc --wpsc --hhvm --hhvm=off --pagespeed --pagespeed=off --experimenal --wpredis --letsencrypt --letsencrypt=off --letsencrypt=renew"
271271
else
272272
retlist=""
273273
fi
@@ -278,15 +278,15 @@ _ee_complete()
278278
-- $cur) )
279279
;;
280280

281-
"--web" | "--admin" | "--mail" | "--nginx" | "--php" | "--mysql" | "--postfix" | "--wpcli" | "--phpmyadmin" | "--adminer" | "--utils" | "--memcache" | "--dovecot" | "--redis | --phpredisadmin")
281+
"--web" | "--admin" | "--mail" | "--nginx" | "--php" | "--php7" | "--mysql" | "--postfix" | "--wpcli" | "--phpmyadmin" | "--adminer" | "--utils" | "--memcache" | "--dovecot" | "--redis | --phpredisadmin")
282282
if [[ ${COMP_WORDS[2]} == "install" || ${COMP_WORDS[2]} == "purge" || ${COMP_WORDS[2]} == "remove" ]]; then
283-
retlist="--web --admin --mail --nginx --php --mysql --postfix --wpcli --phpmyadmin --adminer --utils --memcache --dovecot --redis --phpredisadmin"
283+
retlist="--web --admin --mail --nginx --php --php7 --mysql --postfix --wpcli --phpmyadmin --adminer --utils --memcache --dovecot --redis --phpredisadmin"
284284
elif [[ ${COMP_WORDS[2]} == "start" || ${COMP_WORDS[2]} == "reload" || ${COMP_WORDS[2]} == "restart" || ${COMP_WORDS[2]} == "stop" ]]; then
285-
retlist="--nginx --php --mysql --postfix --memcache --dovecot --redis"
285+
retlist="--nginx --php --php7 --mysql --postfix --memcache --dovecot --redis"
286286
elif [[ ${COMP_WORDS[1]} == "debug" ]]; then
287-
retlist="--start --nginx --php --fpm --mysql -i --interactive -stop --import-slow-log --import-slow-log-interval= -"
287+
retlist="--start --nginx --php --php7 --fpm --fpm7 --mysql -i --interactive -stop --import-slow-log --import-slow-log-interval= -"
288288
if [[ $prev == '--mysql' ]]; then
289-
retlist="--start --nginx --php --fpm --mysql -i --interactive --stop --import-slow-log"
289+
retlist="--start --nginx --php --php7 --fpm --fpm7 --mysql -i --interactive --stop --import-slow-log"
290290
fi
291291
elif [[ ${COMP_WORDS[1]} == "log" ]]; then
292292
if [ ${COMP_WORDS[2]} == "show" ]; then
@@ -369,7 +369,7 @@ _ee_complete()
369369
case "$mprev" in
370370
"--user" | "--email" | "--pass")
371371
if [ ${COMP_WORDS[2]} == "create" ]; then
372-
retlist="--user --pass --email --html --php --mysql --wp --wpsubdir --wpsubdomain --w3tc --wpfc --wpsc --hhvm --pagespeed --wpredis --letsencrypt"
372+
retlist="--user --pass --email --html --php --php7 --mysql --wp --wpsubdir --wpsubdomain --w3tc --wpfc --wpsc --hhvm --pagespeed --wpredis --letsencrypt"
373373
fi
374374
ret="${retlist[@]/$prev}"
375375
COMPREPLY=( $(compgen \

docs/ee.8

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
.SH SYNOPSIS
66
ee [ --version | --help | info | stack | site | debug | update | clean | import_slow_log | log | secure | sync]
77
.TP
8-
ee stack [ install | remove | purge | migrate | upgrade] [ --web | --mail | --all | --nginx | --nginxmainline | --php | --mysql | --admin | --postfix | --mailscanner | --adminer | --redis | --hhvm | --phpmyadmin | --phpredisadmin | --wpcli | --utils ]
8+
ee stack [ install | remove | purge | migrate | upgrade] [ --web | --mail | --all | --nginx | --nginxmainline | --php | --php7 | --mysql | --admin | --postfix | --mailscanner | --adminer | --redis | --hhvm | --phpmyadmin | --phpredisadmin | --wpcli | --utils ]
99
.TP
10-
ee stack [ status | start | stop | reload | restart ] [--all | --nginx | --php | --mysql | --devcot | --web | --postfix | --memcache | --redis]
10+
ee stack [ status | start | stop | reload | restart ] [--all | --nginx | --php | --php7 |--mysql | --devcot | --web | --postfix | --memcache | --redis]
1111
.TP
1212
ee site [ list | info | show | enable | disable | edit | cd | show ] [ example.com ]
1313
.TP
14-
ee site create example.com [ --html | --php | --mysql] [[--wp | --wpsubdir | --wpsubdomain ] [--wpsc | --w3tc | --wpfc | --wpredis | --hhvm | --pagespeed | --letsencrypt/-le]]
14+
ee site create example.com [ --html | --php | --php7 | --mysql] [[--wp | --wpsubdir | --wpsubdomain ] [--wpsc | --w3tc | --wpfc | --wpredis | --hhvm | --pagespeed | --letsencrypt/-le]]
1515
.TP
16-
ee site update example.com [ --php | --mysql] [[--wp | --wpsubdir | --wpsubdomain ] [--wpsc | --w3tc | --wpfc | --wpredis | --hhvm | --pagespeed ] [--password] [--letsencrypt=on/off/renew]]
16+
ee site update example.com [ --php | --php7 |--mysql] [[--wp | --wpsubdir | --wpsubdomain ] [--wpsc | --w3tc | --wpfc | --wpredis | --hhvm | --pagespeed ] [--password] [--letsencrypt=on/off/renew]]
1717
.TP
1818
ee site delete example.com [--db | --files | --all | --no-prompt | --force/-f ]
1919
.TP
@@ -46,19 +46,19 @@ Display easyengine (ee) help.
4646
.TP
4747
.B stack
4848
.TP
49-
.B install [ --all | --web | --mail | --nginx | --php | --mysql | --redis | --postfix | --adminer | --phpmyadmin | --phpredismyadmin | --wpcli | --utils ]
49+
.B install [ --all | --web | --mail | --nginx | --php | --php7 |--mysql | --redis | --postfix | --adminer | --phpmyadmin | --phpredismyadmin | --wpcli | --utils ]
5050
.br
5151
Install Nginx PHP5 MySQL Postfix stack Packages if not used with
5252
.br
5353
any options.Installs specific package if used with option.
5454
.TP
55-
.B remove [ --all | --web | --mail | --nginx | --php | --mysql | --redis | --postfix | --adminer | --phpmyadmin | --phpredismyadmin | --wpcli | --utils ]
55+
.B remove [ --all | --web | --mail | --nginx | --php | --php7 |--mysql | --redis | --postfix | --adminer | --phpmyadmin | --phpredismyadmin | --wpcli | --utils ]
5656
.br
5757
Remove Nginx PHP5 MySQL Postfix stack Packages if not used with
5858
.br
5959
any options. Remove specific package if used with option.
6060
.TP
61-
.B purge [ --all | --web | --mail | --nginx | --php | --mysql | --redis | --postfix | --adminer | --phpmyadmin | --phpredismyadmin | --wpcli | --utils ]
61+
.B purge [ --all | --web | --mail | --nginx | --php | --php7 |--mysql | --redis | --postfix | --adminer | --phpmyadmin | --phpredismyadmin | --wpcli | --utils ]
6262
.br
6363
Purge Nginx PHP5 MySQL Postfix stack Packages if not used with any
6464
.br
@@ -129,21 +129,21 @@ Disable site by Destroying softlink with site file in
129129
.br
130130
Edit NGINX configuration of site.
131131
.TP
132-
.B create [ example.com ] [ --html | --php | --mysql] [[--wp | --wpsubdir | --wpsubdomain ] [--wpsc | --w3tc | --wpfc | --wpredis | --hhvm | --pagespeed ]]
132+
.B create [ example.com ] [ --html | --php | --php7 |--mysql] [[--wp | --wpsubdir | --wpsubdomain ] [--wpsc | --w3tc | --wpfc | --wpredis | --hhvm | --pagespeed ]]
133133
.br
134134
Create new site according to given options. If no options provided
135135
.br
136136
create static site with html only.
137137
.TP
138-
.B update [ example.com ] [ --html | --php | --mysql] [[--wp | --wpsubdir | --wpsubdomain ] [ --wpsc | --w3tc | --wpfc | --wpredis | --hhvm | --pagespeed ] [--password]]
138+
.B update [ example.com ] [ --html | --php | --php7 |--mysql] [[--wp | --wpsubdir | --wpsubdomain ] [ --wpsc | --w3tc | --wpfc | --wpredis | --hhvm | --pagespeed ] [--password]]
139139
.br
140140
Update site configuration according to specified options.
141141
.TP
142142
.B delete [ example.com ] [--no-prompt ] [--force/-f] [ --db | --files | --all ]
143143
.br
144144
Delete site i.e webroot, database, ad configuration permanently.
145145
.TP
146-
.B debug [ -i | --nginx=on/off | --php=on/off | --mysql=on/off | --rewrite=on/off | --fpm=on/off ]
146+
.B debug [ -i | --nginx=on/off | --php=on/off | --php7=on/off | --mysql=on/off | --rewrite=on/off | --fpm=on/off | --fpm7=on/off ]
147147
.br
148148
Starts server level debugging. If this is used without arguments it will start debugging
149149
.br
@@ -182,6 +182,10 @@ used with ee debug command. used to start or stop nginx debugging.
182182
.br
183183
used with ee debug command. used to start or stop php debugging.
184184
.TP
185+
.B --php7=on/off
186+
.br
187+
used with ee debug command. used to start or stop php7 debugging.
188+
.TP
185189
.B --mysql=on/off
186190
.br
187191
used with ee debug command. used to start or stop mysql debugging.
@@ -287,7 +291,7 @@ Install, activate, configure Nginx-helper and Redis Object Cache Plugin, Configu
287291
Install, activate Nginx-helper and configure NGINX for HHVM.
288292
.SH FILES
289293
.br
290-
/etc/easyengine/ee.conf
294+
/etc/ee/ee.conf
291295
.SH BUGS
292296
Report bugs at <http://github.com/rtCamp/easyengine/issues/>
293297
.SH AUTHOR

0 commit comments

Comments
 (0)