Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "J.O. Aho" Newsgroups: comp.lang.php Subject: Re: can't modify include path Date: Thu, 21 Jun 2012 18:20:03 +0200 Lines: 26 Message-ID: References: <2df59c0e-ddb9-4088-9b7f-d739dac4bcd5@googlegroups.com> <1c5ef5ec-c599-4e8f-b76c-f0c807acdf3f@googlegroups.com> <4FE2CF3A.7010400@arnowelzel.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net NjMrNrKrM/K82aMjulicpgiq6x35s5p95Wy41Hex/j8Q5ALJ8N026TL+qj5Iy58XfY Cancel-Lock: sha1:CJ4PMwv0FGjW2WR+OIrVsvah5ro= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120613 Thunderbird/13.0 In-Reply-To: Xref: csiph.com comp.lang.php:6401 On 21/06/12 13:27, Allodoxaphobia wrote: > On Thu, 21 Jun 2012 09:37:30 +0200, Arno Welzel wrote: >> jans, 21.06.2012 03:37: >>> On Wednesday, June 20, 2012 2:16:34 PM UTC-7, Jerry Stuckle wrote: >> [...] >>>> >>>> See phpinfo() - it will tell you which config (if any) it's using, i.e. >>>> >>>> >>> phpinfo(); >>>> ?> >> [...] >>> I tried the php --ini and it told me the right one is in /etc >> >> Propably it told you, it WOULD load /etc/php.ini, if it was there. > > Doesn't the command line PHP use a _different_ php.ini than the server > PHP environment? That's always been my belief... Depends on the release of the PHP, as people already mentioned Ubuntu and SuSe, but while RedHat (guess it includes Fedora as it's their test environment) uses the same php.ini for both server and cli. -- //Aho