Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Diseñado para funcionar tan bien o mejor que PHP-FPM bajo ciertas circunstancias.
  • Menos uso de memoria que la mayoría de los otros controladores.
  • Las secuencias de comandos se ejecutan como usuario de dominio o subdominio, no como usuario de Apache.
  • No se requiere configuración especial.
  • Puede leer valores PHP de un archivo .htaccess.

Contras

  • You don't get full benefits without purchasing a third-party commercial product.
  • Not compatible with mod_ruid2 or mpm_itk (but it shouldn't need them).

Which PHP hander should I use?

What you should use depends on your server's resources and the types of PHP sites you need to serve. On cPanel, we recommend defaulting to suPHP, LSAPI or FCGI. On Plesk we recommend FastCGI. Once you understand how PHP-FPM works, you may want to try enabling it for at least some sites and see if it helps at all.

How do I change the PHP handler that Apache uses?

Warning

Do not change the PHP handler you are using without fully understanding what the handler will do. If you switch from a handler that does run scripts as the user to one that doesn't, or vice versa, you may need to adjust the permissions of some files or directories so that Apache can access things properly.

On cPanel, you can adjust the PHP handler in WHM by clicking on MultiPHP Manager and then select the PHP Handler tab and adjust the hander as needed.

Info

The settings in this area of cPanel only apply if you haven't configured a site to use PHP-FPM on the main MultiPHP Manager screen.

  • No obtienes todos los beneficios sin comprar un producto comercial de terceros.
  • No es compatible con mod_ruid2 o mpm_itk (pero no debería necesitarlos).

¿Qué controlador PHP debo usar?

El que debe usar depende de los recursos de su servidor y los tipos de sitios PHP que tenga. En cPanel, recomendamos utilizar de forma predeterminada suPHP, LSAPI o FCGI. En Plesk recomendamos FastCGI. Una vez que comprenda cómo funciona PHP-FPM, puede intentar habilitarlo para al menos algunos sitios y ver si ayuda.


¿Cómo cambio el controlador PHP que usa Apache?

Warning

No cambie el controlador PHP que está utilizando sin comprender completamente lo que hará el controlador. Si cambia de un controlador que ejecuta scripts como el usuario a uno que no lo hace, o viceversa, es posible que deba ajustar los permisos de algunos archivos o directorios para que Apache pueda acceder a las cosas correctamente.


En cPanel, puede ajustar el controlador PHP en WHM haciendo clic en MultiPHP Manager y entonces selecciona PHP Handler y ajustar el controlador según sea necesario.

Info

La configuración en esta área de cPanel solo se aplica si no ha configurado un sitio para usar PHP-FPM en la página principa de MultiPHP Manager.


En Plesk navegue a On Plesk, navigate to Service Plans > Example plan > PHP Settings > run PHP as and select the handler you want to use.y seleccione el controlador que desea usar.


Si tiene servicio con HostDime y no está seguro de qué hacer con sus controladores PHP, por favor Contáctenos  para asistencia antes de intentar hacer cualquier cambioIf you have service with HostDime and you are unsure what to do about your PHP handlers, please contact us for assistance before trying to make any changes.