Location, Location, Location: Tips for Storing Web Site Files
Subject:   php.ini
Date:   2003-06-04 03:58:37
From:   anonymous2
Thanks for a great article!

I would like to know how one changes the expected location of the php.ini file. Most docs and refs (including this article) say it should be placed in usr/local/lib but my PHP installation looks for the config file in /usr/lib. (I found this by checking php(info) after having become just a little frustrated when 'Includes' wouldn't work for any new paths I specified in php.ini)

Is this default location for php.ini something that is set at compile time? Can I change it to be usr/local/lib now? If so, how?