Req #80890 [Com]: phpinfo should make it clear what files define local and master cofiguration

From: Date: Mon, 12 Jun 2023 11:26:41 +0000
Subject: Req #80890 [Com]: phpinfo should make it clear what files define local and master cofiguration
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-244671@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80890&edit=1

 ID:                 80890
 Comment by:         getfinanceinvestment at gmail dot com
 Reported by:        jab_creations at yahoo dot com
 Summary:            phpinfo should make it clear what files define local
                     and master cofiguration
 Status:             Open
 Type:               Feature/Change Request
 Package:            *General Issues
 Operating System:   *nix/Win
 PHP Version:        7.4.16
 Block user comment: N
 Private report:     N

 New Comment:

Getfinanceinvestment are sharing latest news about finance, business, loan, investment, trading,
banking, demat account, tax etc. More info to visit: (https://getfinanceinvestment.com)github.com


Previous Comments:
------------------------------------------------------------------------
[2021-03-19 17:14:08] jab_creations at yahoo dot com

Description:
------------
Some of our hosts use cPanel and unfortunately cPanel gets a bit excessive with how many copies of
php.ini files they have all over the file system. In fact the file system is a mess!

Any way I've been reviewing various PHP settings trying to make it more difficult for
troublemakers to do things e.g. the request variables were set to 10,000! I called my host and they
had trouble figuring out where the local settings were being defined.

I think it'd save a lot of people the headache of testing numerous php.ini files if the
phpinfo() function showed a list of each local and mater configuration file (and their absolute
path).

Additionally I personally don't like seeing cPanel add PHP settings to the Apache .htaccess
configuration files (that is for Apache, whatever...) and I think it'd be very useful to know
if any other configuration files such as Apache's configuration files were being used for
anything.

Test script:
---------------
<?php
phpinfo();
?>



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=80890&edit=1


Thread (5 messages)

« previous php.bugs (#244671) next »