[BlueOnyx:18561] Re: 5209R - error with suphp

Michael Stauber mstauber at blueonyx.it
Sat Oct 24 01:57:45 -05 2015


Hi Dirk,

> if I try to use suphp with a site (other php version like the main version) suphp is not running and I get an error message:
> 
> [Fri Oct 23 21:52:24.733418 2015] Handler "x-httpd-suphp-5.3" not found

Could you please run "rpm -q mod_suphp" and report back what it says? It
should report this:

# rpm -q mod_suphp
mod_suphp-0.7.2-0BX14.el7.x86_64

Also, please report if your /etc/suphp.conf has the following section in it:

[handlers]
;Handler for php-scripts
x-httpd-suphp="php:/usr/bin/php-cgi"
x-httpd-suphp-5.3="php:/home/solarspeed/php-5.3/bin/php-cgi"
x-httpd-suphp-5.4="php:/home/solarspeed/php-5.4/bin/php-cgi"
x-httpd-suphp-5.5="php:/home/solarspeed/php-5.5/bin/php-cgi"
x-httpd-suphp-5.6="php:/home/solarspeed/php-5.6/bin/php-cgi"

If you're running a different version of "mod_suphp" and/or the
suphp.conf doesn't have the correct section as shown above, then you get
this kind of error.

I think your suphp.conf is missing parts of that section. Add them
accordingly. I need to check which handler/constructor is supposed to
add them and will see if there are any problems with that code.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list