[BNM] Where be the php.ini file?

AndrewGill73@gmail.com andrewgill73 at gmail.com
Thu Jan 22 10:35:52 GMT 2009


Yeah, i've got loads of php.ini files on my shared hosts - can be very
confusing!

So I just run phpinfo() and look for 'Loaded Configuration file'.

cheers,
Andrew Gill (andrew at andrewgill.com)



2009/1/22 Leo Brown <lists at acumendevelopment.net>:
> Crazy,
>
> From the paths below, I'd say you're going to need to copy
>
>  /usr/local/php-5.2.4/php.ini-recommended
>
> To:
>
>  /usr/local/php-5.2.4/php.ini
>
> However, if phpinfo() is reporting a different path, that's the one you
> should use - i.e. copy one of the samples there!
>
> Cheers
> Leo
>
> -----Original Message-----
> From: bnmlist-bounces at brightonnewmedia.org
> [mailto:bnmlist-bounces at brightonnewmedia.org] On Behalf Of David Andrew
> Sent: 22 January 2009 10:20
> To: Brighton New Media
> Subject: Re: [BNM] Where be the php.ini file?
>
> Thanks Leo
>
> Did: locate php.ini and it came back with
>
> - /private/etc/php.ini.default
> - /usr/local/php-5.2.4/php.ini-dist
> - /usr/local/php-5.2.4/php.ini-recommended
> - /usr/local/php-5.2.4/tmp-php.ini
>
> Googling the lot to determine what each one is.
>
> One final question. Why would my phptest.php say that my php.ini file
> is in /usr/local/php5/lib?
>
> D
> --
>
> BNM Subscribe/Unsubscribe:
> http://www.brightonnewmedia.org/options/bnmlist
>
> BNM powered by Wessex Networks:
> http://www.wessexnetworks.com
>
> --
>
> BNM Subscribe/Unsubscribe:
> http://www.brightonnewmedia.org/options/bnmlist
>
> BNM powered by Wessex Networks:
> http://www.wessexnetworks.com
>


More information about the BNMlist mailing list. Powered by Wessex Networks