ID:               41462
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jean dot bruenn at ip-minds dot de
-Status:           Open
+Status:           Bogus
 Bug Type:         *Configuration Issues
 Operating System: Linux (2.6.x Kernel) SMP
 PHP Version:      5.2.2
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

.


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

[2007-05-22 15:32:45] jean dot bruenn at ip-minds dot de

Description:
------------
btw. it does not matter WHICH php Version - i had this problems with
older version of php5 too.

i was wondering why i get errors cause of extensions. It meant it can't
load them 'again'. That was no problem at all, i just ignored this
messages, now i tried to install the zend optimizer (hey.. it's not a
zend-related problem!) it gives a fatal error cause it can't load the
extension twice. It seems that many ppl having such problems - it comes
when u use --with-config-scan-dir and --with-config-path (both options)
and both are pointing to the same directory.

Reproduce code:
---------------
Well.. just create a folder to store the php.ini - for example
"testphp" in /etc now recompile php with: '--with-layout=GNU'
'--with-config-file-path=/etc/testphp'
'--with-config-file-scan-dir=/etc/testphp' now put your php.ini into
this directory and put some extensions into it, for example xcache or
the zend optimizer or apc, or whatever you want. when you go to your
source directory and type "make test" you will see 1. (see at actual
result) - and it will give you errors cause of some extensions (zend
optimizer will give a fatal one and make test is stopping)

i recompiled it then with _one_ of these settings - see 1. in expected
results - now it's working, strange eh?

So.. is it a bug or a feature? ;)

Expected result:
----------------
1. (thats how it looks if you use one of these configure settings)

INI actual  : /etc/testphp/php.ini
More .INIs  : 




Actual result:
--------------
1. (thats how it look if you use both configure settings)

INI actual  : /etc/testphp/php.ini
More .INIs  : /etc/testphp/php.ini





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


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

Reply via email to