Re: Location in php's source for ini-values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sat, February 2, 2008 5:09 am, ehl lhe wrote:
>
> hello,
>
>
> I'd like to know where PHP finally sets the php.ini-values in it's
> sourcecode, e.g. max_execution_time, open_basedir, etc...
> What I need is to set several static values which must not be editable
> using php.ini, .htaccess, ini_set, or whatever - so I simply need to
> set final values for several php.ini-settings by modifying the php
> sourcecode...

open_basedir can't be over-ridden in .htaccess or with ini_set.

That would defeat its whole purpose.

max_execution_time can be, but I *think* there might be something with
php_admin_value that makes it not be over-ridable.

I don't know where it is in the source, but I know you can try digging
through the source here:
http://lxr.php.net/
or here:
http://cvs.php.net/

It's not going to be terribly tricky to find, as it's not in the
extensions, and it's GOT to be in something pretty basic/fundamental,
as well as in the first chunk of code that executes...

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux