Page 1 of 1

[SOLVED] Configure lighttpd and php

PostPosted: Mar 14th, '12, 21:08
by paiiou
Hello all,
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).

On the other hand, I do not manage to put on with php. I read that it is necessary to install php-cgi with all its dependences.
But it is not enough.
Google did not inform me effectively. It is question of a fast-cgi module, but it is non-existent with mageia.
In fact, I think that lighttpd is compiled with fast-cgi.
I think that the problem is situated at the level of the configuration, but which?

Re: Configure lighttpd and php

PostPosted: Mar 15th, '12, 19:08
by linuxero

Re: Configure lighttpd and php

PostPosted: Mar 16th, '12, 08:31
by JoesCat
If you are looking for a lighter server, have you looked at nginx?

I didn't even know about it until I noted that it's making headway on the netcraft charts ( http://news.netcraft.com/ ), but it is supposedly very fast, and it's also included as a mageia RPM. The only downside is it's a bit different than Apache or lighttpd, but the upside is fairly positive in speed, size, and multiple connections at one time.

Re: Configure lighttpd and php

PostPosted: Mar 16th, '12, 09:18
by paiiou


Yes, this configuration works well with Mageia.
I found it so many others with Google!!!

Re: Configure lighttpd and php

PostPosted: Mar 16th, '12, 09:20
by paiiou
JoesCat wrote:If you are looking for a lighter server, have you looked at nginx?

I didn't even know about it until I noted that it's making headway on the netcraft charts ( http://news.netcraft.com/ ), but it is supposedly very fast, and it's also included as a mageia RPM. The only downside is it's a bit different than Apache or lighttpd, but the upside is fairly positive in speed, size, and multiple connections at one time.


Up to here, nginx had a dependence with Apache.
But I have just seen that it is corrected.

Re: Configure lighttpd and php

PostPosted: Mar 17th, '12, 00:34
by linuxero
So hopefully solved ;)