7/25/2019 Servidor Web en Linux Debian 6 Soporte Para PHP
1/8
23/07/13 Servidor Web en Linux Debian 6 Soporte para PHP
www.forat.info/2008/02/23/servidor-web-en-linux-debian-6-soporte-para-php/
InicioAlmacn
AutorEnlaces
HardwareProyectos
UbuntuVideos
La Clave
http://www.googleadservices.com/pagead/aclk?sa=L&ai=CODY0JPXuUbfRHrT_wQH8ioHoBYPnj-wDo8uB733AjbcBEAEgtZGKA1D8-7eyAWDfBqAB07iU_wPIAQOoAwHIA9EEqgSpAU_Q0PsMNbn5SZor7Fhyr8KpLFLrUKcVpFxNiXdEnhSfB72ae3TOC19BPgHcCjKIUlEWw_VwiAwQl2Rh1TmUSPdp35ocPxe5nGqNPEL8Gs4gaWJRFON6gJ17Ji8sTEKB-1QzWepPrVLNhTS-0SVVvwqgAhwR6GbrK403MLvvpKOQzZkEawGKYJUYQVptQIzz9jBNpk_G8rjczgwypu1kXiaXEsWKckAzYPeIBgGgBgOAB5XHaw&num=1&cid=5GgVewpFEA8GhsI6p4s40uIJ&sig=AOD64_0ddfHzHGYBk7FGdITIOoe7tCayhQ&client=ca-pub-3027868516974715&adurl=http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi%3Fid%3Dgoogle%26page%3Dhttp://www.hostgator.com/promo/special-offer.shtmlhttp://googleads.g.doubleclick.net/aclk?sa=L&ai=CEaGuIvXuUe_gMOX_wQGSvICwB_S8yLgDhOSY4Gbr5vT9CBABILWRigNQgO_41gRg3wbIAQKoAwHIA9EEqgSmAU_Qb9OV0R6mYNQZs4G81PoGxX662TpnrRQPPcNq7Cc9JPBN6cLylS4tEDzf5vR0Vl1NfMnZrWDCaI-pHEaR-yJMm8os7CLdMubUMiA-neqFF-mKvuTVgfrXzbANpRCgxE0BLxkbXxbTvA-6EtuuOGYa-1TbbojJQXXf-rVJrD77Oi6TbIhNkokv6ZWvJ9YcG9WWrQjPlfzXoh0O_Ccmsy01or-zI5SgBgKAB9zwwCM&num=1&sig=AOD64_3B1xkM8DBwCil2nJoBLMbxoqOo0A&client=ca-pub-3027868516974715&adurl=http://www.olx.com.ve%3Finvite%3Dgoogle-ve-gdnhttp://feeds.feedburner.com/forat/infohttp://www.forat.info/mis-videos/http://www.forat.info/ubuntu/http://www.forat.info/proyectos/http://www.forat.info/hardware/http://www.forat.info/enlaces/http://www.forat.info/forat/http://www.forat.info/archivo/http://www.forat.info/7/25/2019 Servidor Web en Linux Debian 6 Soporte Para PHP
2/8
23/07/13 Servidor Web en Linux Debian 6 Soporte para PHP
www.forat.info/2008/02/23/servidor-web-en-linux-debian-6-soporte-para-php/
alternateApplearchivos blogcomoconfiguraciondaboblogdebianforatfreebsdftpgeekGNU/Linux
HardwarehdhostinginstalacioninstalarLinuxmanualmediacenterMememoddingmontajemysqlonlinepcPodCastredregaloreviewSec-InfoserverservidorsorteosshterminaltorrentubuntuvideowebWifi
windowsw irelesswordpress
FDB
Seguridad y optimizacin de Servidores GNU/Linux Debian basados en Apache, MySQL y PHPCambio de pantalla Samsung Galaxy Tab
enInternet.es las noticias de La Red Primeros PremiosenInternet.es las noticias de La Red
Hoy nace el mayor de mis proyectos, ( enInternet.es La Red )Este domingo despegamos !
Monitorea servidores GNU/Linux desde la TerminalDaboBlog Podcast especial Feliz 2013
Daboblog Podcast n39Guadalux Fundacin Software Libre
DaboBlog PodCast n38
Rack Project ( Manual Completo )DaboBlog PodCast n37
Samsung Galaxy Tab Keyboard DockJuega al pker desde Linux con apuestas reales o ficticias
Rack Project Vol 8 CompletadoRack Project Vol 7 Accesorios
Rack Project Vol 6 ArmarioRack Project Vol 5 Rack Final
Rack Project Vol 4 Rack Chasis
Servidor Web en Linux Debian 6 Soporte para PHP
En la Categora Debian, Servidor Debianel dia 23 febrero 2008 0
http://www.googleadservices.com/pagead/aclk?sa=L&ai=CjOARKPXuUZGDCua6wQHtiIHQDprAyIkF6qzk7oMB2uCCs6YBEAEgtZGKA1D42-XS_f____8BYN8GoAH-gobRA8gBAqkCsIG7zxQqtj6oAwHIA9EEqgSqAU_Qc_VeQ0qSpC0Sad27wugHxMwXFgOZlgEPsDvX6lzPn7NtoeT28tPX_k50dZRMpzN7ogjYTUdOE3XAfHx7KUNodfn4WpoA9l2LPRLZ9Pgik3md0aXLBlPoAdyr5Z2URuDDD-5Z1VOFN0sgMA38xw6SWIM1HF2_omrdX7BWDBBocUiFQxUJZPH6qGjsNhRB3n0drYUKLTagalzZvEm59FhWSwvR7qk-u_9siAYBoAYCgAfq_Pku&num=1&cid=5GgcN40lecA4FUJyIvsi5pmJ&sig=AOD64_2_ltckDRPZLcFgKD5ZS77JpTRqpQ&client=ca-pub-3027868516974715&adurl=http://www.webempresa.com/packs-joomla/pack-empresa-joomla.htmlhttp://www.eninternet.es/http://www.forat.info/category/como-montar-un-servidor-web-en-debian/http://www.forat.info/category/debian-how-to/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/rw79zCps_FA/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/Aco0VHWEHK4/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/vQ78jWflBAU/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/jgkmcfLV9w8/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/P8Ye-N_4PB8/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/hF-zUA-ccso/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/2I0ZnLVG7Dc/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/uYceO9jof_c/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/8Pl4O7f1PTQ/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/0GY2hQaYUA8/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/54NiwsaGKNw/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/ktilCrJ4_KY/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/rN3ISBID8AI/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/mZ1oid4cnrI/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/BzuMHn7bpAU/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/v_1fOafdemM/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/vAozUqpQsYo/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/H_RDzWL7ASM/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/jzUHQVf9qFE/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/BLIdzUavs50/http://www.factoriadeblogs.com/http://feeds.feedburner.com/FactoriaDeBlogshttp://www.forat.info/tag/wordpress/http://www.forat.info/tag/wireless/http://www.forat.info/tag/windows/http://www.forat.info/tag/wifi/http://www.forat.info/tag/web/http://www.forat.info/tag/video/http://www.forat.info/tag/ubuntu/http://www.forat.info/tag/torrent/http://www.forat.info/tag/terminal/http://www.forat.info/tag/ssh/http://www.forat.info/tag/sorteo/http://www.forat.info/tag/servidor/http://www.forat.info/tag/server/http://www.forat.info/tag/sec-info/http://www.forat.info/tag/review/http://www.forat.info/tag/regalo/http://www.forat.info/tag/red/http://www.forat.info/tag/podcast/http://www.forat.info/tag/pc/http://www.forat.info/tag/online/http://www.forat.info/tag/mysql/http://www.forat.info/tag/montaje/http://www.forat.info/tag/modding/http://www.forat.info/tag/meme/http://www.forat.info/tag/mediacenter/http://www.forat.info/tag/manual/http://www.forat.info/tag/linux/http://www.forat.info/tag/instalar/http://www.forat.info/tag/instalacion/http://www.forat.info/tag/hosting/http://www.forat.info/tag/hd/http://www.forat.info/tag/hardware/http://www.forat.info/tag/gnulinux/http://www.forat.info/tag/geek/http://www.forat.info/tag/ftp/http://www.forat.info/tag/freebsd/http://www.forat.info/tag/forat/http://www.forat.info/tag/debian/http://www.forat.info/tag/daboblog/http://www.forat.info/tag/configuracion/http://www.forat.info/tag/como/http://www.forat.info/tag/blog/http://www.forat.info/tag/archivos/http://www.forat.info/tag/apple/http://www.forat.info/tag/alternate/7/25/2019 Servidor Web en Linux Debian 6 Soporte Para PHP
3/8
23/07/13 Servidor Web en Linux Debian 6 Soporte para PHP
www.forat.info/2008/02/23/servidor-web-en-linux-debian-6-soporte-para-php/
Uno de los lenguajes de programacin que vamos a necesitar en el montaje de e ste serv idor Web en LinuxDebianes sin duda ( PHP). Este lenguaje es usado por el software de WordPresscon el que al final de este
gran manual nos montaremos un Blog.
Vamos a instalar unos cuantos paquetes para que nuestro servidor sea compatible con PHPy podamos usarlotanto programar webs, scriptso cgisdel siguiente modo
Arrancamos nuestro servidor y nos logeamos como ( root) e instalamos los paquetes php4-cgi, php4-cli, php4common y libapache2-mod-php4.
apt-get install php4-cgi php4-cli php4-common libapache2-mod-php4
Vamos a agregar la siguiente linea ( DirectoryIndex index.html index.cgi index.pl index.php index.xhtmlindex.shtml ) al fichero de configuracin del Apachellamado apache2.confpara que nuestro Web server sea
compatible con ese tipo de extensiones
echo DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.shtml >>/etc/apache2/apache2.conf
Podis verificar si lo habis hecho bien con el comando ( cat) que nos muestra en pantalla el contenido de unarchivo
cat /etc/apache2/apache2.conf
Tenemos que ver la ultima linea como esta
Ahora vamos a comprobar que todo ha ido bien editando un fichero en el directorio raz de nuestro servidor WebSi recordis el manual anterior ( Apache Web Serve r) configuramos a conciencia donde iba a estar situada la
raz de el servidor Web, osea el directorio que es visible desde otros exploradores, ( en mi caso
http://www.forat.info/2008/02/22/servidor-web-en-linux-debian-5-apache-web-server/http://www.wordpress.org/http://www.php.net/http://www.forat.info/2008/02/16/te-gustaria-tener-un-servidor-web-con-linux-debian/7/25/2019 Servidor Web en Linux Debian 6 Soporte Para PHP
4/8
23/07/13 Servidor Web en Linux Debian 6 Soporte para PHP
www.forat.info/2008/02/23/servidor-web-en-linux-debian-6-soporte-para-php/
/home/forat/www/).
Creamos un archivo llamado por ejemplo compatible.phpcon
vi /home/usuario/www/compatible.php
e insertamos el siguiente cdigo
Guardamos el archivo compatible.phpy cerramos el editor pulsando la tecla ( ESC) y ( :wq!).
Una vez completados estos pasos vamos a reiniciar el Apache2con
apache2ctl restart
Ahora solo tienes que abrirlo en un navegador y insertar la direccin de tu servidor Web ( en mi casohttp://192.168.1.71/www/compatible.php)
Veremos informacin detallada sobre el soporte para PHP que ahora tenemos instalado
Si estas siguiendo el manual sobre como montar un servidor Web en Debiante invito a que contines con (Bases de datos MySQL)
Este proyecto y muchos mas en el Blog oficial www.forat-project.com
Compartelo !
http://twitter.com/home?status=Servidor%20Web%20en%20Linux%20Debian%206%20%E2%80%93%20Soporte%20para%20PHP%20-%20http://www.forat.info/2008/02/23/servidor-web-en-linux-debian-6-soporte-para-php/http://www.google.com/reader/link?url=http://www.forat.info/2008/02/23/servidor-web-en-linux-debian-6-soporte-para-php/&title=Servidor%20Web%20en%20Linux%20Debian%206%20%E2%80%93%20Soporte%20para%20PHP&srcURL=http://www.forat.infohttp://www.facebook.com/sharer.php?u=http://www.forat.info/2008/02/23/servidor-web-en-linux-debian-6-soporte-para-php/&t=Servidor%20Web%20en%20Linux%20Debian%206%20%E2%80%93%20Soporte%20para%20PHPhttp://www.stumbleupon.com/submit?url=http://www.forat.info/2008/02/23/servidor-web-en-linux-debian-6-soporte-para-php/&title=Servidor%20Web%20en%20Linux%20Debian%206%20%E2%80%93%20Soporte%20para%20PHPhttp://del.icio.us/post?url=http://www.forat.info/2008/02/23/servidor-web-en-linux-debian-6-soporte-para-php/&title=Servidor%20Web%20en%20Linux%20Debian%206%20%E2%80%93%20Soporte%20para%20PHPhttp://digg.com/submit?phase=2&url=http://www.forat.info/2008/02/23/servidor-web-en-linux-debian-6-soporte-para-php/&title=Servidor%20Web%20en%20Linux%20Debian%206%20%E2%80%93%20Soporte%20para%20PHPhttp://www.forat-project.com/http://www.forat.info/2008/02/25/servidor-web-en-linux-debian-7-bases-de-datos-mysql/http://www.forat.info/2008/02/16/te-gustaria-tener-un-servidor-web-con-linux-debian/7/25/2019 Servidor Web en Linux Debian 6 Soporte Para PHP
5/8
23/07/13 Servidor Web en Linux Debian 6 Soporte para PHP
www.forat.info/2008/02/23/servidor-web-en-linux-debian-6-soporte-para-php/
Artculos Recientes ...
Seguridad y optimizacin de Servidores GNU/Linux Debian basados en Apache, MySQL y PHP
Monitorea servidores GNU/Linux desde la TerminalDaboBlog PodCast Especial Fluxbox en Kernel PanicCloud Computing con eyeOS bajo Debian GNU/Linux
Como montar un Servidor Cloud Computing con OwnCloud
Buscar
http://www.daboblog.com/podcast-gnu-linux-mac/http://www.forat.info/2012/01/16/como-montar-un-servidor-cloud-computing-con-owncloud/http://www.forat.info/2012/04/30/cloud-computing-con-eyeos-bajo-debian-gnulinux/http://www.forat.info/2012/08/31/daboblog-podcast-especial-fluxbox-en-kernel-panic/http://www.forat.info/2013/01/21/monitorea-servidores-gnulinux-desde-la-terminal/http://www.forat.info/2013/07/23/seguridad-y-optimizacion-de-servidores-gnulinux-debian-basados-en-apache-mysql-y-php/7/25/2019 Servidor Web en Linux Debian 6 Soporte Para PHP
6/8
23/07/13 Servidor Web en Linux Debian 6 Soporte para PHP
www.forat.info/2008/02/23/servidor-web-en-linux-debian-6-soporte-para-php/
Categoras
#Servidor LocalAppleautores
Balanceo de cargaBSD
Comandos
DebianElive Gem
enInternet.es La RedFirefoxFluxBox
GpsHardware
HSNET (Tecnico)HTC Android
LinuxLiveCD
Mejoras visualesMeme
MindMoviles & PPC
PDFPodCastPremios
ProyectosPsp
Rack ProjectReviewsRumoresSec-Info
Servidor Debian
http://www.forat.info/category/como-montar-un-servidor-web-en-debian/http://www.forat.info/category/seguridad/http://www.forat.info/category/rumores/http://www.forat.info/category/reviews/http://www.forat.info/category/rack-project/http://www.forat.info/category/psp/http://www.forat.info/category/proyectos-2/http://www.forat.info/category/premios/http://www.forat.info/category/podcast/http://www.forat.info/category/pdf/http://www.forat.info/category/moviles-ppc/http://www.forat.info/category/mind/http://www.forat.info/category/meme/http://www.forat.info/category/mejoras-visuales/http://www.forat.info/category/livecd/http://www.forat.info/category/linux/http://www.forat.info/category/htc-android/http://www.forat.info/category/el-tecnico-de-hsnet/http://www.forat.info/category/hardware/http://www.forat.info/category/gps/http://www.forat.info/category/fluxbox/http://www.forat.info/category/firefox/http://www.forat.info/category/eninternet-es-la-red/http://www.forat.info/category/elive-gem-how-to/http://www.forat.info/category/debian-how-to/http://www.forat.info/category/comandos-2/http://www.forat.info/category/bsd-how-to/http://www.forat.info/category/balanceo-de-carga/http://www.forat.info/category/autores/http://www.forat.info/category/apple/http://www.forat.info/category/servidor-local/http://www.eninternet.es/http://project.forat.info/7/25/2019 Servidor Web en Linux Debian 6 Soporte Para PHP
7/8
23/07/13 Servidor Web en Linux Debian 6 Soporte para PHP
www.forat.info/2008/02/23/servidor-web-en-linux-debian-6-soporte-para-php/
Servidor Debian ISPServidor DescargasServidor FreeBSD
Servidor Tracker TorrentServidor Ubuntu
Servidor Ubuntu 2010SistematicosSoftware libre
SorteosTodo Info&Tech
Ubuntuusb
VideosVinoCenter
Web de interesWebmaster
WifiWordpress
Sobre mi
La informtica es algo que descubr a los 14 aos, desde ah empec a entenderla hasta que aprend a usarla.Hoy he aprendido a disfrutarla y compartirla.
Si quieres una pagina web gratistengo lo que necesitas en mi ultimo proyecto.
Twitter @foratinfo| PodCast Daboblog
Mis sitios Web
http://www.daboblog.com/podcast-gnu-linux-mac/http://twitter.com/#!/@foratinfohttp://www.eninternet.es/http://jigsaw.w3.org/css-validator/validator?uri=www.forat.info/wp-content/themes/Sonik2/style.csshttp://validator.w3.org/check?uri=http://www.forat.infohttp://www.apachectl.com/http://www.forat.info/category/wordpress-how-to/http://www.forat.info/category/wifi/http://www.forat.info/category/recursos-webmaster/http://www.forat.info/category/web-de-interes/http://www.forat.info/category/vinocenter/http://www.forat.info/category/videos/http://www.forat.info/category/usb/http://www.forat.info/category/ubuntu-how-to/http://www.forat.info/category/todo-infotech/http://www.forat.info/category/sorteos/http://www.forat.info/category/software-libre/http://www.forat.info/category/sistematicos/http://www.forat.info/category/servidor-ubuntu-2010/http://www.forat.info/category/servidor-ubuntu/http://www.forat.info/category/servidor-tracker-torrent/http://www.forat.info/category/montaje-de-un-servidor-en-freebsd/http://www.forat.info/category/servidor-descargas/http://www.forat.info/category/servidor-debian-isp/7/25/2019 Servidor Web en Linux Debian 6 Soporte Para PHP
8/8
23/07/13 Servidor Web en Linux Debian 6 Soporte para PHP
www.forat.info/2008/02/23/servidor-web-en-linux-debian-6-soporte-para-php/
AutoresCash
enInternet.es La RedFactoria de Blogs
Forat ( Mi pequeo )Forat Project's
HsNetWorkLife AndroidReactivox
Sistematicos
Proyectos bajo GNU/Linux
Rack proyect
Balanceador de Carga
Servidor web 2010
Servidor de descargas con TorrentFlux
( VinoCenter ) MediaCenter
Servidor Web y Archivos
Servidor Web
Sistema de VideoVigilancia
Viejos ordenadores que hacen grandes cosas
Servidor Tracker Torrent
Sitio protegido por una licencia Creative Commons. 2006 / 2013 Poltica de privacidaden Forat. Designby: Charleston Datingwith Ohio Singles| Volleyball Singles| Florida Telemarketing Jobs
http://www.telemarketerjobs.net/florida-telemarketer-jobshttp://www.volleyballsingles.com/http://www.onlineohiosingles.com/http://www.charlestonflirt.com/http://www.forat.info/privacidad.htmlhttp://creativecommons.org/licenses/by-nc/3.0/es/http://www.forat.info/2012/02/27/servidor-tracker-torrent-manual-completo/http://www.forat.info/2011/10/31/viejos-ordenadores-que-hacen-grandes-cosas-completado/http://www.forat.info/2007/08/18/como-montar-un-sistema-de-vigilancia-casero-con-un-pc-viejo-una-webcam-y-linux-el-manual-definitivo-para-este-verano/http://www.forat.info/2008/03/05/como-montar-un-servidor-web-con-linux-debian/http://www.forat.info/2008/08/12/servidor-en-linux-ubuntu-server-manual-completo/http://www.forat.info/2008/12/13/un-estuche-para-vinos-software-libre-y-un-poco-de-imaginacion-montan-el-vinocenter-manual-completo/http://www.forat.info/2009/06/06/servidor-de-descargas-con-torrentflux-y-linux-debian-manual-competo/http://www.forat.info/2010/04/22/servidor-web-2010-bajo-linux-ubuntu-server-manual-completo/http://www.forat.info/2010/06/30/balanceo-de-carga-entre-servidores-bajo-linux-debian-manual-completo/http://www.forat.info/2012/11/03/rack-project-manual-completo/http://www.sistematicos.com/http://www.reactivox.com/http://www.lifeandroid.com/http://hsnet.sytes.net/http://project.forat.info/http://www.forat.es/http://www.factoriadeblogs.com/http://www.eninternet.es/http://cash.factoriadeblogs.com/http://autores.forat.info/