[kwlug-disc] php.ini in Ubuntu 15.10?

Raymond Chen raymondchen625 at gmail.com
Sun Nov 15 19:47:06 EST 2015


Can 'php --ini' tell you where it's trying to look at?

On Sat, Nov 14, 2015 at 12:59 AM, B.S. <bs27975 at yahoo.ca> wrote:

> Charles' post made me do a quick google.
>
> Your solution is mentioned, but apparently only applies if there is
> actually a php.ini, and apparently there isn't one (by default) any more.
> Or something.
>
> At least per
> http://stackoverflow.com/questions/8684609/dude-wheres-my-php-ini ('Dude,
> where's my php.ini?'), FWIW.
>
>
> >________________________________
> > From: Khalid Baheyeldin <kb at 2bits.com>
> >To: KWLUG discussion <kwlug-disc at kwlug.org>
> >Sent: Saturday, November 14, 2015 12:53 AM
> >Subject: Re: [kwlug-disc] php.ini in Ubuntu 15.10?
> >
> >
> >
> >I don't use 15.x yet (and only stick with LTS releases).
> >
> >But, you can tell which files PHP is reading as configuration by creating
> a file called pi.php, with the following line in it:
> >
> ><?php phpinfo(); ?>
> >
> >Put it in your webroot, then access your site using:
> >
> >http://whereever-your-site-is/pi.php
> >
> >That will tell you which PHP configuration files are being read.
> >
> >
> >
> >
> >On Fri, Nov 13, 2015 at 9:35 PM, Charles M <chaslinux at gmail.com> wrote:
> >
> >
> >>
> >>
> >>Just installed a LAMP stack in Ubuntu 15.10 and I can't seem to find
> php.ini? Has it changed to one of?:
> >>
> >>/usr/share/php5/php.ini-development
> >>/usr/share/php5/php.ini-production
> >>/usr/share/php5/php.ini-production.cli
> >>
>
>
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20151115/fcec5a4f/attachment.htm>


More information about the kwlug-disc mailing list