1
|
<h2>Installing for Apache/PHP</h2>
|
2
|
|
3
|
<p>
|
4
|
You should first have your web server installed and have PHP enabled
|
5
|
if you intend to use the server side scripts.
|
6
|
The <a href="http://httpd.apache.org/">Apache</a> web server is one
|
7
|
that will work for this purpose.
|
8
|
Please refer to it's installation instructions to install and configure it.
|
9
|
</p>
|
10
|
|
11
|
<p>
|
12
|
Download the .zip archive and extract all files to a web accesible directory
|
13
|
which is usually configured as /htdocs.
|
14
|
Installation details for other web servers may vary.
|
15
|
</p>
|
16
|
|
17
|
<p>
|
18
|
The required server side scripts are automatically available as PHP scripts
|
19
|
and the path to them configured in /mapbuilder/lib/mapbuilderConfig.xml.
|
20
|
By default, these are: /mapbuilder/server/proxy/proxy.php and
|
21
|
/mapbuilder/server/proxy/serializer.php for the serializeUrl script.
|
22
|
If you install Mpabuilder using a different directory name you will have to
|
23
|
adjust these paths manually.
|
24
|
</p>
|
25
|
|
26
|
<p>
|
27
|
Other aspects of the Apache/PHP setup:
|
28
|
</p>
|
29
|
|
30
|
<dl class="med">
|
31
|
<dt class="title">Logging:</dt>
|
32
|
<dd>
|
33
|
Server logging is not yet provided in this environment.
|
34
|
<dd>
|
35
|
<dt class="title">File save directory:</dt>
|
36
|
<dd>
|
37
|
The file save directory is where files are written to disk by the serialize
|
38
|
script.
|
39
|
This directory has to be writable by the web user and it is up to the
|
40
|
application to purge it.
|
41
|
The location of the directory is configured in the serialzer script at
|
42
|
mapbuilder/server/php/serialzer.php as the $outputDir variable and defaults to
|
43
|
/mapbuilder/temp.
|
44
|
</dd>
|
45
|
</dl>
|
46
|
|
47
|
<p>
|
48
|
more ?
|
49
|
</p>
|