Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #6397

Re: can't modify include path

Path csiph.com!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.php
Subject Re: can't modify include path
Date Thu, 21 Jun 2012 09:37:30 +0200
Organization A noiseless patient Spider
Lines 38
Message-ID <4FE2CF3A.7010400@arnowelzel.de> (permalink)
References <2df59c0e-ddb9-4088-9b7f-d739dac4bcd5@googlegroups.com> <jrtejt$1l4$1@dont-email.me> <1c5ef5ec-c599-4e8f-b76c-f0c807acdf3f@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
Injection-Info mx04.eternal-september.org; posting-host="0yczmRcmY8aWSlP2HmsIaw"; logging-data="20013"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18jwu4pgMbv8U/0FZHaMthSVM1kbKc9URE="
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
In-Reply-To <1c5ef5ec-c599-4e8f-b76c-f0c807acdf3f@googlegroups.com>
Cancel-Lock sha1:LjzmULfTIZccqBq/RRUrmpuFCQs=
Xref csiph.com comp.lang.php:6397

Show key headers only | View raw


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.
>>
>> <?php
>> 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.

> The only one in that directory is php.ini.default and I added the include_path to that ini and it is not showing up in php.info.  

Make a copy of php.ini.default and rename to php.ini.

> the command said
> loaded ini file (/etc)
> additional parsed ini files(none)
> additional ini files (none)
> 
> I restarted the web server apache.  Just for fun I restarted my server.  I still have .:  for my include path.  The php.ini.default include_path is:
> include_path = ".:/usr/local/php5/include:/users/jr/pear/share/pear" 

This include path has nothing to do with the location php.ini at all! It
is the path where PHP tries to locate files which you try to include
within your scripts with include() or require().


-- 
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

can't modify include path jans <janis.rough@gmail.com> - 2012-06-20 13:11 -0700
  Re: can't modify include path Jerry Stuckle <jstucklex@attglobal.net> - 2012-06-20 17:16 -0400
    Re: can't modify include path jans <janis.rough@gmail.com> - 2012-06-20 18:37 -0700
      Re: can't modify include path Arno Welzel <usenet@arnowelzel.de> - 2012-06-21 09:37 +0200
        Re: can't modify include path Allodoxaphobia <knock_yourself_out@example.net> - 2012-06-21 11:27 +0000
          Re: can't modify include path Arno Welzel <usenet@arnowelzel.de> - 2012-06-21 14:46 +0200
          Re: can't modify include path "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-06-21 14:53 +0200
          Re: can't modify include path "J.O. Aho" <user@example.net> - 2012-06-21 18:20 +0200

csiph-web