[Bug 534550] [NEW] php5 API is outdated

Leonardo Silva Amaral leleobhz at leleobhz.org
Mon Mar 8 18:04:56 GMT 2010


Public bug reported:

Binary package hint: php5

Ive compiled a custom version of php5-memcache package and i found a
problem in php-config. It reports a old API version, but the folder have
new API, so the new package conflicts with installed php:

└─(14:53)─> php-config                                                                                                                                                                
Usage: /usr/bin/php-config [OPTION]                                                                                                                                                   
Options:                                                                                                                                                                              
  --prefix            [/usr]                                                                                                                                                          
  --includes          [-I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib ]      
  --ldflags           []                                                                                                                                                              
  --libs              [-lcrypt   -lz -lcrypt -lssl -ldb -lbz2 -lz -lpcre -lssl -lresolv -lm -ldl -lnsl  -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lxml2 -lxml2 -lxml2 -lcrypt -lxml2 -lxml2 -lxml2 -lxml2 -lcrypt ]                                                                                                                                                 
  --extension-dir     [/usr/lib/php5/20060613]                                                                                                                                        
  --include-dir       [/usr/include/php5]                                                                                                                                             
  --php-binary        [/usr/bin/php]                                                                                                                                                  
  --php-sapis         [cli apache2handler]                                                                                                                                            
  --phpapi            [20060613]                                                                                                                                                      
  --configure-options [--prefix=/usr --with-apxs2=/usr/bin/apxs2 --with-config-file-path=/etc/php5/apache2 --with-config-file-scan-dir=/etc/php5/apache2/conf.d --build=x86_64-linux-gnu --host=x86_64-linux-gnu --sysconfdir=/etc --mandir=/usr/share/man --disable-debug --with-regex=php --disable-rpath --disable-static --with-pic --with-layout=GNU --with-pear=/usr/share/php --enable-calendar --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-bcmath --with-bz2 --enable-ctype --with-db4 --without-gdbm --with-iconv --enable-exif --enable-ftp --with-gettext --enable-mbstring --with-pcre-regex=/usr --enable-shmop --enable-sockets --enable-wddx --with-libxml-dir=/usr --with-zlib --with-kerberos=/usr --with-openssl=/usr --enable-soap --enable-zip --with-mime-magic=/usr/share/file/magic.mime --with-exec-dir=/usr/lib/php5/libexec --with-system-tzdata --without-mm --with-curl=shared,/usr --with-zlib-dir=/usr --with-gd=shared,/usr --enable-gd-native-ttf --with-gmp=shared,/usr --with-jpeg-dir=shared,/usr --with-xpm-dir=shared,/usr/X11R6 --with-png-dir=shared,/usr --with-freetype-dir=shared,/usr --with-ttf=shared,/usr --with-t1lib=shared,/usr --with-ldap=shared,/usr --with-ldap-sasl=/usr --with-mhash=shared,/usr --with-mysql=shared,/usr --with-mysqli=shared,/usr/bin/mysql_config --with-pspell=shared,/usr --with-unixODBC=shared,/usr --with-recode=shared,/usr --with-xsl=shared,/usr --with-snmp=shared,/usr --with-sqlite=shared,/usr --with-mssql=shared,/usr --with-tidy=shared,/usr --with-xmlrpc=shared --with-pgsql=shared,/usr]                                                                                                  
  --version           [5.2.10-2ubuntu6.4]                                                                                                                                             
  --vernum            [50210]                                                                                                                                                         

└─(15:02)─> aptitude show php5-cli                                                                                                                                                    
Pacote: php5-cli                                                                                                                                                                      
Estado: não instalado
Automaticamente instalado: não
Versão: 5.2.10.dfsg.1-2ubuntu6
Prioridade: opcional
Seção: web
Mantenedor: Ubuntu Core Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Tamanho Descompactado: 5779k
Depende de: libbz2-1.0, libc6 (>= 2.7), libcomerr2 (>= 1.01), libdb4.7, libedit2 (>= 2.5.cvs.20010821-1), libgssapi-krb5-2 (>= 1.6.dfsg.2), libk5crypto3 (>= 1.6.dfsg.2), libkrb5-3
            (>= 1.6.dfsg.2), libncurses5 (>= 5.6+20071006-3), libpcre3 (>= 7.7), libssl0.9.8 (>= 0.9.8f-5), libxml2 (>= 2.7.4), zlib1g (>= 1:1.1.4), mime-support, php5-common (=
            5.2.10.dfsg.1-2ubuntu6), libmagic1, ucf, tzdata
Sugere: php-pear
Fornece: phpapi-20060613
Descrição: command-line interpreter for the php5 scripting language
 This package provides the /usr/bin/php5 command interpreter, useful for testing PHP scripts from a shell or performing general shell scripting tasks.

 The following extensions are built in: bcmath bz2 calendar ctype date dba dom exif filter ftp gettext hash iconv json libxml mbstring mime_magic ncurses openssl pcntl pcre posix
 readline Reflection session shmop SimpleXML soap sockets SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter zip zlib.

 PHP5 é uma linguagem de script que pode ser incorporada no HTML. Muita da sua sintaxe é emprestada do C, Java e Perl com alguns recursos específicos de PHP lançados nele. O objetivo
 da linguagem é permitir que desenvolvedores escrevam rapidamente páginas dinamicamente geradas. Esta versão do PHP5 foi construída com o patch Suhosin.
Homepage: http://www.php.net/

┌─(administrador at manny Seg, 08 Mar 10)─(/home/administrador/php-memcache/php-memcache-3.0.1)─┐
└─(15:02)─> dpkg -L php5-cli
/.
/etc
/etc/php5
/etc/php5/cli
/usr
/usr/bin
/usr/bin/php5
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/php5.1.gz
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/php5-cli
/usr/share/doc
/usr/lib
/usr/lib/php5
/usr/lib/php5/20090626
/etc/php5/cli/conf.d
/usr/share/doc/php5-cli

P.s: Mixed karmic/lucid system, but apache, php and mysql is pure lucid
packages.

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
php5 API is outdated
https://bugs.launchpad.net/bugs/534550
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.



More information about the Ubuntu-server-bugs mailing list