Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #6400
| From | "M. Strobel" <sorry_no_mail_here@nowhere.dee> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: can't modify include path |
| Date | 2012-06-21 14:53 +0200 |
| Message-ID | <a4gjqbFrc3U1@mid.uni-berlin.de> (permalink) |
| References | <2df59c0e-ddb9-4088-9b7f-d739dac4bcd5@googlegroups.com> <jrtejt$1l4$1@dont-email.me> <1c5ef5ec-c599-4e8f-b76c-f0c807acdf3f@googlegroups.com> <4FE2CF3A.7010400@arnowelzel.de> <slrnju618v.2p72.knock_yourself_out@shell.config.com> |
Am 21.06.2012 13:27, schrieb Allodoxaphobia: > 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. >>>> >>>> <?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. > > Doesn't the command line PHP use a _different_ php.ini than the server > PHP environment? That's always been my belief... > > Jonesy > The setup of Opensuse and Ubuntu use different .ini files for command line and web server. And it makes sense. So the information from the web server executed phpinfo() is most relevant for the OP. I am just working on this subject with a self compiled PHP 5.4.4, and I can tell you that PHP is looking first for 'php-'.php_sapi_name().'.ini' file in the indicated directory, in my case php-apache2handler.ini php-cli.ini /Str.
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