ID:               38846
 Updated by:       [EMAIL PROTECTED]
 Reported By:      teopanait at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         *Configuration Issues
 Operating System: Windows and Linux
 PHP Version:      5.1.6
 New Comment:

No bug here, there are lots of ways to change the configuration.


Previous Comments:
------------------------------------------------------------------------

[2006-09-16 00:16:08] [EMAIL PROTECTED]

Moving to a more appropriate category.

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

[2006-09-16 00:06:02] judas dot iscariote at gmail dot com

you can do this, just use Fastcgi.

this is not a bug btw.. and a non-global php.ini for the apache module
is likely to become a security disaster.

and no, please, I mean,, really. do not suggest more ini files or ini
directives that modifies the PHP behaviuor. the list in now too big, we
don't need more, in fact, we need less ;)

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

[2006-09-15 14:12:13] teopanait at gmail dot com

Description:
------------
The fact that PHP.INI is global creates deployment problems and PHP
application conflicts.

PHP.INI should be local to each application.

Global configuration files are bad. The PHP developers should have made
this file local to every PHP application, so it doesn't create
deployment problems and conflicts.

The global PHP.INI file means one thing: no "deploy by simply uploading
the PHP files to the server" for you. After you upload the files to the
server, most likely you'll have to tweak PHP.INI or your code.

This is 2006 people, there has to be a better way.

Zend should implement 2 things:

- PHP.INI should be local to each PHP application.

I know that this can create security problems, but I'm sure that if
they assign a brilliant software designer on this for one month,
they'll find a good way to implement it which doesn't create security
problems.

For example, there should be a global PHP_RESTRICTIONS.INI where the
admin could add restrictions, and the PHP.INI file should be local to
all applications

- There should be a way of running code written for different versions
of PHP on the same web server, without modifications. This could be
solved by using the local PHP.INI - in the PHP.INI directory of my app,
I should be able to specify something like:

PHP_Version=4.1.2

and then, the PHP interpreter should run the specified version (so we
should have several interpreter versions installed, and one "main" CGI
executable or apache module to route to the correct version specified
in the local PHP.INI).

More details are available at
http://discuss.joelonsoftware.com/default.asp?joel.3.390453.0

Thank you.



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


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

Reply via email to