Entradas

Mostrando las entradas etiquetadas como suphp httpd

How to install and configure suPHP

This tutorial is about how to install and configure suPHP. I know that they exist more tutorials about this but even though I'll write it because it took me a lot of time for me to make it work, and I want to explain how it finally work for me. I made this installation and configuration with Fedora 16 and httpd. What the suPHP module does is define which user and group will execute the PHP scripts. This is established inside one or more VirtualHost. This means that we can have multiple users for each one of our sites. They can even be executed by root but this is not advisable. Now let's see how to install it: It can be with yum or in case of Debian based distros with apt-get, but at least with Fedora and other similar distros I recommend to download the suPHP module from the official site. Here is the link: Now that we have downloaded the package, we untar it: tar -xzvf suphp-*.tar.gz We get inside the folder that is generated after de untaring and we configure...

Instalación y configuración de suPHP

Hola hoy voy a hacer este tutorial de como instalar y configurar el módulo suPHP para Apache o httpd. La instalación la realicé en Fedora 16 con httpd. Tal vez ya muchos saben como instalarlo pero de todas formas lo escribiré ya que yo nunca antes lo había hecho y si me tomo tiempo para algo tan sencillo que es el lograr que funcionara. Lo que el módulo suPHP hace en si es definir que usuario y grupo ejecutará los scripts de PHP. Esto se define dentro de uno o varios VirtualHost. Esto quiere decir que podemos tener distintos usuarios para cada uno de nuestros sitios. Incluso pueden ejecutarse bajo root aunque no es recomendable. Ahora como se instala: Se puede con yum o en caso de distros basadas en Debian con apt-get, pero al menos en el caso de Fedora y otras distros similares recomiendo que se descargue desde la página oficial (lo digo por experiencia -.-). Aquí está el link: http://www.suphp.org/Download.html Entonces ya descargado descomprimimos el paquete con: tar -x...