Hi guys, Im tryin to install mod_suphp but unfortunately i cant. It fails Any help would be appreciated
System:
Centos 5.2_64
Suhosin
Mod_security
Plesk 8.6 installed
php 5.12
512 mb ram
Steps:
* yum install mod_suphp
* service httpd restart
My configuration files.
etc/httpd/conf.d/mod_suphp.config
etc/suphp.conf
System:
Centos 5.2_64
Suhosin
Mod_security
Plesk 8.6 installed
php 5.12
512 mb ram
Steps:
* yum install mod_suphp
* service httpd restart
My configuration files.
etc/httpd/conf.d/mod_suphp.config
# This is the Apache server configuration file providing suPHP support..
# It contains the configuration directives to instruct the server how to
# serve php pages while switching to the user context before rendering.
LoadModule suphp_module modules/mod_suphp.so
### Uncomment to activate mod_suphp
suPHP_AddHandler x-httpd-php
# This option tells mod_suphp if a PHP-script requested on this server (or
# VirtualHost) should be run with the PHP-interpreter or returned to the
# browser "as it is".
#suPHP_Engine on
# This option tells mod_suphp which path to pass on to the PHP-interpreter
# (by setting the PHPRC environment variable).
# Do *NOT* refer to a file but to the directory the file resists in.
#
# E.g.: If you want to use "/path/to/server/config/php.ini", use "suPHP_Config
# /path/to/server/config".
#
# If you don't use this option, PHP will use its compiled in default path.
#suPHP_ConfigPath /etc
etc/suphp.conf
[global]
;Path to logfile
logfile=/var/log/httpd/suphp.log
;Loglevel
loglevel=warn
;User Apache is running as
webserver_user=apache
;Path all scripts have to be in
docroot=/
;Path to chroot() to before executing script
;chroot=/mychroot
; Security options
allow_file_group_writeable=false
allow_file_others_writeable=false
allow_directory_group_writeable=false
allow_directory_others_writeable=false
;Check wheter script is within DOCUMENT_ROOT
check_vhost_docroot=true
;Send minor error messages to browser
errors_to_browser=false
;PATH environment variable
env_path=/bin:/usr/bin
;Umask to set, specify in octal notation
umask=0022
; Minimum UID
min_uid=30
; Minimum GID
min_gid=30
;Use correct permissions for mod_userdir sites
;handle_userdir=true
[handlers]
;Handler for php-scripts
#x-httpd-suphp="php:/usr/bin/php-cgi"
php5-script="php:/usr/bin/php-cgi"
;Handler for CGI-scripts
x-suphp-cgi=execute:!self