Security of Config.php

From PGVWiki
Jump to: navigation, search

phpGedView requires you as the system administrator to control the file access permissions for config.php.

Make config.php writeable

To configure phpGedview via the web interface, you must make config.php writeable.


In Unix style environments, do this by setting file permissions for config.php to 777. One way to do this is to open a terminal, change to the phpGedView directory, and issue the following command.

chmod 777 config.php

Secure config.php after configuration

For security, after configuration, you should remove write permissions from config.php. As long as write permissions remain on config.php, the phpGedView administration panel will present a warning.


chmod 555 config.php

See also