Gadget Reviews, Tech Tips, Computer Optimization, Tech News, Vista Tweak, Software Tricks, Blogging Tips, Downloads


(Fix Almost all errors and Speed up PC Performance up to 300%)

Installing suPHP on CentOS 5.x VPS

This is a very straight forward guide to installing and configuring suPHP on CentOS 5.0, 5.2, 5.3, etc.

Follow the instruction below:

1) Update Yum Repositories to use RPMForge, follow the instruction here: http://wiki.centos.org/AdditionalResources/Repositories/RPMForge

2) yum install mod_suphp

3) edit /etc/suphp.conf

4) make sure these lines are there:

webserver_user=apache
x-httpd-php="php:/usr/bin/php-cgi"
x-suphp-cgi="execute:!self"

5) edit /etc/httpd/conf.d/suphp.conf (which is the global configuration for suPHP).

change it to suPHP_Engine off

6) Set suPHP to work with VirtualHost, add these few lines inside <virtualhost> </virtualhost> tag.

suPHP_Engine on
suPHP_UserGroup username groupname
AddHandler x-httpd-php .php .php3 .php4 .php5
suPHP_AddHandler x-httpd-php

Done.

Popularity: 1%

Please Share and Bookmark :)
  • StumbleUpon
  • del.icio.us
  • Technorati
  • Reddit
  • BlinkList
  • Facebook
  • Mixx
  • Twitter

Triple Your PC Performance with Perfect Optimizer!


Leave a Reply

You must be logged in to post a comment.


Learn How to Make Money