New here? Register and read our Community Rules. Accounts are approved by hand.

PHP script execution mode

2»

Comments

  • Hello,

    Em... so mod_php seems wouldn't be LEB friendly.. :)
    Any suggestion which execution mode is the most LEB friendly in terms of memory usage?
    Thanks...

  • I have experienced a lot of problems with php-fpm on a site with high traffic peaks; it used a ridiculous amount of RAM. I've had much better results with (lighttpd +) php-fcgi.

  • @joepie91 said: I have experienced a lot of problems with php-fpm on a site with high traffic peaks; it used a ridiculous amount of RAM. I've had much better results with (lighttpd +) php-fcgi.

    There was a bug in php-fpm (in an ubuntu setup) a few months ago which hogged the memory pretty badly, but it has been fixed now. I use it on some high-level production websites and with the right tuning it gave me the best performance I experienced (yet). That was in combination with Nginx though. See http://tuxlite.com for pre-tweaked config scripts (not mine)

Sign In or Register to comment.