Compile multiple PHP version with suhosin

Discussion in 'Install/Configuration' started by Ronnie, Jun 25, 2013.

  1. Ronnie

    Ronnie Member


    I have compiled 2 versions of PHP with LSWS, One version is php 5.3.26 and one is PHP 5.4.16 and now it is possible to switch from them with adding the desired AddType application MIME Type in .htaccess.
    Now the problem is that I want to use my PHP with suhosin. Since I have build my default version (php 5.3.26) with easyapache, it is running with sohosin without any issue, But I don't know how to build my other version with sohosin.
    I didn't find any option to build that with sohosin in litespeed.

    Any help would be appreciated.
  2. siamon

    siamon New Member

    I installed the 15 days trial version, and I want see the difference to the standard too, any advices for downgrade ?!
    OR is it just enough to overwrite with the standard files ?
    There is a 64-bit system on my VPS running, I red that I would need to install some 32-bit packs, so if I overwrite my existing installation this should be fine already, right ?!

    Last edited: Jul 24, 2014
  3. webizen

    webizen Well-Known Member

    just install the standard edition and choose 'U' for upgrade.

    there is a little note at bottom of the download page for install 32bit app on 64bit system.

    ** If you want to run the standard version on 64bit Linux, you need to install 32bit compatible libraries (ia32-libs for Ubuntu/Debian and glibc for CentOS).
  4. webizen

    webizen Well-Known Member

    to add suhosin to php build, just following below procedures replacing with suhosin source
  5. Ronnie

    Ronnie Member

    Thank you

    Thank you for response.
    But I've figured out suhosin is no longer supported in New versions of PHP like 5.3.26 or 5.4. So I guess I should avoid using that.
    But the question is how can I prevent Eval functions without suhosin.

Share This Page