Jump to content

Php Configuration On Server.


indexsp

Recommended Posts

Hi,Can you help please I need to edit the 2 files listed and not sure what I should replace.I have entered below dummy data can you place the data in the scipts for me please.Sorry for being stupid but would prefer to get it right.Database is p89zq7_storeUser is p89zq7_rodgerUser for cpanel p89zq7www.jobloggs.com[/size]<?php /* Large Fat Ebook Webstore http://www.anewshop.co.uk */// Define the webserver and path parameters// * DIR_FS_* = Filesystem directories (local/physical)// * DIR_WS_* = Webserver directories (virtual/URL) // add your database and website details to the variables belowdefine('DB_SERVER_USERNAME', ''); // your username that you use to log into your web serverdefine('DB_SERVER_PASSWORD', ''); // your password that you use to log into your web serverdefine('DB_DATABASE', ''); // your databasedefine('DIR_FS_CATALOG', '/home/username/public_html/'); define('HTTP_SERVER', 'http://www.yoursite.com'); define('HTTP_COOKIE_DOMAIN', '.yoursite.com'); // do not include the wwwdefine('DB_SERVER', 'localhost'); <?php/* */// Define the webserver and path parameters// * DIR_FS_* = Filesystem directories (local/physical)// * DIR_WS_* = Webserver directories (virtual/URL) // add your database and website details to the variables belowdefine('DB_SERVER_USERNAME', ''); // your username that you use to log into your web serverdefine('DB_SERVER_PASSWORD', ''); // your password that you use to log into your web serverdefine('DB_DATABASE', ''); // your databasedefine('DIR_FS_ADMIN', '/home/username/public_html/admin/'); // replace username with your web server usernamedefine('DIR_FS_CATALOG', '/home/username/public_html/'); define('DIR_FS_DOCUMENT_ROOT', '/home/username/public_html'); define('SITE', 'www.yoursite.com'); define('WWW', 'http://www.yoursite.com'); define('HTTP_SERVER', 'http://www.yoursite.com');define('HTTP_CATALOG_SERVER', 'http://www.yoursite.com');define('DB_SERVER', 'localhost'); // you do not need to change anything belowBest regardsSteve.

Link to comment
Share on other sites

Google this first, and learn what's a filesystem(local) directory and what's webserver directoryLet's say you have web server on your Windows computer, and /admin/ directory inside it... Then your webserver directory for admin area would be http://www.yoursite.com/admin/, and your filesystem directory would be something like C:\webserver\public_html\admin\Since this on windows & linux(unix) systems isn't the same "/home/your_username/public_html/admin" is where your admin directory would be...Uhm, I hope it make sense...Trial and error! Until you find out how it doesn't work you will not know how it works...The following may, or may not be correct:

define('DB_SERVER_USERNAME', 'p89zq7_rodger');    // your username that you use to log into your web serverdefine('DB_SERVER_PASSWORD', 'PASSWORD_HERE');   // your password that you use to log into your web serverdefine('DB_DATABASE', 'p89zq7_store');          // your databasedefine('DIR_FS_CATALOG', '/home/p89zq7/public_html/');    define('HTTP_SERVER', 'http://www.yoursite.com'); define('HTTP_COOKIE_DOMAIN', '.yoursite.com');  // do not include the wwwdefine('DB_SERVER', 'localhost'); 

define('DB_SERVER_USERNAME', 'p89zq7_rodger');    // your username that you use to log into your web serverdefine('DB_SERVER_PASSWORD', 'PASSWORD_HERE');   // your password that you use to log into your web serverdefine('DB_DATABASE', 'p89zq7_store');          // your databasedefine('DIR_FS_ADMIN', '/home/p89zq7/public_html/admin/');      // replace username with your web server usernamedefine('DIR_FS_CATALOG', '/home/p89zq7/public_html/'); define('DIR_FS_DOCUMENT_ROOT', '/home/p89zq7/public_html'); define('SITE', 'www.yoursite.com'); define('WWW', 'http://www.yoursite.com'); define('HTTP_SERVER', 'http://www.yoursite.com');define('HTTP_CATALOG_SERVER', 'http://www.yoursite.com');define('DB_SERVER', 'localhost'); 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...