Re: php.ini?
| From: | David Robley | Date: | Thu, 09 May 2002 00:56:43 +0000 |
| Subject: | Re: php.ini? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96731@lists.php.net to get a copy of this message | ||
In article <036501c1f6cb$cdda14e0$7100a8c0@webdesign>, jpaulson@lbjs.com
says...
> What's funny is that in my phpinfo.php it says that the php.ini file is in
> /etc/php but there is no directory going to that. When compiling php is
> there a parameter such as --enable ftp or something that i can tell php
> where to put the Configuration File Path?
>
> Thanks.
>
> ----- Original Message -----
> From: "Tyler Longren" <tyler@captainjack.com>
> To: "Jay" <jpaulson@lbjs.com>; <php-general@lists.php.net>
> Sent: Wednesday, May 08, 2002 2:48 PM
> Subject: Re: [PHP] php.ini?
>
>
> > Did you remember to copy your php.ini-dist from the php source directory
> > after compiling? If you didn't, go download php again, untar it, and
> there
> > should be a php.ini-dist in there. Then, do this:
> > cp php.ini-dist /usr/local/lib/php.ini
> >
> > good luck,
> > Tyler Longren
> > Captain Jack Communications
> > tyler@captainjack.com
> > www.captainjack.com
> >
> > ----- Original Message -----
> > From: "Jay" <jpaulson@lbjs.com>
> > To: <php-general@lists.php.net>
> > Sent: Wednesday, May 08, 2002 2:50 PM
> > Subject: [PHP] php.ini?
> >
> >
> > > I'm trying to find my php.ini file on my RedHat 7.2 server and I can't
> > find
> > > it. I've done the "find / -name 'php.ini'" command in the
> > > terminal and
> it
> > > comes back with nothing. I've compiled php from the source and I'm
> having
> > > no luck in finding the ini file and I need to edit it so I can install
> one
> > > application.
> > >
> > > Thanks.
A compile from source will _not_ install php.ini. Check the root directory
of your source where you should find two sample ini files. named something
like php.ini.dist and php.ini.opt. Choose one, edit it to your needs and
put it where php expects it to be.
As far as the location of the ini file, see the Install instructions for
*nix. Briefly:
--with-config-file-path=PATH
Sets the path in which to look for php.ini, defaults to PREFIX/lib
--
David Robley
Temporary Kiwi!
Quod subigo farinam