[BlueOnyx:08717] Re: more suphp problems

Michael Stauber mstauber at blueonyx.it
Mon Oct 3 21:01:23 -05 2011


Hi Søren,

> Found the cause of the problem: When running without suphp php version
> 5.2.17 is used, when switching suphp on suddenly php version 5.1.6 is
> used.
> 
> How can i fix this ?

Like Joachim said: In the /etc/suphp.conf change the line ....

x-httpd-suphp="php:/usr/bin/php-cgi"

... to this:

x-httpd-suphp="php:/home/solarspeed/php/bin/php-cgi"

Typically the PKG will do this for you on installation. And newer PHP PKGs of 
mine have a constructor included which periodically checks if that line is 
still present and didn't get changed during a suPHP upgrade.

However, the older PKGs (PHP-5.2 has been discontinued) may not have that and 
after a suPHP upgrade this info could go walkies.

-- 
With best regards

Michael Stauber




More information about the Blueonyx mailing list