[SOLVED] Configure lighttpd and php

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED] Configure lighttpd and php

Postby paiiou » Mar 14th, '12, 21:08

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?
Last edited by paiiou on Mar 17th, '12, 08:49, edited 1 time in total.
paiiou
 
Posts: 35
Joined: Mar 30th, '11, 22:37

Re: Configure lighttpd and php

Postby linuxero » Mar 15th, '12, 19:08

linuxero
 
Posts: 345
Joined: Oct 7th, '11, 15:50

Re: Configure lighttpd and php

Postby JoesCat » Mar 16th, '12, 08:31

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.
User avatar
JoesCat
 
Posts: 177
Joined: Sep 15th, '11, 04:27
Location: Richmond, BC, Canada

Re: Configure lighttpd and php

Postby paiiou » Mar 16th, '12, 09:18



Yes, this configuration works well with Mageia.
I found it so many others with Google!!!
paiiou
 
Posts: 35
Joined: Mar 30th, '11, 22:37

Re: Configure lighttpd and php

Postby paiiou » Mar 16th, '12, 09:20

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.
paiiou
 
Posts: 35
Joined: Mar 30th, '11, 22:37

Re: Configure lighttpd and php

Postby linuxero » Mar 17th, '12, 00:34

So hopefully solved ;)
linuxero
 
Posts: 345
Joined: Oct 7th, '11, 15:50


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest