suPHP 0.7.1 released

Updated via Custombuild, but I got 500 Internal Server Error

Code:
SecurityException in Application.cpp:511: Unknown Interpreter: php, referer: http://xxx.com/yyy
Premature end of script headers: index.php, referer: http://xxx.com/yyy

I've found the solution:

Edit /usr/local/suphp/etc/suphp.conf

Change from

Code:
[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

Code:
[handlers]
;Handler for php-scripts
x-httpd-php5=[COLOR="Red"]"[/COLOR]php:/usr/local/php5/bin/php-cgi[COLOR="Red"]"[/COLOR]

;Handler for CGI-scripts
x-suphp-cgi=[COLOR="Red"]"[/COLOR]execute:!self[COLOR="Red"]"[/COLOR]
 
Same here, but before I saw this thread; I did a ./build update and a ./build all. This also solved the problem.
 
"./build rewrite_confs" or "./build php n" can fix this problem too :)
 
I ran into the 500 errors again, and Martyna's tips fixed the issue. (When will we see an official DirectAdmin wiki? :))
 
Back
Top