Results 1 to 2 of 2
  1. #1

    suphp on webmin with debian 5


    I have just installed my vps with webmin on debian 5 and I need a guide to how to configure my system to use suphp, Ive googled it but not come back with any clear guide.

    I better add Ive plunged in at the deepend and after the secuity breach at Vaserv, I can not take the easy option and install lxadmin any longer.

    Any help would be gratefully recevied

  2. #2
    Join Date
    Apr 2009
    First, disable the normal PHP5 module (as root):
    a2dismod php5
    /etc/init.d/apache2 restart

    Then, install the prerequisites needed to build mod_suphp:
    apt-get install php5-cgi apache2-prefork-dev

    Now, download and build suPHP as follows:
    cd /tmp
    tar xvfz suphp-0.6.2.tar.gz
    cd suphp-0.6.2
    ./configure --prefix=/usr --sysconfdir=/etc --with-apache-user=www-data --with-setid-mode=paranoid --with-apxs=/usr/bin/apxs2
    make install
    Finally, add the suPHP module to our Apache configuration...
    vi /etc/apache2/httpd.conf
    LoadModule suphp_module /usr/lib/apache2/modules/

    ... and restart Apache:
    /etc/init.d/apache2 restart

Similar Threads

  1. Replies: 12
    Last Post: 11-27-2006, 11:29 AM
  2. Which 3rd party management company for Debian and Webmin?
    By EnAlgures in forum Dedicated Server
    Replies: 8
    Last Post: 09-08-2006, 12:36 PM
  3. Install Webmin on Debian, can't access it
    By kurtk in forum Hosting Security and Technology
    Replies: 3
    Last Post: 08-21-2006, 09:35 PM
  4. Debian and Webmin?
    By fog in forum Dedicated Server
    Replies: 6
    Last Post: 04-11-2005, 09:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts