Latest CB (now with suphp) doesnt render PHP with PHP-FPM?

darkus

Verified User
Joined
Dec 15, 2005
Messages
114
So there was a change recently to include suphp support and I guess now you have to use the words php-fpm instead of cgi in options.conf

SO I decided to kill the "old" CB2 and download a new copy starting from scratch

When I rebuild apache and php with php1 set to php-fpm and mod_ruid2 set too off, Apache and PHP seem to compile just fine, however PHP will output the raw php file to the user and not render an actual html page

switching back to mod_php and everything works fine but with php-fpm its a serious issue, passwords and stuff are being rendered to users!
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,932
Location
GMT +7.00
Hello,

try this

Code:
cd /usr/local/directadmin/custombuild
 ./build update
 ./build apache
 ./build php n
 ./build rewrite_confs
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,478
Location
LT, EU
I think you are running an old version of DA. Please update it. You need the latest pre-release version (DA 1.42 or higher) for it to work.
 
Top