PHP.ini (Win Abyss 1x & PHP5)

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
Valle
-


Joined: 23 Apr 2005
Posts: 2

PostPosted: Sat Apr 23, 2005 6:16 pm    Post subject: PHP.ini (Win Abyss 1x & PHP5) Reply with quote

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 View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Apr 24, 2005 12:50 pm    Post subject: Re: PHP.ini (Win Abyss 1x & PHP5) Reply with quote

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 View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group