Hi suphp mailing list,

I am making my first experiences with suphp. So far I was having some configuration issues which I could manage based on the suphp.log however I am still not able to make suphp running. As you can see I am getting an internal server error which does not help me much since the suphp.log file is empty. I am writing to this mailing list to ask how to debug / troubleshoot this issue.





D4:apa...@spquist1p:prod01$ ls -l /opt/suphp/0.7.1/sbin/suphp
-rwsr-xr-x 1 root root 2047153 Sep  5 02:23 /opt/suphp/0.7.1/sbin/suphp
D4:apa...@spquist1p:prod01$ ls -l /var/opt/apache/log/suphp.log
-rw------- 1 root apache 0 Sep  5 02:35 /var/opt/apache/log/suphp.log
D4:apa...@spquist1p:prod01$ cat /opt/apache/2.2.16/conf/httpd.conf
...
LoadModule suphp_module       modules/mod_suphp.so
<IfModule mod_suphp.c>
    suPHP_Engine on
    suPHP_ConfigPath /opt/suphp/0.7.1/conf/suphp.conf
    AddType application/x-httpd-php .php
    AddHandler application/x-httpd-php .php
    DirectoryIndex index.php
    <Location />
        suPHP_AddHandler application/x-httpd-php
    </Location>
</IfModule>
...

Thank you for your feedback.

Regards,
David

[global]
;Path to logfile
logfile=/var/opt/apache/log/suphp.log

;Loglevel
loglevel=error

;User Apache is running as
webserver_user=apache

;Path all scripts have to be in
docroot=${HOME}

;Path to chroot() to before executing script
chroot=${HOME}

; Security options
allow_file_group_writeable=true
allow_file_others_writeable=true
allow_directory_group_writeable=true
allow_directory_others_writeable=true

;Check wheter script is within DOCUMENT_ROOT
check_vhost_docroot=true

;Send minor error messages to browser
errors_to_browser=true

;PATH environment variable
env_path=/bin:/usr/bin

;Umask to set, specify in octal notation
umask=0077

; Minimum UID
min_uid=1600
; Minimum GID
min_gid=1600

[handlers]
;Handler for php-scripts
application/x-httpd-php="php:/opt/php/current/bin/php"

;Handler for CGI-scripts
x-suphp-cgi="execute:!self"
_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp

Reply via email to