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

Dirk Estenfeld dirk.estenfeld at blackpoint.de
Sat Oct 24 04:46:19 -05 2015


Michael,

rpm is installed but handles section in /etc/suphp.conf was missing:

[handlers]
;Handler for php-scripts
x-httpd-suphp="php:/usr/bin/php-cgi"


I replaced it with you section and it is working now.

Thank you and have a nice weekend.

Regards,
Dirk


-----------------------------------------------
blackpoint GmbH - Friedberger Straße 106 - 61118 Bad Vilbel


-----Ursprüngliche Nachricht-----
Von: blueonyx-bounces at mail.blueonyx.it [mailto:blueonyx-bounces at mail.blueonyx.it] Im Auftrag von Michael Stauber
Gesendet: Samstag, 24. Oktober 2015 08:58
An: BlueOnyx General Mailing List <blueonyx at mail.blueonyx.it>
Betreff: [BlueOnyx:18561] Re: 5209R - error with suphp

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
_______________________________________________
Blueonyx mailing list
Blueonyx at mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx




More information about the Blueonyx mailing list