Location: PHPKode > projects > Netautor Professional > netautor/napro4/admin/docu/en/install1.html
<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;>
<!--
   +----------------------------------------------------------------------+
   | Netautor Professional Application Server                             |
   +----------------------------------------------------------------------+
   | Copyright (C) 1998-2001 digiconcept GmbH. <www.digiconcept.net>      |
   +----------------------------------------------------------------------+
   | This file is subject to license, that is bundled with this package   |
   | in the file LICENSE.TXT, and is available at through the             |
   | world-wide-web at http://www.netautor.com/license/                   |
   |                                                                      |
   | If you did not receive a copy of the license and are unable to       |
   | obtain it through the world-wide-web, please send a note to          |
   | hide@address.com so we can mail you a copy.                      |
   +----------------------------------------------------------------------+
   | Authors: Stefan Rottensteiner <hide@address.com>    |
   |          Gregor Wollner       <hide@address.com>          |
   |          Helli  Kleinhans     <hide@address.com>         |
   +----------------------------------------------------------------------+
 */
-->
<html>
<head>
	<title>netautor.docu.general</title>
</head>
<link rel="stylesheet" type="TEXT/CSS" media="screen" href="../../../include/docu.css">
<body>

<span class="link">
&raquo;&nbsp;<a class="linkon" href="install1.html">Step 1</a>&nbsp;&nbsp;&nbsp;
&raquo;&nbsp;<a class="link" href="install2.html">Step 2</a>&nbsp;&nbsp;&nbsp;
&raquo;&nbsp;<a class="link" href="install3.html">Step 3</a>&nbsp;&nbsp;&nbsp;
&raquo;&nbsp;<a class="link" href="install4.html">Step 4</a>&nbsp;&nbsp;&nbsp;<br>
</span>

<br>

<font class="title"><b>Step 1: Apache and PHP on Linux/Unix</b></font><br><br>

<font class="text">
<b>Download the sources</b>
<br>
The sources may be drawn from the pages:
http://www.apache.org
and
http://www.php.net  as  *.tar.gz
file.
These may then be stored in the index with the &quot;gtar-xfvz filename&quot; command.<br><br>

<b>Apache preconfiguration</b><br>
First change to the Apache directory and then execute the command&quot;./configure&quot;.<br><br>
<b>Compilation of PHP modules</b><br>

Then change the PHP directory and there either the Programm./setup is called up or the following lines are entered:<br><br>

./configure
--with-apache=../apache_1.3.x
--enable-track-vars=yes<br>
--with ftp<br>

--with-mysql<br>
--with-oracle<br>
--with-pgsql<br>
--with-adabas<br>

Upon request the modul may be compiled with one of the above quoted data bases.
After the command has been successfully finished you can then commence the transmission process with the &quot;make install&quot; command.Then change the Apache directory again.<br><br>

<b>Compilation of the Apache</b><br>
In the Apache directory you have to execute the following commands:<br><br>

./configure <br>
--with-layout=Apache <br>
--prefix=/destination directory/for/apache/ <br>
--activate-module=src/modules/php
3/libphp3.a<br><br>
After creating the configuration 
you can now transmit and install Apache with the command &quot;make install&quot;.<br><br>
<b>Configuration of the Apache</b>
After the following steps you should find several subdirectories.
In the &quot;conf&quot; subdirectory you will find the &quot;httpd.conf&quot; data which is responsible for the Apache configuration.
In this file look for the following lines:<br>
&quot;#AddType
application/x-httpd-php3 .php3&quot;<br>
Delete the &quot;#&quot; at the beginning of the line and save the data.
Now you can start the newly created Apache with the command &quot;apachectlstart&quot; in the subdirectory. Should you have already started another webserver you must finish the previous one.<br><br>
<b>Configuration of the PHP modules</b><br>
The configuration of the PHP-Modules will be set as a default in the /usr/local/lib/ directory. If you cannot find any php3.ini data then you can copy the &quot;php3.ini-dist&quot; from the PHP directory-source directory and then change the name in the php3.ini.
The following lines then must be adjusted in the php3.ini :<br>
magic_quotes_gpc    = Off;<br>
magic_quotes_runtime= Off;<br>
magic_quotes_sybase = On ;<br>
track_vars          = On ;<br>
<br>
If you use a MySql 
database ,then the following settings also should to be made:
<br>
mysql.allow_persistant = On:<br>
mysql.max_persistant  = 9 ;<br>
mysql.max_links       = 30;<br>

The numerical values should comply with the performance strength of the system.<br>

</font>

</body>

</html>
Return current item: Netautor Professional