RE: [PHP-DEV] Location in php's source for ini-values
| From: | ehl lhe | Date: | Tue, 05 Feb 2008 10:10:10 +0000 |
| Subject: | RE: [PHP-DEV] Location in php's source for ini-values | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35177@lists.php.net to get a copy of this message | ||
>I was trying to tell you 'it's a bad idea to modify it', not 'it's
>impossible'. Your first post sounded like you were intending to distribute
>some application!
>
>If you look at the relevant bits of ZE you'll see that a 'modifiable' value
>of NULL in the main.c declaration would do the trick. It's just not
>advisable; you'd be better off finding some way to configure PHP that fits
>your needs if humanly possible.
>
>Also - if you're patching PHP, patching an old version isn't a good idea
>because it can sucker you into staying with that version For All Time if
>your changes aren't trivial. Jani's recent INI work is worth looking into
>(and needs testing anyway).
>
>- Steph
why do you say "old version"? it's about the current stable 5.2.5.
I tried to make some modifikations in main.c, everything seemed to
work pretty fine, but I was unalbe to complete that work (I must admit,
I'm not such a c-expert, I'm just programing simple stuff sometimes) and
later then I got a hint that modifying main.c won't help in my case since
modifications there are being interpreted only when php/apache starts,
so it's values (e.g. open_basedir) are not being set per-request - however,
is that true?
>Jani's recent INI work is worth looking into
Are you talking about PHP 5.3? I failed to find some docs about it's
configuration-directives and stuff, could you tell me about some
ressources please?
Regards,
ehl
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/