[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: suggestion for section 4.3



On Tue, Jun 28, 2005 at 02:54:23PM -0400, Tim Peeler wrote:
>         * For php applications under apache, one can use "php_value
>           auto_prepend_file" to provide configuration scripts for the
>           application

What the hell is "php_valueauto_prepend_file" ? ;)

It could be as simple as :

bible:505$ cat /etc/wordpress/wp-config.php
<?php
/** WordPress's Debianised default master config file
Please do NOT edit and read about how the configuration works in the
README.Debian
**/

require_once('/etc/wordpress/config-'.strtolower($_SERVER['HTTP_HOST']).'.php');

define('ABSPATH', '/usr/share/wordpress/');

require_once(ABSPATH.'wp-settings.php');
?>



Reply to: