ID:               48184
 User updated by:  tyra3l at gmail dot com
 Reported By:      tyra3l at gmail dot com
 Status:           Analyzed
 Bug Type:         *Configuration Issues
 Operating System: Windows XP SP3
 PHP Version:      5.3.0RC2
 Assigned To:      pajoye
 New Comment:

Ok, I know about the db drivers dependency, but if you can mention 
this about the oracle driver, it should be noted for the others too.
The lines about the built-in and the not-supported-yet modules should 
be removed, so the php.ini and the actual extension should be kept in 
sync imho.
If the exif ext depends on the mbstring, then it should be put after 
that.
Could this mean, that we could have some cycle reference error about 
the extensions loading preference, for example:
If A depends on B and B on C and C on A, then it can be loaded?
Sorry for asking stopid questions. :/

ps: Can I get/build somehow the curl module for myself, or it wont 
work with the current RC? 

Tyrael


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

[2009-05-07 19:14:08] paj...@php.net

In short, I will repackage it without mssql as it makes no sense to
bundle it as it is not support anymore in 5.3. Thanks for your quick
test&report!

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

[2009-05-07 19:13:13] paj...@php.net

php -m output:

[PHP Modules]
bcmath
calendar
com_dotnet
Core
ctype
date
dom
ereg
filter
ftp
hash
iconv
json
libxml
mcrypt
mhash
mysqlnd
odbc
pcre
PDO
Phar
Reflection
session
SimpleXML
SPL
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
zip
zlib

And the one I miss:

> php_dba.dll => missing

not supported yet.

> php_exif.dll => missing php_mbstring.dll (weird)

It depends on mbstring, load mbsring first. See the manual.

> php_gmp.dll => missing

not support yet.

> php_intl.dll => missing icuuc36.dll

it is in the archive.


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

[2009-05-07 19:09:23] paj...@php.net

php_curl.dll => missing zlib.dll
php_dba.dll => missing
php_exif.dll => missing php_mbstring.dll (weird)
php_gmp.dll => missing
php_intl.dll => missing icuuc36.dll
> php_interbase.dll => missing gds32.dll

not supported yet.

> php_mime_magic.dll => missing
> php_ming.dll => missing

moved to pecl

> php_mssql.dll => missing ntwdblib.dll

not available anymore, my mistake I should have disabled it.

> php_oci8.dll => missing OCI.dll

You have to install the OCI client. See the manual.

> php_oci8_11g.dll => missing OCI.dll

Same as oci8 but using the client version 11.x.

> php_pdo_firebird.dll => missing gds32.dll

Not supported yet.

> php_pdo_mssql.dll => missing ntwdblib.dll

not available anymore, my mistake I should have disabled it.

> php_pdo_oci.dll => missing OCI.dll

Same as oci8

> php_pdo_pgsql.dll => missing LIBPQ.dll

It is present in the archive.

> php_pgsql.dll => missing LIBPQ.dll

It is present in the archive.

> php_phar.dll => missing

builtin

> php_pspell.dll => aspell-15.dll

not supported anymore.

> php_snmp.dll => missing

not supported yet.

> php_sybase_ct.dll => missing libcs.dll

You have to install the sybase client.

> php_zip.dll => missing

builtin.

For builtin module: run php -m to see them.



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

[2009-05-07 18:31:44] tyra3l at gmail dot com

Description:
------------
Problems with the default php extensions in the example php.ini.*





Reproduce code:
---------------
Try to enable the modules.

Expected result:
----------------
We should only have the shipped extensions in the php.ini by default, 
and every module should be working (which doesn't have some 3rd party 
dependency)

Actual result:
--------------
php_curl.dll => missing zlib.dll
php_dba.dll => missing
php_exif.dll => missing php_mbstring.dll (weird)
php_gmp.dll => missing
php_intl.dll => missing icuuc36.dll
php_interbase.dll => missing gds32.dll
php_mime_magic.dll => missing
php_ming.dll => missing
php_mssql.dll => missing ntwdblib.dll
php_oci8.dll => missing OCI.dll
php_oci8_11g.dll => missing OCI.dll
php_pdo_firebird.dll => missing gds32.dll
php_pdo_mssql.dll => missing ntwdblib.dll
php_pdo_oci.dll => missing OCI.dll
php_pdo_pgsql.dll => missing LIBPQ.dll
php_pgsql.dll => missing LIBPQ.dll
php_phar.dll => missing
php_pspell.dll => aspell-15.dll
php_snmp.dll => missing
php_sybase_ct.dll => missing libcs.dll
php_zip.dll => missing

As far as I can see:
- the config contains extensions, which isn't shipped
- the config contains extensions, which are shipped, but cannot be 
loaded without the proper third party lib.
- some exts are broken (curl was working fine in the RC1)

I think that the lines without the extension should be removed, the 
lines with an ext which has dependency should be noted like with the 
oracle drivers.
The broken exts should be fixed(curl, exif)


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


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

Reply via email to