Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Aug 2005
    Posts
    13

    Default Weird behaviour with apache 1

    WHM 11.11.0 cPanel 11.15.0-R17997

    When i install apache 1 and php4/php5, all post methods are ignored, like forms, login

    After submitting, it will do nothing or show blank page.

    Install apache 2 and php4/php5/php4&php5 fix the POST issue but cpanel crash every 15 minutes or so.

    Memory usage is about 80% more than apache 1

    I'm using the 14 days test license.

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,718
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by kctt View Post
    WHM 11.11.0 cPanel 11.15.0-R17997

    When i install apache 1 and php4/php5, all post methods are ignored, like forms, login

    After submitting, it will do nothing or show blank page.

    Install apache 2 and php4/php5/php4&php5 fix the POST issue but cpanel crash every 15 minutes or so.

    Memory usage is about 80% more than apache 1

    I'm using the 14 days test license.
    Have you submitted a support ticket regarding this issue so our support team can look into this for you?

    These are the community forums and our support staff doesn't routinely monitor these forums.

  3. #3
    Member
    Join Date
    Jun 2003
    Location
    Sydney
    Posts
    14
    cPanel/Enkompass Access Level

    Root Administrator

    Default Apache 1.3 issues after latest easyapache update

    When i install apache 1 and php4/php5, all post methods are ignored, like forms, login
    I rebuilt Apache 1.3 two days ago and have major grief since. I had the above problem but my php5 runs as a CGI with a wrapper. PHP4 post variables were working just PHP5's weren't. This meant session variables for logins etc weren't working. The problem was mod_bandwidth - apparently mod_bandwidth needs to be the lowest priority or else it intercepts the post variables for the CGI wrapper. To make mod_bandwidth the lowest priority, the apache configure has to have mod_bandwidth applied as the first argument ie: ./configure --mod_bandwidth

    I have just commented out the entries to mod_bandwidth at the moment which fixed my issue and haven't tried the above.

    My other issue is Apache just suddenly starts grabbing chunks of memory ie: 1 child grabs over 1gb of memory even though I have RLimitMEM 291740330 in place.

    What happens is that it starts to use swap and while this is happening, it's thrashing the disk so much so that the load exceeds 100 and services start crashing. Unless I restart apache. Prior to this my load rarely exceed 1.8...

  4. #4
    Member
    Join Date
    Sep 2004
    Posts
    422

    Default

    With the POST variables being lost, it sounds like you need register_globals On (really... are there people still coding that way..)

    Anyway, finding the /usr/local/lib/php.ini file and making register_globals On or adding
    php_value register_globals "1" to a .htaccess file in your public_html will fix that if that is the problem.

    Better to recode your scripts, php 6 isn't that far away.

  5. #5
    Member Qoneek's Avatar
    Join Date
    Jul 2004
    Location
    Skierniewice, Poland
    Posts
    11

    Default

    Quote Originally Posted by kctt View Post
    WHM 11.11.0 cPanel 11.15.0-R17997

    When i install apache 1 and php4/php5, all post methods are ignored, like forms, login

    After submitting, it will do nothing or show blank page.

    Install apache 2 and php4/php5/php4&php5 fix the POST issue but cpanel crash every 15 minutes or so.

    Memory usage is about 80% more than apache 1

    I'm using the 14 days test license.
    I have same problem. PHP4 as API, php5 as CGI, fix is very easy

    http://bugs.php.net/bug.php?id=39647

    Mod_bandwidth blocks POST methods for PHP5. PHP4 works fine with mod_bandwidth.

Similar Threads & Tags
Similar threads

  1. CPanel's weird behaviour
    By Nevermind in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 07-25-2009, 12:04 PM
  2. strange PHP behaviour after Apache upgrade in WHM
    By SoftDux in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 02-28-2007, 09:35 AM
  3. Weird apache
    By dominet in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-23-2003, 02:00 PM
  4. Weird behaviour of DNS
    By sensei in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-24-2001, 04:45 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube