Bug 4952 - The file fastcgi.conf is missing
Summary: The file fastcgi.conf is missing
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2012-03-15 13:36 CET by Georges Eckenschwiller
Modified: 2012-08-03 20:57 CEST (History)
5 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
Proposed fastcgi.conf file (487 bytes, text/plain)
2012-03-16 14:15 CET, Georges Eckenschwiller
Details

Description Georges Eckenschwiller 2012-03-15 13:36:38 CET
I try to replace Apache by a lighter server: lighttpd. 
The installation is with no problem at all. The configuration by default works well with files html. (It works). 
But I cann't configure lighttpd to work with php. 
I read that it is necessary to install php-cgi with all its dependences. 
This is made. 
I also found that it is necessary to validate: include "conf.d/fastcgi.conf" in modules.conf. 
But the file fastcgi.conf does not exist.
Comment 1 Manuel Hiebel 2012-03-15 16:02:36 CET
Any ideas guys ?

CC: (none) => fundawang, guillomovitch, luigiwalser

Comment 2 Guillaume Rousse 2012-03-15 21:13:21 CET
Our packages lacks a large number of sample config files, I just added them. I also added a small php configuration file, stolen from Fedora. Please test new 1.4.30-3.mga2 release.
Comment 3 Georges Eckenschwiller 2012-03-15 21:48:09 CET
I had already tried with Fedora's file. 
I have just redone the try. 
It does not work. 

On the other hand, on the forum of Mageia, I just found the good solution: a link to 
http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html

With this configuration, it is OK.
Comment 4 Guillaume Rousse 2012-03-15 23:25:08 CET
Well, if the only problem was "missing proper configuration directives", that's not really a packaging problem, and the issue can be closed.

Status: NEW => ASSIGNED

Comment 5 Georges Eckenschwiller 2012-03-16 08:27:34 CET
I would like not to close the report.
I found so bad solutions on the Internet that I think:
it would be useful to create a fastcgi.conf file correctly adapted to Mageia.
Comment 6 Guillaume Rousse 2012-03-16 09:48:30 CET
There is such a configuration file already, the upstream one. I have no clue about how it is adapted, sure, but I'd rather avoid adding yet another piece of personal suggestions here, especially as I have no expertise of lighttpd at all...
Comment 7 Georges Eckenschwiller 2012-03-16 14:15:55 CET
Created attachment 1779 [details]
Proposed fastcgi.conf file

Yes, I understand. 

I have just ended my tries and I propose, in appendix, a very simple file which works.

In the modules.conf file, the user does not have more than has to validate the line

include "conf.d/fastcgi.conf"
Comment 8 Remco Rijnders 2012-04-23 09:19:36 CEST
Changing status back to assigned, unless you want it Guillaume, in which case we should change the assignee :)

Status: ASSIGNED => NEW
CC: (none) => remco

Comment 9 Marja Van Waes 2012-05-26 13:07:00 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 10 Marja Van Waes 2012-08-03 20:57:36 CEST
2 months later, no reply, closing as old

Feel free to reopen if needed and tell in which fully updated Mageia version(s) you still have this issue

Status: NEW => RESOLVED
CC: (none) => marja11
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.