suphp-0.7.1 and DirectAdmin
Tue, 06/30/2009 - 16:56 — sandipRecently upgraded server running DirectAdmin to suphp-0.7.1 via the Custombuild. However, got "500 Internal Server Error" on accessing sites running on php5-cgi with log as below:
SecurityException in Application.cpp:511: Unknown Interpreter: php
The solution was to update the suphp.conf file as below:
Edit "/usr/local/suphp/etc/suphp.co
[handlers]
;Handler for php-scripts
x-httpd-php5=php:/usr/local/ php5/bin/php-cgi
;Handler for CGI-scripts
x-suphp-cgi=execute:!self
to:
[handlers]
;Handler for php-scripts
x-httpd-php5="php:/usr/ local/php5/bin/php-cgi"r />
;Handler for CGI-scripts
x-suphp-cgi="execute:!s elf"
Note the double quotes for the variables.
Running `./build rewrite_confs` should fix this issue as well.
- sandip's blog
- Login or register to post comments