Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
php
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Eric Zillmann
php
Commits
8b957523
Commit
8b957523
authored
9 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Make apache, fastcgi and jailkit work together
parent
360625d9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tasks/php.yml
+23
-4
23 additions, 4 deletions
tasks/php.yml
templates/fcgid.conf
+14
-0
14 additions, 0 deletions
templates/fcgid.conf
with
37 additions
and
4 deletions
tasks/php.yml
+
23
−
4
View file @
8b957523
...
...
@@ -9,6 +9,7 @@
-
php5
-
php-apc
-
php-soap
-
php5-cgi
-
php5-mysql
-
php5-xmlrpc
-
php5-gd
...
...
@@ -23,10 +24,13 @@
notify
:
-
"
PHP
|
Restart
Apache"
# TODO: Upgrade APCu on Ubuntu 14.04
# @see https://github.com/owncloud/core/issues/14175#issuecomment-74573088
# wget https://launchpad.net/~ondrej/+archive/ubuntu/php5/+build/6149263/+files/php5-apcu_4.0.6-1%2Bdeb.sury.org~utopic%2B1_amd64.deb
# sudo dpkg -i php5-apcu_4.0.6-1+deb.sury.org~utopic+1_amd64.deb
-
name
:
"
PHP
|
Enable
Apache
modules"
apache2_module
:
name={{ item }}
state=present
with_items
:
-
fcgid
notify
:
"
Apache
|
Restart
Apache"
-
name
:
"
PHP
|
Configuration
file,
php.ini"
template
:
...
...
@@ -38,6 +42,21 @@
notify
:
-
"
PHP
|
Restart
Apache"
-
name
:
"
PHP
|
Configuration
file,
fcgid.conf"
template
:
src=fcgid.conf
dest=/etc/apache2/mods-available/fcgid.conf
owner=root
group=root
mode=0644
notify
:
-
"
PHP
|
Restart
Apache"
# TODO: Upgrade APCu on Ubuntu 14.04
# @see https://github.com/owncloud/core/issues/14175#issuecomment-74573088
# wget https://launchpad.net/~ondrej/+archive/ubuntu/php5/+build/6149263/+files/php5-apcu_4.0.6-1%2Bdeb.sury.org~utopic%2B1_amd64.deb
# sudo dpkg -i php5-apcu_4.0.6-1+deb.sury.org~utopic+1_amd64.deb
-
name
:
"
PHP
|
Cache
configuration
file,
apc.ini"
template
:
src=etc-php5-conf-d-apc.ini
...
...
This diff is collapsed.
Click to expand it.
templates/fcgid.conf
0 → 100644
+
14
−
0
View file @
8b957523
<
IfModule
mod_fcgid
.
c
>
FcgidConnectTimeout
20
DefaultMinClassProcessCount
0
IdleTimeout
300
IdleScanInterval
30
MaxProcessCount
15
MaxRequestsPerProcess
500
PHP_Fix_Pathinfo_Enable
1
<
IfModule
mod_mime
.
c
>
AddHandler
fcgid
-
script
.
fcgi
</
IfModule
>
</
IfModule
>
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