Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2007
    Posts
    1
    Plugin Contributions
    0

    red flag 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

  2. #2
    Join Date
    Dec 2005
    Location
    SWFL
    Posts
    469
    Plugin Contributions
    0

    Default Re: How to change location of configure.php file ?

    Why would you want to move it?
    Lesli in SW Florida ~ writer, teacher, and dodging hurricanes!

  3. #3
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: How to change location of configure.php file ?

    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.

    Holzheimer
    Fan Odyssey

  4. #4
    Join Date
    Nov 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: How to change location of configure.php file ?

    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!

 

 

Similar Threads

  1. Does dist-configure.php file name need to change?
    By ROI_tfink in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 12 Sep 2011, 02:21 AM
  2. I trashed my configure.php file. How do I recover?
    By John Vieth in forum General Questions
    Replies: 10
    Last Post: 11 May 2010, 02:46 PM
  3. How to set right user permisssons configure.php file?
    By ngocnguyen in forum Basic Configuration
    Replies: 14
    Last Post: 18 Jul 2009, 04:02 PM
  4. How do I change file path location
    By fvb in forum General Questions
    Replies: 0
    Last Post: 4 Jul 2007, 04:07 PM
  5. how to configure my configure.php file
    By vr4indian in forum Basic Configuration
    Replies: 4
    Last Post: 30 Oct 2006, 04:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg