RE: [PHP-INSTALL] php.ini
| From: | Donald Henson | Date: | Thu, 08 Jan 2004 18:39:56 +0000 |
| Subject: | RE: [PHP-INSTALL] php.ini | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-12469@lists.php.net to get a copy of this message | ||
Thanks for the pointer. It says the php.ini file should be in the /etc
directory which is where it is. Maybe I should just have more faith.
Don Henson
On Thu, 2004-01-08 at 10:25, John Holden wrote:
> Does PHP work?
>
> If so, run this command:
>
> php -i > phpinfo.txt
>
> Then look through that file. It will tell you the location of the
> php.ini file, along with a bunch of other information.
>
> John
>
> -----Original Message-----
> From: Donald Henson [mailto:wepin@wepin.com]
> Sent: Thursday, January 08, 2004 12:17 PM
> To: PHP Install List
> Subject: [PHP-INSTALL] php.ini
>
>
> (SuSE 9.0, PHP4)
>
> I'm trying to install PHP4 and integrate it with Apache2. I've purchased
> a Sams book, "Teach Yourself PHP, MySQL, and Apache in 24 Hours". I've
> used the book to successfully install MySQL and Apache2 using Synaptic
> and the default locations in the install packages. However, it appears
> that PHP install locations have changed since the book was written. For
> example, the books says to copy the php.ini-dist file to
> /usr/local/php/lib/php.ini. There is no php.ini-dist file. There is a
> php.ini but it is located in /etc. That doesn't appear to be the proper
> place for it but there is no /usr/local/php directory either. Can anyone
> tell me where php.ini should go? Any assistance will be sincerely
> appreciated.
>
> Don Henson