Current time: 11-25-2024, 10:27 PM Hello There, Guest! (LoginRegister)


Post Reply 
All kinds of problems after Upgrading to 1.0.2
Author Message
Gymnogyp Offline
Junior Member
*

Posts: 20
Joined: Nov 2008
Reputation: 0
Post: #3
RE: All kinds of problems after Upgrading to 1.0.2
I have a fastcgi_ispcp.conf file and all {...} have been replaced with
{PHP_VERSION} = 5
{PHP_STARTER_DIR} = /var/www/fcgi

Here is my fastcgi_ispcp.conf file;

#
# ispCP ω (OMEGA) a Virtual Hosting Control System
#
# @copyright 2006-2008 by ispCP | http://isp-control.net
# @version SVN: $Id$
# @link http://isp-control.net
# @author ispCP Team
#
# @license
# This program is free software; you can redistribute it and/or modify it under
# the terms of the MPL General Public License as published by the Free Software
# Foundation; either version 1.1 of the License, or (at your option) any later
# version.
# You should have received a copy of the MPL Mozilla Public License along with
# this program; if not, write to the Open Source Initiative (OSI)
# http://opensource.org | osi@opensource.org
#
################################################################################​

<IfModule mod_fastcgi.c>
FastCgiWrapper On
FastCgiIpcDir /var/lib/apache2/fastcgi

FastCgiConfig -minProcesses 1 \
-maxProcesses 400 \
-maxClassProcesses 5 \
-multiThreshold 80 \
-killInterval 60 \
-startDelay 5
# -singleThreshold 100 \
# -autoUpdate \
# -pass-header HTTP_AUTHORIZATION

FastCgiServer /var/www/fcgi/master/php5-fcgi-starter -user {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID} -group {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_GID} -id$

#
# PHP5 SUPPORT
#

AddHandler php-fastcgi .php .php5

<Location /php5/php5-fcgi-starter>
FastCgiIpcDir /var/lib/apache2/fastcgi

FastCgiConfig -minProcesses 1 \
-maxProcesses 400 \
-maxClassProcesses 5 \
-multiThreshold 80 \
-killInterval 60 \
-startDelay 5
# -singleThreshold 100 \
# -autoUpdate \
# -pass-header HTTP_AUTHORIZATION

FastCgiServer /var/www/fcgi/master/php5-fcgi-starter -user {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID} -group {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_GID} -id$

#
# PHP5 SUPPORT
#

AddHandler php-fastcgi .php .php5

<Location /php5/php5-fcgi-starter>
SetHandler fastcgi-script
Options +ExecCGI
</Location>

Action php-fastcgi /php5/php5-fcgi-starter
AddType application/x-httpd-php .php .php5
</IfModule>
Now, I am getting the following error when restarting apache;

Restarting web server: apache2apache2: bad user name {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID}
failed!
(This post was last modified: 09-22-2009 08:55 AM by Gymnogyp.)
09-22-2009 08:53 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: All kinds of problems after Upgrading to 1.0.2 - Gymnogyp - 09-22-2009 08:53 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)