New Zenner
- Join Date:
- Dec 2007
- Posts:
- 1
- Plugin Contributions:
- 0
How to change location of configure.php file ?
Hello,
I need to change the location of configure.php, but don't know how.
Please tell me, if you know how to do that.
Thank you
Started by zax80 on 20 Dec 2007, 11:47 AM · Views: 2,125
New Zenner
Hello,
I need to change the location of configure.php, but don't know how.
Please tell me, if you know how to do that.
Thank you
Zen Follower
Why would you want to move it?
Lesli in SW Florida ~ writer, teacher, and dodging hurricanes!
Totally Zenned
You shouldn't need to change the location of the files. You should have 2. One in admin/includes and the other in /includes.
Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.
New Zenner
I didn't actually move mine, but did move the sensitive information in it (to separate secure encrypted files) by going through it and doing stuff like this:
// define our database connection
require_once('/htdocs/www.mysite.com/secure/inc/dbconnect.php');
define('DB_TYPE', 'mysql');
define('DB_PREFIX', '');
define('DB_SERVER', "$db_host");
define('DB_SERVER_USERNAME', "$db_user");
define('DB_SERVER_PASSWORD', "$db_pass");
define('DB_DATABASE', "$dbname");
define('USE_PCONNECT', 'true');
define('STORE_SESSIONS', 'db');
The variables (such as $db_host) refer to the encrypted file linked by the require_once.
Good luck!
Tell staff why this post should be reviewed.