1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

mod_suphp

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by 19patje72, Sep 7, 2010.

  1. 19patje72

    19patje72 New Pleskian

    22
    57%
    Joined:
    Apr 12, 2007
    Messages:
    24
    Likes Received:
    0
    hi,

    I have seen various threads and links to get mod_suphp working. But I cant get it done. I need it only for one subdomain only.

    The Plesk version is 9.5.2 and Ive got this rpm package installed: mod_suphp-0.6.3-1.fc8

    These are the config files.
    cat /etc/httpd/conf.d/mod_suphp.conf

    cat /etc/suphp.conf

    cat httpd.include, this is only the subdomain part. The domain part is untouched.

    anyone got an idea what I'm missing here?

    thanks, Patrick
     
  2. lvalics

    lvalics Silver Pleskian Plesk Guru

    36
    43%
    Joined:
    Jun 20, 2003
    Messages:
    965
    Likes Received:
    32
    Location:
    Romania
  3. INVY

    INVY New Pleskian

    19
    60%
    Joined:
    Dec 8, 2009
    Messages:
    8
    Likes Received:
    0
  4. lvalics

    lvalics Silver Pleskian Plesk Guru

    36
    43%
    Joined:
    Jun 20, 2003
    Messages:
    965
    Likes Received:
    32
    Location:
    Romania
    Yes, of course.
     
  5. INVY

    INVY New Pleskian

    19
    60%
    Joined:
    Dec 8, 2009
    Messages:
    8
    Likes Received:
    0
    thanks :)
     
  6. TampaGreg

    TampaGreg Guest

    0
     
    suPHP Configuration Woes

    HELP! I've gone through the guide at http://www.grafxsoftware.com/faq.php/HOW-TO-Setup-a-PLESK-Dedicated-Server/1/4/ for HOURS on end and still can't seem to get this right.

    I'm getting an error starting apache…

    I'm running:
    Plesk 9.5
    Centos 5.5
    Apache 2.2
    suPHP 0.7.1

    Here's my /etc/httpd.conf/suphp.conf

    Here's /etc/suphp.conf

    And finally /var/www/vhosts/domain.com/conf/vhost.conf

     
  7. lvalics

    lvalics Silver Pleskian Plesk Guru

    36
    43%
    Joined:
    Jun 20, 2003
    Messages:
    965
    Likes Received:
    32
    Location:
    Romania
    Try to change this to
    docroot=/var/www/vhosts:${HOME}/httpdocs

    docroot=/var/www/
     
  8. CatalinS

    CatalinS Basic Pleskian

    20
    40%
    Joined:
    Jan 21, 2010
    Messages:
    33
    Likes Received:
    0
    Here is what I am doing when installing suphp on Plesk ( I am working for a webhosting company ... every time it worked without problems). This can be adapted for custom php installations (running both php4 and php5 or just one of them in a different location).

    Test if suphp binary has been generated and is working properly:

    Check if mod_suphp.so apache module has been correctly put in /usr/lib/httpd/modules/:

    Create a /etc/httpd/conf.d/suphp.conf file:

    Create a /opt/suphp/etc/suphp.conf file:

    Disable PHP from Plesk for the user(s) needing suPHP. (if you have custom installation of php )

    Go to /var/www/vhosts/domain.com/conf and create a vhost.conf file if it does not exist already:

    Make sure you change the suPHP_UserGroup or it will not work!!


    To test the installation create a file test.php (make sure safe_mode is disabled and the file has no more then 644 permissions and the folder 755) :

     
    Last edited: Sep 23, 2010
  9. lvalics

    lvalics Silver Pleskian Plesk Guru

    36
    43%
    Joined:
    Jun 20, 2003
    Messages:
    965
    Likes Received:
    32
    Location:
    Romania
    ART repository contain the mod_suphp package, easy, just yum install mod_suphp :) and then to do the small modifications. Can be done in 2 min.
     
Loading...