Skip to content

Commit fe422f6

Browse files
authored
feat: add plugin php (first version, from repository mfservplugin_php) (backport #645) (#647)
<hr>This is an automatic backport of pull request #645 done by [Mergify](https://mergify.com).
1 parent 1c3332b commit fe422f6

File tree

15 files changed

+358
-0
lines changed

15 files changed

+358
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# README
2+
3+
## Introduction
4+
5+
This template is made for building [php] applications
6+
TODO : more explanations
7+
8+
## How to play with it?
9+
10+
TODO : more explanations
11+
the warnings below may be not relevant
12+
13+
!!! warning
14+
Your code is directly integrated into the `mfserv` nginx server (at module level). So you can break up the whole `mfserv` module with your plugin.
15+
16+
!!! warning
17+
As we are at very low level, the autorestart feature does not work in all cases. Of course, you can reload the mfserv running instance with `mfserv.stop ; mfserv.start` but it's a little bit slow. So in this particular use case, you can use `circusctl restart nginx` to force reload in all cases.
18+
19+
!!! tip
20+
As you can break the nginx configuration, we recommend you to keep a `tail -f ${MODULE_RUNTIME_HOME}/log/nginx_error.log` in a terminal to see some errors. And also, please execute frequently `mfserv.status`.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../_common/cookiecutter.json

adm/templates/plugins/php/hooks

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../_common/hooks
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../_common/autorestart_excludes
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../_common/autorestart_includes
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../_common/.gitignore
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
python3@mfext
2+
php@mfext
3+
root@mfserv
4+
-python3_devtools@mfext
5+
-python3_ia@mfext
6+
-python3_vim@mfext
7+
-scientific_core@mfext
8+
-python3_scientific@mfext
9+
-python3_scientific_core@mfext
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../_common/layerapi2_label
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../_common/plugin_format_version
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../_common/releaseignore

0 commit comments

Comments
 (0)