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 #173402 is a reply to message #173401] Fri, 08 April 2011 16:06 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 4/8/2011 11:50 AM, Mike wrote:
> How can a php script figure out the path to the php.ini file WITHOUT
> phpinfo() enabled?
>
> Mike

phpinfo() is NEVER "disabled" - it's always available.

However, it just aggregates data from various system and PHP variables.
Check out

http://us3.php.net/manual/en/function.get-cfg-var.php

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[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: Sun Nov 24 21:57:17 GMT 2024

Total time taken to generate the page: 0.04088 seconds