Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 25 of 25
  1. #16
    Member
    Join Date
    Jan 2004
    Posts
    123

    Default

    Quote Originally Posted by MFaisal_i
    yes there are still some problems with php 4.3.10, many of my clients are uncomfortable with it and some are comfortable , i dont know but those who are uncomfortable with 4.3.10 i roll back them to 4.3.9, so there problems were solved and all is fine
    I thought 4.3.9 was vulnerable to the recent holes in PHP? Nonetheless trying a different version of PHP has no effect whatsoever.

  2. #17
    Member
    Join Date
    Sep 2004
    Posts
    529

    Default

    Yes, he thinks that all is fine, but he's really running server software with serious and known security holes. I wonder how long he has til he gets hacked?

  3. #18
    Member
    Join Date
    Jan 2004
    Posts
    123

    Default

    I am becoming more and more convinced this is all because buildapache/easyapache is refusing to rebuild apache even though I tell it not to skip it.

    I'm in the process of kludging the scripts to force a complete rebuild of apache but I guess the cpanel guys need to fix this. I'd raise it as a bug, but I absolutely detest bugzilla. Seems to affect current stable and release builds.

  4. #19
    BANNED
    Join Date
    Feb 2003
    Location
    Toronto, Canada
    Posts
    88

    Default

    Just to add my two cents I've noticed that the issue seems to be actually phpsuexec. So php 4.3.10 with zend 2.5.7 works fine, but if you compile apache with php suexec enabled it'll break a lot of things. Recompiling without phpsuexec fixes the issue.

    So if you want to use phpsuexec you will need to stick with 4.3.9 for now

  5. #20
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2003
    Posts
    1,914

    Default

    I will add 4 cents I compiled php 4.3.10 with phpsuexec and zend everything works just fine

  6. #21
    Member
    Join Date
    Jan 2004
    Posts
    123

    Default

    Cue the choirs of angels, I've fixed it.

    There appears to be a bug in easyapache which prevents it recompiling apache if it believes it to be the current version despite when other factors dictate that it should be recompiled. There's actually an override for things like the perl module to force it to build anyway but there doesnt appear to be a similar thing for phpsuexec.

    It also doesnt listen to the tick box option that lets you supposedly force the update either.

    The "easy" way to force easyapache to do an update is run it from the command line - when the output stops and it asks you to pick a config choice, use another SSH session as root to do the following:

    cd /home/cpapachebuild/buildapache

    edit checkapsetup with your preferred editor and where it says:

    if ($apver ne $apv) { print "1"; } else { print "0"; }

    replace this line with simply:

    print "1";

    save the file, and logout.

    Go back to your other SSH window and continue interacting with easyapache as you would normally. Apache will be forced to recompile, and you'll find things like phpsuexec actually start working properly. I can't say if this will fix any particular problems you're having with Zend, but it WILL make regular php work with phpsuexec on a server that hasnt previously had phpsuexec enabled on it (because an apache recompile is required due to the fact that phpsuexec patches apache itself).

    NOTE: Until this is fixed, each time you need to force an apache rebuild, you will have to redo this entire procedure. Each time easyapache is started it redownloads and reunpacks a fresh copy of the cpapachebuild files, overwriting your changes.

    CPANEL DEVS: fix /home/cpapachebuild/buildapache/modules/apache_prep to include if's for the occurence where 'skip apache build' is unticked and/or to force a compile if phpsuexec is enabled (just in case), like you have with the perl module.
    Last edited by philb; 01-08-2005 at 11:17 PM. Reason: Clarified the 'bug' - see italic section.

  7. #22
    cPanelBilly
    Guest

    Default

    Quote Originally Posted by philb
    Cue the choirs of angels, I've fixed it.

    There appears to be a bug in easyapache which prevents it recompiling apache if it believes it to be the current version despite when other factors dictate that it should be recompiled. There's actually an override for things like the perl module to force it to build anyway but there doesnt appear to be a similar thing for phpsuexec.

    It also doesnt listen to the tick box option that lets you supposedly force the update either.

    The "easy" way to force easyapache to do an update is run it from the command line - when the output stops and it asks you to pick a config choice, use another SSH session as root to do the following:

    cd /home/cpapachebuild/buildapache

    edit checkapsetup with your preferred editor and where it says:

    if ($apver ne $apv) { print "1"; } else { print "0"; }

    replace this line with simply:

    print "1";

    save the file, and logout.

    Go back to your other SSH window and continue interacting with easyapache as you would normally. Apache will be forced to recompile, and you'll find things like phpsuexec actually start working properly. I can't say if this will fix any particular problems you're having with Zend, but it WILL make regular php work with phpsuexec on a server that hasnt previously had phpsuexec enabled on it (because an apache recompile is required due to the fact that phpsuexec patches apache itself).

    NOTE: Until this is fixed, each time you need to force an apache rebuild, you will have to redo this entire procedure. Each time easyapache is started it redownloads and reunpacks a fresh copy of the cpapachebuild files, overwriting your changes.

    CPANEL DEVS: fix /home/cpapachebuild/buildapache/modules/apache_prep to include if's for the occurence where 'skip apache build' is unticked and/or to force a compile if phpsuexec is enabled (just in case), like you have with the perl module.
    This actually will break apache installs, however the issue has been fixed.

  8. #23
    Member
    Join Date
    Jan 2004
    Posts
    123

    Default

    Quote Originally Posted by cPanelBilly
    This actually will break apache installs, however the issue has been fixed.
    Er, nonsense. All it does is force a rebuild, something buildapache would have done anyway in older versions.

    Oh, and something which unticking 'skip build apache even if up to date' will do. (EDIT: When it's fixed) It's exactly the same. All it does is fool buildapache into thinking the version is out of date and it does a rebuild in exactly the same way as it would for any other reason.
    Last edited by philb; 01-11-2005 at 12:20 PM. Reason: addendum, caveat

  9. #24
    Registered User
    Join Date
    Jul 2004
    Location
    Coimbatore
    Posts
    2

    Default

    Thanks... It works after editing the file checkapsetup file under /home/cpapachebuild/buildapache while recompiling apache.

  10. #25
    Member
    Join Date
    Mar 2004
    Posts
    710

    Default

    And how, exactly is it fixed? Still have problems now - long after post that says is fixed. I am trying a /scripts/upcp --force after running /scripts/sysup and /scripts/updatenow.

    That did not help.

    Problem is back again after upcp three days ago. Last time total rebuild of apache, option one, and then rebuild again. this time - no go. Anyone?
    Last edited by lloyd_tennison; 02-26-2005 at 06:16 PM.
    Lloyd F Tennison

Similar Threads & Tags
Similar threads

  1. php 5.1.4 and Zend Problems
    By Norman in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 05-25-2006, 04:35 PM
  2. Problems compiling Apache and php 4.4.1 \ 4.4.2
    By Mr_Stepfire in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 02-27-2006, 10:36 AM
  3. Problems compiling Sablot with PHP
    By sparek-3 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-22-2005, 08:11 AM
  4. Compiling PHP with zend
    By csparks in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-01-2005, 07:06 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube