|
#1
|
|||
|
|||
|
I have export my osticket set up and i need to transferred to my local server. what settings do i need to change aside from DB user, DB name, DB password? I am new here.. i hope some one will give me straight and detailed answered. |
|
#2
|
||||
|
||||
|
Short version would be:
1. use the tools that you have to export your database. 2. copy the osticket folders and files. 3. on your new host put the osticket files and folders. 4. create your DB, username, and password in MySQL. 5. import your data base into the new version of mysql. 6. edit your /include/settings.php and update line 39. [note this could be called ost-config.php or ostconfig.php]. If you changed the db name, username, password edit those lines also. |
|
#3
|
|||
|
|||
|
Quote:
|
|
#4
|
||||
|
||||
|
Not specifically. But if you check the php logs it might point you in the right direction. Also when you setup your mysql username and password did you give it permissions to the database you created?
|
|
#5
|
|||
|
|||
|
permission is created.. where do i find that php logs? which path?
|
|
#6
|
||||
|
||||
|
That depends entirely on your os, version of php, and how you have PHP configured, etc. You really have two options for finding it.
1. You can create a test.php and put the following in it: Code:
<?php phpinfo(); ?> 2. You can look in your php.ini. In Linux it's usually some where in /etc. My Debian server has it located in /etc/php5/apache2/php.ini Under Windows it can vary greatly also. On my Windows box mine is located in C:\Program Files\PHP\php.ini |
|
#7
|
|||
|
|||
|
Quote:
you may also need to edit main.inc.php and make sure the 3rd line below points to your root web folder Code:
#Set Dir constants
if(!defined('ROOT_PATH')) define('ROOT_PATH','./'); //root path. Damn directories
define('ROOT_DIR','/var/www' . '/'); #Get real path for root dir ---linux and windows
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|