Date: Sun, 26 Mar 2006 15:25:04 GMT From: 50g <citygrit@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/94969: about install php or mod_php and handbook Message-ID: <200603261525.k2QFP40Q050629@www.freebsd.org> Resent-Message-ID: <200603261530.k2QFUFMv079833@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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></programlisting> + <note><para>Typically you will want to copy the default + <filename>/usr/local/etc/php.ini-dist</filename> or + <filename>/usr/local/etc/php.ini-recommended</filename> to + <filename>/usr/local/etc/php.ini</filename> and do some tweaks + for use on production servers. Please consult the PHP website + for more information.</para></note> + <para>Once completed, a simple call to the <command>apachectl</command> command for a graceful restart is needed to load the <acronym>PHP</acronym> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603261525.k2QFP40Q050629>