/[gentoo]/xml/htdocs/doc/en/jffnms.xml
Gentoo

Diff of /xml/htdocs/doc/en/jffnms.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.7 Revision 1.8
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/jffnms.xml,v 1.7 2007/09/20 18:49:40 nightmorph Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/jffnms.xml,v 1.8 2007/10/11 20:07:45 nightmorph Exp $ -->
4 4
5<guide link="/doc/en/jffnms.xml" lang="en"> 5<guide link="/doc/en/jffnms.xml" lang="en">
6<title>Jffnms Installation and Setup Guide</title> 6<title>Jffnms Installation and Setup Guide</title>
7 7
8<author title="Author"> 8<author title="Author">
17 17
18<!-- The content of this document is licensed under the CC-BY-SA license --> 18<!-- The content of this document is licensed under the CC-BY-SA license -->
19<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 19<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
20<license/> 20<license/>
21 21
22<version>1.3</version> 22<version>1.4</version>
23<date>2007-09-20</date> 23<date>2007-10-11</date>
24 24
25<chapter> 25<chapter>
26<title>Jffnms Basics</title> 26<title>Jffnms Basics</title>
27<section> 27<section>
28<title>Introduction</title> 28<title>Introduction</title>
169<p> 169<p>
170Finally, point your browser at <uri>http://localhost/</uri> and you should be 170Finally, point your browser at <uri>http://localhost/</uri> and you should be
171presented with a home page about your newly installed Apache 2. Now that we 171presented with a home page about your newly installed Apache 2. Now that we
172know that Apache is up and running, we can proceed to the mod_php 172know that Apache is up and running, we can proceed to the mod_php
173configuration. Fire up your favorite text editor, open 173configuration. Fire up your favorite text editor, open
174<path>/etc/conf.d/apache2</path> and add <c>-D PHP4</c> the APACHE2_OPTS 174<path>/etc/conf.d/apache2</path> and add <c>-D PHP5</c> the APACHE2_OPTS
175variable. 175variable.
176</p> 176</p>
177 177
178<pre caption="Apache 2 Configuration"> 178<pre caption="Apache 2 Configuration">
179# <i>nano -w /etc/conf.d/apache2</i> 179# <i>nano -w /etc/conf.d/apache2</i>
180APACHE2_OPTS="-D DEFAULT_VHOST -D PHP4" 180APACHE2_OPTS="-D DEFAULT_VHOST -D PHP5"
181</pre> 181</pre>
182 182
183<p> 183<p>
184After that, you should create a symlink to the Jffnms install directory in your 184After that, you should create a symlink to the Jffnms install directory in your
185Apache document root dir. In Gentoo, by default, Apache uses 185Apache document root dir. In Gentoo, by default, Apache uses
198<body> 198<body>
199 199
200<p> 200<p>
201Now that apache is running, it is time to configure PHP. Jffnms requires that 201Now that apache is running, it is time to configure PHP. Jffnms requires that
202you set some variables in php.ini in order to run. The <path>php.ini</path> file 202you set some variables in php.ini in order to run. The <path>php.ini</path> file
203is usually located in <path>/etc/php/apache2-php4/php.ini</path>. You have to 203is usually located in <path>/etc/php/apache2-php5/php.ini</path>. You have to
204set these variables to the following values: 204set these variables to the following values:
205</p> 205</p>
206 206
207<pre caption="Configuring PHP"> 207<pre caption="Configuring PHP">
208# <i>nano -w /etc/php/apache2-php4/php.ini</i> 208# <i>nano -w /etc/php/apache2-php5/php.ini</i>
209register_globals = On 209register_globals = On
210register_argc_argv = On 210register_argc_argv = On
211error_reporting = E_ALL &amp; ~E_NOTICE 211error_reporting = E_ALL &amp; ~E_NOTICE
212allow_url_fopen = On 212allow_url_fopen = On
213include_path = ".:/usr/share/php4:/usr/share/php:/usr/share/php/PEAR" 213include_path = ".:/usr/share/php5:/usr/share/php:/usr/share/php/PEAR"
214short_open_tag = On 214short_open_tag = On
215</pre> 215</pre>
216 216
217</body> 217</body>
218</section> 218</section>
420 8 Documentation</uri> 420 8 Documentation</uri>
421 </li> 421 </li>
422 <li><uri link="http://dev.mysql.com/doc/">MySQL Documentation</uri></li> 422 <li><uri link="http://dev.mysql.com/doc/">MySQL Documentation</uri></li>
423</ul> 423</ul>
424 424
425<p>
426You may also run into problems when configuring Apache to work with PHP
427(specially if you run both PHP4 and PHP5 on the same system). In that case, our
428<uri link="/proj/en/php/php4-php5-configuration.xml">Configuring Apache to Work
429with PHP4 and PHP5</uri> guide may give you some help.
430</p>
431
432</body> 425</body>
433</section> 426</section>
434</chapter> 427</chapter>
435</guide> 428</guide>

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20