View previous topic :: View next topic |
Author |
Message |
emilien -
Joined: 08 Feb 2006 Posts: 4
|
Posted: Wed Feb 08, 2006 1:40 am Post subject: Select an another php.ini path |
|
|
Hello,
I got a problem ...
I'have just install Abyss X1, then i have added php 5.1.2.
But i don't want php to look in c:\windows\php.ini.
So in the "script parameter", in the Interpreters argument I wrote :
"--with-config-file-path=G:/php/php.ini-recommended.ini"
But when I execute a phpinfo(), the path to the php.ini is still c:\windows\
Someone knows why ?
Have a good day.
Emilien |
|
Back to top |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Wed Feb 08, 2006 9:52 am Post subject: |
|
|
Where did you see that? Looks more like a compilation option to me.
Code: | -c <path>|<file> Look for php.ini file in this directory |
Try that instead. _________________
 |
|
Back to top |
 |
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Feb 08, 2006 11:30 am Post subject: Re: Select an another php.ini path |
|
|
emilien,
You can add a command line parameter to PHP or add a custom environment variable to instruct it to use another php.ini. See how we suggest to do that in the instructions of "Adding PHP 5 support" in http://www.aprelium.com/abyssws/php5win.html . _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
emilien -
Joined: 08 Feb 2006 Posts: 4
|
Posted: Wed Feb 08, 2006 2:30 pm Post subject: |
|
|
Hello,
Thank you for your quick and clear answer, I'll test this tonight.
Have a nice day :) |
|
Back to top |
|
 |
kev1952 -
Joined: 08 Sep 2005 Posts: 105 Location: Townsville Australia
|
Posted: Fri Feb 10, 2006 8:41 am Post subject: |
|
|
WHEN I installed PHP5 on my system I simply put it into a directory of my choice ("D:\PHP") and then told Abyss where it was. PHP checks it's own root directory for PHP.INI during it's path search - so if it's there then it will find it. _________________ Cheers.... Kev
Kev's Place - http://www.kevsplace.com
Powered by Abyss X1. |
|
Back to top |
|
 |
|