FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » can't modify include path
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: can't modify include path [message #178476 is a reply to message #178474] Thu, 21 June 2012 12:53 Go to previous messageGo to previous message
M. Strobel is currently offline  M. Strobel
Messages: 386
Registered: December 2011
Karma:
Senior Member
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.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PHP mysql_excape but need to search for those items
Next Topic: Adding the translate function to existing code.
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 20:36:39 GMT 2024

Total time taken to generate the page: 0.04806 seconds