Installing suPHP on a base CentOS 5.2 install

Discussion in 'Server Operation' started by random.guy, Apr 1, 2009.

  1. random.guy

    random.guy New Member

    I have been trying to get suPHP to work for days now, and I am very close, but no cigar :/

    All the How-To's I have found either mention a different OS, rely on other components (i.e. ISPconfig), or involve recompiling apache/php which I am trying to avoid.

    I have suPHP successfully (I think) compiled and installed, but whenever I load a .php file, it prompts me to download the php file. Most instructions mention adding the AddHandler/AddType statements to suphp.conf, but no luck. If anyone has this working on a regular CentOS 5.2 install, can they please post the /etc/httpd/conf.d/suphp.conf and /etc/suphp.conf here? Thanks!
     
  2. falko

    falko Super Moderator

    Can you post your configuration files here? Are there any errors in Apache's error log?
     

Share This Page