From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ig4Tb-000472-1p for garchives@archives.gentoo.org; Thu, 11 Oct 2007 20:17:47 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l9BK7lCT014972; Thu, 11 Oct 2007 20:07:47 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l9BK7kl4014965 for ; Thu, 11 Oct 2007 20:07:47 GMT Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 800BA650BD for ; Thu, 11 Oct 2007 20:07:46 +0000 (UTC) Received: from nightmorph by stork.gentoo.org with local (Exim 4.60) (envelope-from ) id 1Ig4Jt-00079C-HB for gentoo-doc-cvs@lists.gentoo.org; Thu, 11 Oct 2007 20:07:45 +0000 To: gentoo-doc-cvs@lists.gentoo.org Subject: [gentoo-doc-cvs] cvs commit: jffnms.xml Message-Id: From: Josh Saddler Date: Thu, 11 Oct 2007 20:07:45 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-doc-cvs@gentoo.org Reply-to: docs-team@lists.gentoo.org X-Archives-Salt: 1f12cdbf-802e-41bf-91a3-b94b42618a79 X-Archives-Hash: 2d6ae743f556a3d4220e363e3f6b8ff8 nightmorph 07/10/11 20:07:45 Modified: jffnms.xml Log: php4 is being masked for removal, thanks to hoffie for updates via the gentoo-dev ML Revision Changes Path 1.8 xml/htdocs/doc/en/jffnms.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/jffnms.xml?rev=1.8&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/jffnms.xml?rev=1.8&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/jffnms.xml?r1=1.7&r2=1.8 Index: jffnms.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/jffnms.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- jffnms.xml 20 Sep 2007 18:49:40 -0000 1.7 +++ jffnms.xml 11 Oct 2007 20:07:45 -0000 1.8 @@ -1,6 +1,6 @@ - + Jffnms Installation and Setup Guide @@ -19,8 +19,8 @@ -1.3 -2007-09-20 +1.4 +2007-10-11 Jffnms Basics @@ -171,13 +171,13 @@ presented with a home page about your newly installed Apache 2. Now that we know that Apache is up and running, we can proceed to the mod_php configuration. Fire up your favorite text editor, open -/etc/conf.d/apache2 and add -D PHP4 the APACHE2_OPTS +/etc/conf.d/apache2 and add -D PHP5 the APACHE2_OPTS variable.

 # nano -w /etc/conf.d/apache2
-APACHE2_OPTS="-D DEFAULT_VHOST -D PHP4"
+APACHE2_OPTS="-D DEFAULT_VHOST -D PHP5"
 

@@ -200,17 +200,17 @@

Now that apache is running, it is time to configure PHP. Jffnms requires that you set some variables in php.ini in order to run. The php.ini file -is usually located in /etc/php/apache2-php4/php.ini. You have to +is usually located in /etc/php/apache2-php5/php.ini. You have to set these variables to the following values:

-# nano -w /etc/php/apache2-php4/php.ini
+# nano -w /etc/php/apache2-php5/php.ini
 register_globals = On
 register_argc_argv = On 
 error_reporting  =  E_ALL & ~E_NOTICE
 allow_url_fopen = On
-include_path = ".:/usr/share/php4:/usr/share/php:/usr/share/php/PEAR"
+include_path = ".:/usr/share/php5:/usr/share/php:/usr/share/php/PEAR"
 short_open_tag = On
 
@@ -422,13 +422,6 @@
  • MySQL Documentation
  • -

    -You may also run into problems when configuring Apache to work with PHP -(specially if you run both PHP4 and PHP5 on the same system). In that case, our -Configuring Apache to Work -with PHP4 and PHP5 guide may give you some help. -

    -
    -- gentoo-doc-cvs@gentoo.org mailing list