Menu

config file settings

Help
2003-12-05
2003-12-05
  • marco venier

    marco venier - 2003-12-05

    Hi,

    I'd like to try out this CMS but I am having a hard time filling out the config.php parameters. This is a very unusual config file for me, unlike many others and I do not want to spend hours trying out all the mistakes I make. 

    Could somebody please post only the parameters I need to change if I want to set up this on a localhost as follows:

    directory: C:/easyPHP/www/phPope/

    URL: http://localhost/phPope

    mySQL login/password: mslogin/mspwd

    admin login/password: admin/admin

    Thanks a lot,

     
    • Nobody/Anonymous

      You must just fill out the database parameters in the config, to run a simple phpope system.

      Make this for the 3 database connections:

      $config["default"]["sysdb"] = "mysql://mslogin:mspwd@localhost/omurtag_sys";

      Setup your apache with C:/easyPHP/www/phPope/public_html as Documentroot.
      in a virtual host.

       
    • marco venier

      marco venier - 2003-12-05

      This is the most frustrating config file - ever.

      When I try to access the public_html directory,
      I get an error message that Apache needs to shut down.

      This never happened for about 200 other scripts I've run on my WIn XP localhost+Apache 1.3.27.

      How do I set:

      - the local directory
      - the names for the 3 databases
      - the login to use for each of the 3 databases (why 3?)
      - the password for the 3 databases

      I don't know how to setup Apache as per the message above; I never had to do any Apache changes for any other scripts. With easyPHP Apache already knows that scripts are under C:/easyPHP/www/ so all I have to do in (other config files) is to set the path and URL to the script directory.

       
    • Nobody/Anonymous

      You don't have to set the directory by hand.  I set it in the config file relativ with the function getcwd();

      The 3 Databases are to split content, system and workflow. I would change it in the next release.
      http://www.phpope.org/index.php?TPL=2&x10000_ACT=0&x10000_ITEMID=78&x10000_SHOWID=78&x10000_ID=78

      You can take the same password for all database connections. Just replace root@localhost with mslogin:mspwd@localhost.

      Please RTFM & RTFC

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.