# PHP_INI_SYSTEM and httpd.conf

- Thread: https://externals.io/message/17479
- Original archive: https://news-web.php.net/php.internals/17479
- Started by Sean Coates on 2005-08-01T17:12:39+00:00
- Messages: 4
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #17479 — Sean Coates — 2005-08-01T17:12:39+00:00

URL: https://externals.io/message/17479#17479

Hello core folks.

Please see this table:
http://php.net/manual/en/ini.php#AEN189095

As long as I can remember, the manual has said that PHP_INI_SYSTEM is 
settable in httpd.conf.

I just ran some tests, and it seems that this is not the case. Seems 
these are only settable in php.ini.

The manual even goes far as to distinguish between "php.ini only" 
(disable_classes, for example), and PHP_INI_SYSTEM.

So, am I just missing something, or is the manual wrong?
Could someone clarify in unambiguous terms the credentials for changing 
a setting that is PHP_INI_SYSTEM?

(sorry for the crosspost)

Thanks,
S

---

## #17482 — Nuno Lopes — 2005-08-01T23:21:55+00:00

URL: https://externals.io/message/17479#17482 · In reply to: #17479

I can clearly set the PHP_INI_SYSTEM option in the httpd.conf.
As stated in http://php.net/configuration.changes you should use the 
'php_admin_xx' directive instead of 'php_xx'.

AFAIK, those options marked with 'php.ini only' were considered too 
expensive to be set at run-time (they are hard-coded in the ini updater 
script - phpdoc/scripts/iniupdate).

Nuno


----- Original Message ----- 
> Hello core folks.
>
> Please see this table:
> http://php.net/manual/en/ini.php#AEN189095
>
> As long as I can remember, the manual has said that PHP_INI_SYSTEM is 
> settable in httpd.conf.
>
> I just ran some tests, and it seems that this is not the case. Seems these 
> are only settable in php.ini.
>
> The manual even goes far as to distinguish between "php.ini only" 
> (disable_classes, for example), and PHP_INI_SYSTEM.
>
> So, am I just missing something, or is the manual wrong?
> Could someone clarify in unambiguous terms the credentials for changing a 
> setting that is PHP_INI_SYSTEM?
>
> (sorry for the crosspost)
>
> Thanks,
> S

---

## #17483 — Sean Coates — 2005-08-01T23:46:11+00:00

URL: https://externals.io/message/17479#17483 · In reply to: #17482

> I can clearly set the PHP_INI_SYSTEM option in the httpd.conf.
> As stated in http://php.net/configuration.changes you should use the 
> 'php_admin_xx' directive instead of 'php_xx'.

*cough*
Yes, you're right.
Sorry for the noise.

S

---

## #17504 — Gabor Hojtsy — 2005-08-02T19:22:59+00:00

URL: https://externals.io/message/17479#17504 · In reply to: #17483

> > […]
> 
> *cough*
> Yes, you're right.
> Sorry for the noise.

So since Sean misunderstood something, this might be a good point to
more clearly state somewhere?

Goba
