View previous topic :: View next topic |
Author |
Message |
Valle -
Joined: 23 Apr 2005 Posts: 2
|
Posted: Sat Apr 23, 2005 6:16 pm Post subject: PHP.ini (Win Abyss 1x & PHP5) |
|
|
While running the CGI version of PHP, I can set the path to the php.ini file but when I'm running the ISAPI version, I cannot and it will be default path. (e.g. C:\Windows\)
I use ISAPI and got C:\PHP set for both the PHP_RC custom env. var. and windows PATH env. var. but it still uses C:\Windows\
Last edited by Valle on Mon Apr 25, 2005 1:15 am; edited 2 times in total |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sun Apr 24, 2005 12:50 pm Post subject: Re: PHP.ini (Win Abyss 1x & PHP5) |
|
|
Valle,
When running the ISAPI version, PHP doesn't take into account the PHP_RC environment variable (ISAPI doesn't even know how to get these variables.)
You should put php.ini in C:\Windows or C:\WINNT or use the Regedit tool to create a key in HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath and set its value to the php.ini path.
For more information about php.ini location and search paths, read the install.txt file that comes with PHP5 (the info is in line 380 in "Manual Installation steps"). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
|