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

Home » Imported messages » comp.lang.php » Figure out path to php.ini
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Figure out path to php.ini [message #173498 is a reply to message #173490] Fri, 15 April 2011 21:24 Go to previous messageGo to previous message
Jo Schulze is currently offline  Jo Schulze
Messages: 15
Registered: January 2011
Karma:
Junior Member
Twayne wrote:

> In news:4da80cac$0$6885$9b4e6d93(at)newsspool2(dot)arcor-online(dot)net,
> Jo Schulze <antispam(at)feuersee(dot)de> typed:

>> The predefined const PHP_CONFIG_FILE_PATH should contain
>> the directory where php.ini is located.
>
> True, but to a newbie it could get confusing with all the php.ini
> files strewn around his hard drive. They aren't all the same, where a
> phpinfo on the server gets you the exact information you need.

I beg you pardon but if you have a bunch of php.ini files strewn around
your hard drive, you have a probem. There should be one php.ini for
every SAPI avali, which limits the number to a max of 3 (CLI, webserver
module and websever CGI). Well, thinking of it, possibly several
webservers are running at different ports, but for a productive
environment I say that you'll have a limit of 2 (CLI and whatever for
HTTP access).

> Also,
> if it's a turnkey freebie like there are so many of these days, it wll
> be pretty well spelled out n the docs that accompany it.

Huh?

> BTW, I haven't seen any yet that provide the right security
> settings for
> either being a server to the outside world or just for testiing, etc.
> etc.. They leave that up to the user since there are so many different
> ways to do it. Keep in mind I've only looked at the freebies that
> allow easy setup for local server capability. Testing of code in other
> words.

There is pretty much documentation about how to secure PHP
installations, if that was your question.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: regexp
Next Topic: summing an array of arrays
Goto Forum:
  

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

Current Time: Sat Nov 23 05:03:35 GMT 2024

Total time taken to generate the page: 0.17458 seconds