From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.1.1
PHP Bug Type:     *Configuration Issues
Bug description:  php.ini is not in right location

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 bug report at http://bugs.php.net/?id=15377&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15377&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15377&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15377&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15377&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15377&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15377&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15377&r=notenoughinfo


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to