Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ISPConfig 3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Zvonimir
ISPConfig 3
Commits
9d9ea6f6
Commit
9d9ea6f6
authored
Aug 11, 2014
by
Marius Cramer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- added hhvm php.ini file usage
parent
596a6093
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
server/conf/hhvm_starter.master
server/conf/hhvm_starter.master
+9
-1
No files found.
server/conf/hhvm_starter.master
View file @
9d9ea6f6
...
...
@@ -33,7 +33,15 @@ do_start()
umask
017
sudo
-u
{
SYSTEM_USER
}
touch
/var/run/hhvm/hhvm_
{
SYSTEM_USER
}
.pid
/usr/bin/hhvm
--mode
daemon
-vServer
.Type
=
fastcgi
--user
{
SYSTEM_USER
}
-vServer
.FileSocket
=
/var/run/hhvm/hhvm.
{
SYSTEM_USER
}
.sock
-vLog
.Level
=
Warning
-vLog
.UseLogFile
=
false
-vRepo
.Central.Path
=
/var/run/hhvm/hhvm.
{
SYSTEM_USER
}
.hhbc
-vServer
.FixPathInfo
=
true
-vPidFile
=
/var/run/hhvm/hhvm_
{
SYSTEM_USER
}
.pid &
echo
$!
>
/var/run/hhvm/hhvm_
{
SYSTEM_USER
}
.pid
INIFILE
=
""
if
[[
-e
"/var/www/conf/{SYSTEM_USER}/php.ini"
]]
;
then
INIFILE
=
"-vServer.IniFile=/var/www/conf/{SYSTEM_USER}/php.ini"
;
elif
[[
-e
"/etc/php5/hhvm/php.ini"
]]
;
then
INIFILE
=
"-vServer.IniFile=/etc/php5/hhvm/php.ini"
;
elif
[[
-e
"/etc/php5/cgi/php.ini"
]]
;
then
INIFILE
=
"-vServer.IniFile=/etc/php5/cgi/php.ini"
;
fi
/usr/bin/hhvm
--mode
daemon
-vServer
.Type
=
fastcgi
--user
{
SYSTEM_USER
}
-vServer
.FileSocket
=
/var/run/hhvm/hhvm.
{
SYSTEM_USER
}
.sock
-vLog
.Level
=
Warning
-vLog
.UseLogFile
=
false
-vRepo
.Central.Path
=
/var/run/hhvm/hhvm.
{
SYSTEM_USER
}
.hhbc
-vServer
.FixPathInfo
=
true
$INIFILE
-vPidFile
=
/var/run/hhvm/hhvm_
{
SYSTEM_USER
}
.pid &
echo
$!
>
/var/run/hhvm/hhvm_
{
SYSTEM_USER
}
.pid
}
do_stop
()
...
...
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