Re: Where is my php.ini? - FORGET IT!
| From: | Gaylen Fraley | Date: | Fri, 02 Nov 2001 00:12:32 +0000 |
| Subject: | Re: Where is my php.ini? - FORGET IT! | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-73205@lists.php.net to get a copy of this message | ||
Sorry! I had a senior moment.! I have it.
--
Gaylen
gfraley5@earthlink.net
Home http://www.gaylenandmargie.com
PHP KISGB v2.21 Guestbook http://64.133.20.82/phpwebsite
"Meir Kriheli" <mksoft@netvision.net.il> wrote in message
news:20011101233857.HRNC958.fep2@there...
> On Friday 02 November 2001 01:16, Gaylen Fraley wrote:
> > Ok. I've installed php on linux and all is well! Been running for
weeks
> > now. Problem is, I never had to set up my php.ini . Got curious and am
> > wondering where it is. Locate php.ini yields one in the pear/tests
> > directory, but that's not it. Suggestions?
>
> If you don't have one, PHP will use defaults. In PHP's source directory
> there's a file called php.ini-dist (or something similar) you can copy it
to
> where PHP expects to find it and rename it to php.ini.
>
> To find out where you should copy it create a php file containing
phpinfo()
> in it and access it with your browser. Examine the output to see where the
> ini is expected (you can define this while running configure during the
build
> process)
>
> --
> Meir Kriheli