Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jailkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
jailkit
Commits
4ee02cc9
Commit
4ee02cc9
authored
9 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Prepare PHP 5.3 on Ubuntu 14.04
parent
fd95002f
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
defaults/main.yml
+1
-0
1 addition, 0 deletions
defaults/main.yml
tasks/main.yml
+1
-1
1 addition, 1 deletion
tasks/main.yml
templates/fcgid.sh
+5
-0
5 additions, 0 deletions
templates/fcgid.sh
templates/php.ini
+8
-8
8 additions, 8 deletions
templates/php.ini
with
15 additions
and
9 deletions
defaults/main.yml
+
1
−
0
View file @
4ee02cc9
jailroot
:
/jails
jailuser_init
:
false
jailusers
:
[]
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
1
−
1
View file @
4ee02cc9
...
...
@@ -112,7 +112,7 @@
with_flattened
:
-
'
{{
admins
}}'
-
'
{{
jailusers
}}'
when
:
item != tunnel_user_name
when
:
item != tunnel_user_name
and jailuser_init
-
name
:
"
Assign
Jails
To
Users"
template
:
...
...
This diff is collapsed.
Click to expand it.
templates/fcgid.sh
+
5
−
0
View file @
4ee02cc9
...
...
@@ -2,4 +2,9 @@
export
PHPRC
=
"{{ jailroot }}/{{ item.jail.name }}/var/www/conf"
export
TMPDIR
=
"{{ jailroot }}/{{ item.jail.name }}/tmp"
{
%
if
php_version|default
(
'5.5'
)
==
'5.3'
%
}
export
PHP_INI_SCAN_DIR
=
"/etc/php5/cgi53/conf.d"
exec
/usr/local/bin/php-cgi
{
%
else
%
}
exec
/usr/bin/php5-cgi
{
% endif %
}
This diff is collapsed.
Click to expand it.
templates/php.ini
+
8
−
8
View file @
4ee02cc9
;TODO: The following settings are for older PHP versions only
;
;allow_call_time_pass_reference = {{ php_allow_call_time_pass_reference }}
;register_globals = {{ php_register_globals }}
;register_long_arrays = {{ php_register_long_arrays }}
;magic_quotes_gpc = {{ php_magic_quotes_gpc }}
[PHP]
{%
if
php_version|default('5.5')
==
'5.3'
%}
allow_call_time_pass_reference
=
{{ php_allow_call_time_pass_reference }}
register_globals
=
{{ php_register_globals }}
register_long_arrays
=
{{ php_register_long_arrays }}
magic_quotes_gpc
=
{{ php_magic_quotes_gpc }}
{%
endif
%}
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
...
...
@@ -216,7 +216,7 @@ engine = On
; Development Value: Off
; Production Value: Off
; http://php.net/short-open-tag
short_open_tag
=
Off
short_open_tag
=
{{ php_short_open_tag }}
; Allow ASP-style <% %> tags.
; http://php.net/asp-tags
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment