note 52878 added to install.unix.apache2

From: Date: Mon, 16 May 2005 15:33:03 +0000
Subject: note 52878 added to install.unix.apache2
Groups: php.notes 
Request: Send a blank email to php-notes+get-89495@lists.php.net to get a copy of this message
Instalar y configurar postgres+apache2+php5 instalacion de postgres. ./configure make make install Intalacion de apache2 ./configure --enable-so make make install Instalacion de php5 ./configure --prefix=/usr/local/apache2/php5 --with-apxs2=/usr/local/apache2/bin/apxs --with-pgsql make make install Para iniciar apache: #>nano /etc/init.d/httpd #!/bin/sh case "$1" in start) /usr/local/apache2/bin/apachectl start ;; stop) /usr/local/apache2/bin/apachectl stop ;; restart) $0 stop && sleep 3 $0 start ;; reload) $0 stop $0 start ;; *) echo "Usage: $0 {start|stop|restart|reload}" exit 1 esac Ahora hacer los enlaces simbolicos a los respectivos niveles de ejecucion: ln -s /etc/init.d/httpd /etc/rc2.d/S20httpd ln -s /etc/init.d/httpd /etc/rc3.d/S20httpd ln -s /etc/init.d/httpd /etc/rc4.d/S20httpd ln -s /etc/init.d/httpd /etc/rc5.d/S20httpd ln -s /etc/init.d/httpd /etc/rc0.d/K20httpd ln -s /etc/init.d/httpd /etc/rc1.d/K20httpd ln -s /etc/init.d/httpd /etc/rc6.d/K20httpd Ahora solo restar iniciar el servidor: #>/etc/init.d/httpd start ---- Manual Page -- http://www.php.net/manual/en/install.unix.apache2.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+52878 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52878&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52878&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52878&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52878&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52878&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+52878&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#89495) next »