The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Script Settings Configuration Question

Discussion in 'Database Discussions' started by jehosting, Dec 30, 2016.

  1. jehosting

    jehosting Registered

    Joined:
    Dec 30, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    united states
    cPanel Access Level:
    Reseller Owner
    I became clueless when being asked to edit these lines for an ebook selling script

    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)


    how do y know where my filesystem directories and webserver directories are. this is where the index.php is located for my website since I'm only testing the script
    http://www.mywebsite.com/2/index.php

    maybe with this info it might help

    thanks
     
  2. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    543
    Likes Received:
    39
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    You can check your directories path through cPanel file manger. Login your cPanel and check your index.php path through File manger.
     
  3. jehosting

    jehosting Registered

    Joined:
    Dec 30, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    united states
    cPanel Access Level:
    Reseller Owner
    I guess what I'm trying to say is I don't understand what filesystem directories and webserver directories are. so I don't know how to define it to the script and type in where those directories are located.
     
  4. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    261
    Likes Received:
    77
    Trophy Points:
    28
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    This will be the absolute file path on the server eg /home/username/public_html/folder-you-installed-the-script-to/file

    So the admin folder may be something like: _FS_ADMIN', '/home/username/public_html/catalog/admin/'


    This is the path relative to your web root eg /folder-you-installed-the-script-to/file

    So if you installed the application into the /calalog/ folder it would look something like : _WS_CATALOG', '/catalog/'

    Please note: examples given are from an old OSCommerce script - newer versions, or other applications, may differ in their usage and syntax
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,172
    Likes Received:
    1,295
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @jehosting,

    The previous post should help to answer your question. Let us know if you require any additional assistance.

    Thank you.
     
Loading...

Share This Page