php. By copying this file, it becomes owned
by the user instead of the web server, ensuring that further modifications are
possible. This copy can be done via FTP or by commands such as:
cd config
cp config.inc.php ..
As a security measure, it's recommended to change the permission on
the config directory??”for example, with the chmod ugo-rwx config
command. This is to block any non-authorized writing in this directory.
Other configuration parameters can be set with these web-based setup pages. To do
so, we would have to:
1. Enable read and write access to the config directory
2. Copy the config.inc.php there
3. Ensure that read and write access are provided to this file for the web server
4. Start the web-based setup tool
??? ???
Chapter 2
[ 27 ]
In order to keep this book's text lighter, we will only refer to the parameters' textual
values in the following chapters.
Manual Creation of config.inc.php
We can create this text file from scratch using our favorite text editor. The exact
procedure depends upon which client operating system we are using; we can
refer to the Tips for Editing config.inc.php on a Windows Client section (below) for
further information.
The default value of all the possible configuration parameters that can be located
inside config.inc.php is defined in libraries/config.default.php.
Pages:
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49