The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Suhosin Extension does not officially support PHP 5.2

Discussion in 'Workarounds and Optimization' started by anton_latvia, Mar 27, 2012.

  1. anton_latvia

    anton_latvia Well-Known Member
    PartnerNOC

    Joined:
    May 11, 2004
    Messages:
    348
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Latvia
    cPanel Access Level:
    Root Administrator
    Suddenly one of customers noticed quite big error_log file full of the messages:

    Code:
    PHP Warning:  PHP Startup: Suhosin Extension does not officially support PHP 5.2 and below anymore, because it is discontinued. Use it at your own risk. in Unknown on line 0 
    We had to downgrade suHosin to fix this.

    Code:
    # download and install older suhosin
    wget http://download.suhosin.org/suhosin-0.9.31.tgz
    tar zxf suhosin-0.9.31.tgz
    cd suhosin-0.9.31
    phpize
    ./configure
    make
    make install
    /etc/init.d/httpd restart
    
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You would likely want to add this additional information:

    http://forums.cpanel.net/f5/problem-install-suhosin-259741.html#post1088361

    This ensures it isn't added back to Apache during EasyApache recompile and that the suhosin.so file remains in the required directory. The steps would be something like "/usr/local/cpanel/scripts/phpextensionmgr uninstall PHPSuHosin" first, then running the commands you've noted (and that I note in a prior post in that linked thread), then the other commands after that mentioned in my post.
     

Share This Page