Trying to run 2.8 php/lighttpd issues

somus1735

Member
May 25, 2018
833
0
16
First off I'm running CentOS 5, trying to run 2.8 of rutorrent.

It was suggested to use Lighttpd on an alternate port 81, to avoid issues with my apache already running on 80.
I installed Lighttpd with no issues to speak of until I got to php.

When I run
Code:
yum install lighttpd-fastcgi php-cliCentOS can't find a package for php-cli, as a result Lighttpd won't start because I've uncommented those lines for mod_fastcgi. I tried looking for a package I could install to fix this issue but haven't had any luck. Is another way to get this working? End result I just want to use rutorrent, this is just the method I found suggested, CentOS is a popular distro I'm confused why this is even an issue.

Suggestions?
 

das329717

Member
May 25, 2018
928
0
16
mmh, if you are running apache with PHP the package should already be there.

What do you get as result on the console with
Quote
rpm -qa |grep php​

and
Code:
php -v
 

shwetha17

Member
May 24, 2018
785
0
16
worst case scenario you could compile php from source. It's not THAT hard.

also, if he is running php with apache most likely he is running mod_php which isn't the same as the php which lighttpd needs.

(lighttpd needs php-cgi compiled with support for fast cgi)