Current time: 11-22-2024, 09:04 PM Hello There, Guest! (LoginRegister)


Post Reply 
Error 500 on phpmyadmin import
Author Message
bulforce Offline
Junior Member
*

Posts: 63
Joined: Oct 2007
Reputation: 0
Post: #1
Error 500 on phpmyadmin import
After installing isp-control on debian 6 squeeze

phpmyadmin cannot import sql files... the problem is that fcgi has changed some defaults after 2.3.6

http://httpd.apache.org/mod_fcgid/mod/mo...requestlen

Apparently the old default for MaxRequestLen was 1GB and now is only 0.1MB which is really not enough for uploading any kind of files.

Also apache has started name conversion on those parameters
as displayed on the same page http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html

Dev team needs to update /etc/apache2/mods-enabled/fcgid_ispcp.conf
to include the new configuration option with some default of at least 10MB

You may also consider renaming those configuration options as noted on apache page.

Example
PHP Code:
# ispCP Ï (OMEGA) a Virtual Hosting Control Panel
# Copyright (C) 2006-2010 by isp Control Panel - http://ispcp.net
#
# Version: $Id: fcgid_ispcp.conf 3498 2010-10-20 06:17:13Z nuxwin $
#
# The contents of this file are subject to the Mozilla Public License
# Version 1.1 (the "License"); you may not use this file except in
# compliance with the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS"
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
# License for the specific language governing rights and limitations
# under the License.
#
# The Original Code is "ispCP Ï (OMEGA) a Virtual Hosting Control Panel".
#
# The Initial Developer of the Original Code is ispCP Team.
# Portions created by Initial Developer are Copyright (C) 2006-2010 by
# isp Control Panel. All Rights Reserved.
#
# The ispCP Ï Home Page is:
#
#    http://isp-control.net
#

<IfModule mod_fcgid.c>
  
AddHandler fcgid-script .php .php5
  SocketPath 
/var/lib/apache2/fcgid/sock
  IdleTimeout 600
  IdleScanInterval 120
  BusyTimeout 300
  BusyScanInterval 120
  ErrorScanInterval 3
  ZombieScanInterval 3
  ProcessLifeTime 900
  SpawnScoreUpLimit 10
  SpawnScore 1
  TerminationScore 2
  MaxProcessCount 200
  DefaultMaxClassProcessCount 10
  DefaultMinClassProcessCount 1
  IPCCommTimeout 900
  MaxRequestsPerProcess 500
  FcgidMaxRequestLen 10485760
</IfModule

Hopefully this helps.
02-11-2011 01:22 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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