From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Mar 26 15:30:17 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDD0A16A400 for ; Sun, 26 Mar 2006 15:30:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CADFD43D45 for ; Sun, 26 Mar 2006 15:30:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2QFUFof079834 for ; Sun, 26 Mar 2006 15:30:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2QFUFMv079833; Sun, 26 Mar 2006 15:30:15 GMT (envelope-from gnats) Resent-Date: Sun, 26 Mar 2006 15:30:15 GMT Resent-Message-Id: <200603261530.k2QFUFMv079833@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, 50g Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF02616A400 for ; Sun, 26 Mar 2006 15:25:04 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D2E143D46 for ; Sun, 26 Mar 2006 15:25:04 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k2QFP4dG050630 for ; Sun, 26 Mar 2006 15:25:04 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k2QFP40Q050629; Sun, 26 Mar 2006 15:25:04 GMT (envelope-from nobody) Message-Id: <200603261525.k2QFP40Q050629@www.freebsd.org> Date: Sun, 26 Mar 2006 15:25:04 GMT From: 50g To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/94969: about install php or mod_php and handbook X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Mar 2006 15:30:17 -0000 >Number: 94969 >Category: ports >Synopsis: about install php or mod_php and handbook >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Mar 26 15:30:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: 50g >Release: 6.0-RELEASE >Organization: >Environment: FreeBSD ns.carpooler.cn 6.0-RELEASE FreeBSD 6.0-RELEASE #2: Wed Mar 22 20:28:28 CST 2006 root@ns.carpooler.cn:/usr/obj/usr/src/sys/MYKERNEL i386 >Description: install /usr/ports/lang/php4 or /usr/ports/www/mod_php4 complete,the standard output only have this. "Make sure index.php is part of your DirectoryIndex. You should add the following to your Apache configuration file: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps but at the same time need copy /usr/local/etc/php.ini-dist or php.ini-recommended to php.ini,do this talents will be complete install and run it. >How-To-Repeat: install >Fix: Index: chapter.sgml =================================================================== RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/handbook/network-servers/chapter.sgml,v retrieving revision 1.79 diff -u -r1.79 chapter.sgml --- chapter.sgml 20 Mar 2006 10:40:26 -0000 1.79 +++ chapter.sgml 26 Mar 2006 14:55:02 -0000 @@ -4513,6 +4513,13 @@ AddType application/x-httpd-php-source .phps </IfModule> + Typically you will want to copy the default + /usr/local/etc/php.ini-dist or + /usr/local/etc/php.ini-recommended to + /usr/local/etc/php.ini and do some tweaks + for use on production servers. Please consult the PHP website + for more information. + Once completed, a simple call to the apachectl command for a graceful restart is needed to load the PHP >Release-Note: >Audit-Trail: >Unformatted: