Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Zvonimir
ISPConfig 3
Commits
9787a043
Commit
9787a043
authored
Jan 27, 2009
by
tbrehm
Browse files
Fixed FCGI starter script for ispconfig interface.
parent
0731a3df
Changes
3
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
9787a043
...
...
@@ -996,6 +996,7 @@ class installer_base {
exec
(
'cp tpl/apache_ispconfig_fcgi_starter.master /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter'
);
exec
(
'chmod +x /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter'
);
exec
(
'ln -s /usr/local/ispconfig/interface/web /var/www/ispconfig'
);
exec
(
'chown -R ispconfig:ispconfig /var/www/php-fcgi-scripts/ispconfig'
);
}
...
...
install/tpl/apache_ispconfig.vhost.master
View file @
9787a043
...
...
@@ -9,9 +9,8 @@ NameVirtualHost *:{vhost_port}
<VirtualHost _default_:{vhost_port}>
ServerAdmin webmaster@localhost
DocumentRoot /usr/local/ispconfig/interface/web/
<IfModule mod_f
ast
cgi.c>
<IfModule mod_fcgi
d
.c>
DocumentRoot /var/www/ispconfig/
SuexecUserGroup ispconfig ispconfig
<Directory /var/www/ispconfig/>
...
...
@@ -25,6 +24,7 @@ NameVirtualHost *:{vhost_port}
</IfModule>
<IfModule mod_php5.c>
DocumentRoot /usr/local/ispconfig/interface/web/
AddType application/x-httpd-php .php
<Directory /usr/local/ispconfig/interface/web>
Options FollowSymLinks
...
...
interface/bin/php-fcgi
deleted
100644 → 0
View file @
0731a3df
#!/bin/sh
PHPRC
=
"/etc/php5/cgi/"
export
PHPRC
PHP_DOCUMENT_ROOT
=
"/usr/local/ispconfig/interface/web/"
export
PHP_DOCUMENT_ROOT
PHP_FCGI_CHILDREN
=
8
export
PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS
=
5000
export
PHP_FCGI_MAX_REQUESTS
exec
/usr/bin/php-cgi
$1
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment