change ssl mode

Discussion in 'Installation/Configuration' started by planet_fox, May 18, 2007.

  1. planet_fox

    planet_fox Member HowtoForge Supporter

    How can I change the ISPConfig from ssl mode to non ssl mode.

    And my next Problem I have Php run with Suphp. On all websites say phpinfo it runs PHP4 and in Suphp I have this set

    Code:
    [handlers]
    ;Handler for php-scripts
    x-httpd-php=php:/usr/bin/php4-cgi
    x-httpd-php=php:/usr/bin/php5-cgi
    
    
    ;Handler for CGI-scripts
    x-suphp-cgi=execute:!self
    
    How can I say some webs to run in php5 in ISP Config or I say all webs runs on php5 and some in php4.
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. planet_fox

    planet_fox Member HowtoForge Supporter

    ok nice I have change it.

    I have do exatly this on howto

    Code:
    http://howtoforge.de/suphp_debian_ispconfig
    and is use php4 and php5 as cgi with suphp .

    With this manual must I use php4 or 5 as apache2_mod ?

    I have this write in the ispcconfig directives, it haves no efekt

    Code:
    suPHP_Engine off RemoveHandler .php php_admin_flag engine on
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    If you want to use suphp, you will have to enable suphp in the ISPConfig config.inc.php file.
     
  5. planet_fox

    planet_fox Member HowtoForge Supporter

    Yes, I now and I have change from both to suphp in config.inc.php
    and gives a howto i can later a option box for all webs i can change
    php4 or php5 . I think you planing for the new realase from ISP.
    I want develop self this act.
     
    Last edited: May 21, 2007
  6. planet_fox

    planet_fox Member HowtoForge Supporter

    ok I have php4 run and php5 . I can see with infophp.php the infop about php4
    and with infophp.php5 the php5 info. What must I set in isp to run only php5 or only php4
     
  7. planet_fox

    planet_fox Member HowtoForge Supporter

    I have configure by Hand, I have add x-httpd-php(5) on this web, I now when I change som things in ispconfig web frontend isp_config reload the vhosts.conf and php4 is running . What must I do in directive in isp config for solve the problem.



    Code:
    AddType application/x-httpd-php5 .php .php3 .php4 .php5
    suPHP_Engine on
    suPHP_UserGroup web76_ftp web76
    AddHandler x-httpd-php5 .php .php3 .php4 .php5
    suPHP_AddHandler x-httpd-php5
    
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    The SuPHP directives are all added automatically by ISPConfig when you enable SuPHP in the file /home/admispconfig/ispconfig/lib/config.inc.php as I described above. It is not nescessary to add the directives manually.
     

Share This Page