-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 14/06/2013 13:29, Reindl Harald a écrit :

>> However it has been told that FastCGI provide also a performance
>>  increase so, we would like to reach it also :)

Faster than CGI, probably, but nearly nobody use CGI nowadays ;)

> ok, fire them really
> 
> it is impossible that the webserver speaking via CGI/FCGI with a
> standalone PHP binary is faster than having PHP inside the httpd
> process and this sounds like a typical "webserver hosting company"
> knowing zero to nothing

I agree. Especially when you have are mostly serving dynamic PHP files.

When you serve a lot of static files, and only a few PHP scripts, it
could be faster to use FPM as this allow you to switch Apache in
threaded mode (worker of event instead of prefork) where the mod_php
is not really supported (even if still provided in Fedora).

But mod_php still the most flexible solution as it's the only one
which allow you to use simply:
        alias  (else you need 1 Proxy config per alias)
        multiviews (/foo/bar calling /foo.php)
        directoryindex (index.php)
        access right per directory
        ...

Remi.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlG7+s4ACgkQYUppBSnxahguxACfXw1SDIafQj6y+g2on2qIyp1i
Fb0AnjIPJXxoU5/Lg6jOmU8oegAh6iK9
=84lb
-----END PGP SIGNATURE-----
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to