[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Creating a php.ini
- Subject: Re: [cobalt-users] Creating a php.ini
- From: "Steven Werby" <steven-lists@xxxxxxxxxxxx>
- Date: Mon Aug 14 12:48:43 2000
Daren Cotter <darenc@xxxxxxxxxxxxxxxxx> wrote:
> I just installed PHP v4.0pl2. However, I could not find a php.ini file
> anywhere on the system. I need to change a few options (max file upload size
> for one), but I don't want to specify this on command line, I want to do it
> from the options file so whenever the system is restarted it will
> automatically load. Can anyone tell me where the file is, or what I need to
> do to create one?
Daren, if you installed from source it will be in the PHP source directory.
There are actually two files you can use - php.ini-dist and php.ini-otpimized.
I always use the first and modify it accordingly. You'll need to copy it to
/etc/httpd/conf and rename it php.ini or to a separate location if you specified
one in ./configure. All of this is covered in the PHP install instruction file
"INSTALL" in the PHP source you unpacked and also on the php.net website
instructions section.
--
Steven Werby {steven-lists@xxxxxxxxxxxx}