ID:               15377
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         *Configuration Issues
 Operating System: Linux
 PHP Version:      4.1.1
 New Comment:

You can specify php.ini location with --with-config-file-path directive
at compile time, or by setting PHPRC environmental variable at runtime.


Previous Comments:
------------------------------------------------------------------------

[2002-02-05 00:00:38] [EMAIL PROTECTED]

First step, I installed a apache1.3.22 and php4.1.1 on my Linux(RH7.2).
Then I packaged the two destination folder and moved them to a new
Linux server. 
Then, I unpacked the binary package and modify the config files of
apache. Now, my web server could be started, but when i use phpinfo()
function, it showed that php.ini file is under
/home/phpuser/php4/lib/php.ini. this is the folder under the first
server, which I compiled php and apache. Now in the second server, the
right folder should be:
/home/apacheuser/php/lib/php.ini Right?
I now that php4.0.5 will seek php.ini under /usr/local/lib,and this
path exist on every machine. so I just need to do is copying the
php.ini file into it. In fact, I think you guys are bright and make a
greate progress to move php.ini under php/lib. After doing this, people
can seek and modify php.ini under his/her own home folder and do not
need to ask for some special privileges. I like this feature. 
The problem is, how can I change php.ini's location after installation?


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=15377&edit=1

Reply via email to