View previous topic :: View next topic |
Author |
Message |
senshi -
Joined: 05 Nov 2003 Posts: 385 Location: UK
|
Posted: Tue Aug 10, 2004 2:12 am Post subject: my.ini files for the stuff to make a forum board work... |
|
|
Hi,
Daft question, here goes...
The my.ini for mySql which sits in the %system root% (usually winnt or similar) and the php.ini file that also sits in the same folder...
can the setup be configured to look elsewhere for those said files? if so how do I achieve this?
what I want to do is to make a completely seperate disk with all the programs I need (servers) installed on that one drive, the aim is to beable to have a back up image of the drive as well as being able to move the drive between machines with the aim of making the whole forum non dependent on any one single machines resouurces rather that the installs have full access to resources installed on the same drive. this how ever falls flat on its face in the lite of the fact that you have to have my.ini and php.ini in the windows system root folder. If it is possible to by pass this, I would love to know how.
IM experiencing some mySql server problesms in as far is it refuses to run on any drive other than c:\mySql, the drive I wish to use is H:\ my web server drive which is a drive I converted with a caddy to run as a removable storage drive but would rather uses as a webserver drive, so far the web server functions as expected but mySql is complaining and refuses to run, IM assuming that the phpMyadmin I installed allong with the php is functioning because the phpMyadmin runs but cant connect to database...
So IM of sorts partly running, its a conectivity and my.ini issue and php.ini issue or rather where they are found... |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sun Aug 15, 2004 2:26 am Post subject: Re: my.ini files for the stuff to make a forum board work... |
|
|
senshi,
You can instruct PHP to read another configuration file by adding -c file to the command line. Unfortunatly, you cannot add command line arguments to interpreters in version 1.x of Abyss Web Server (this will be possible in version 2.)
MySQL also has a similar feature. When running the server, add --init-file=file to use another initialization file. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
senshi -
Joined: 05 Nov 2003 Posts: 385 Location: UK
|
Posted: Sun Aug 15, 2004 1:29 pm Post subject: |
|
|
Thanks, I will give it ago. Tried to install it to a drive and it wasnt happy at all, mySql being the biggest problem of all because the phpMyadmin cant connect to the mySql database and thats when the server runs, most of the time it stalls.
Have had to stop work at the moment so I cant try it straight away, will get back to you on the result at a later date.
Cheers. |
|
Back to top |
|
 |
|