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 #178473 is a reply to message #178472] Thu, 21 June 2012 07:37 Go to previous messageGo to previous message
Arno Welzel is currently offline  Arno Welzel
Messages: 317
Registered: October 2011
Karma:
Senior Member
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
[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: Tue Nov 26 00:42:41 GMT 2024

Total time taken to generate the page: 0.05141 seconds