Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #6397
| From | Arno Welzel <usenet@arnowelzel.de> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: can't modify include path |
| Date | 2012-06-21 09:37 +0200 |
| Organization | A noiseless patient Spider |
| 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> |
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
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