Centos 4.4 + dbxml 2.3.10 + php5

I've successfully (maybe not?) built dbxml-2.3.10 (including building & installing the included db-4.5.20 & the php module for both db & dbxml) and receive an error when I restart apache (see ERROR below).
The Db4 test simple_counter.php works & the dbxml shell works also.
I'd appreciate any guidance in resolving the error so I can use dbxml from PHP.
ERROR (from httpd log file)
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/dbxml.so' - libdbxml-2.3.so: cannot open shared object file: No such file or directory in Unknown on line 0
ENVIRONMENT DETAILS
- Centos 4.4 (with CentosPlus repository enabled) on an Opteron system (running in vmware)
- httpd-2.0.59-1.el4s1.5.el4.centos
- php-5.1.6-3.el4s1.5
(further details available upon request)

Adding
SetEnv LD_LIBRARY_PATH /usr/lib
<P>
to /etc/httpd/conf/httpd.conf & restarting apache did not resolve the issue.
<P>
Ok, 'cause I think you're on to something I tried something a bit cavalier to test- I added
<P>
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib
<P>
to /etc/init.d/httpd and restarted apache- the previous error is gone. It seems apache might now be loading the shared lib.
<P>
However, new error when I run test 01.php (from apache error_log):
<P>
[Tue May 22 08:42:04 2007] [error] [client 10.100.5.7] PHP Warning: xmlmanager::createcontainer() [function.xmlmanager-createcontainer]: St9bad_alloc in /var/www/html/01.php on line 8<BR>
[Tue May 22 08:42:04 2007] [error] [client 10.100.5.7] PHP Fatal error: Call to a member function putDocument() on a non-object in /var/www/html/01.php on line 9
<P>
Running /root/downloads/dbxml-2.3.10/dbxml/src/php/run-tests.php from the command line gives:
<P>
[root@localhost php]# php run-tests.php
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/dbxml.so' - libdbxml-2.3.so: cannot open shared object file: No such file or directory in Unknown on line 0
ERROR: environment variable TEST_PHP_EXECUTABLE must be set to specify PHP executable!
<P>
Note: I noticed that the post
<P>
PHP / BDB XML works fine on Red Hat Fedora 5, not on SuSE 10.2/Athlon 64
<P>
the user refers to 32 bit vs. 64 bit issues. My environment is 64 bit (Opteron) and I built the lib as 32 bit.

Similar Messages

  • Trouble adding regular oracle oci8 support to RPM, CentOs 5

    Hello,
    It seems that i'm missing smth simple while trying to add oci8 support to RPM.
    I took Christopher Jones's SRPM for 5.2.3 as a base, but since i don't have and don't need a support for instant client i modified latest available 5.1.6 SRPM from CentOS 5 repo.
    The compile env is :
    HOSTNAME=server.home
    SHELL=/bin/bash
    TERM=vt100
    HISTSIZE=1000
    OLDPWD=/root
    USER=root
    LD_LIBRARY_PATH=/u01/app/oracle/product/10.2.0/db_1/lib
    LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
    TNS_ADMIN=/u01/app/oracle/product/10.2.0/db_1/network/admin
    MAIL=/var/spool/mail/root
    PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
    INPUTRC=/etc/inputrc
    PWD=/usr/src/redhat/SPECS
    LANG=en_US.UTF-8
    SHLVL=1
    HOME=/root
    LOGNAME=root
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
    G_BROKEN_FILENAMES=1
    _=/bin/envi compile as a root. Here is my spec file.
    %define contentdir /var/www
    %define apiver 20041225
    %define zendver 20050922
    %define pdover 20060409
    # AZ
    # Version of Instant Client RPM. [email protected] May 2007
    %define ociver 10.2.0.3
    # For testing OCI8 and PDO_OCI.  Use the password of the SYSTEM schema
    # and the connection string for the target
    # database. [email protected] May 2007
    %define oci8_test_system_password tiger
    %define oci8_test_connection_string localhost/lhome
    # Set oci8_test_local_db to TRUE when the Oracle DB is on the machine
    # building the RPMS.  Otherwise set it to FALSE.
    # [email protected] May 2007
    %define oci8_test_local_db TRUE
    #AZ
    Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
    Name: php
    Version: 5.1.6
    Release: 15%{?dist}
    License: The PHP License v3.01
    Group: Development/Languages
    URL: http://www.php.net/
    Source0: http://www.php.net/distributions/php-%{version}.tar.gz
    Source50: php.conf
    Source51: php.ini
    Patch1: php-5.1.4-gnusrc.patch
    Patch2: php-5.1.4-warnings.patch
    Patch5: php-4.3.3-install.patch
    Patch6: php-5.0.4-norpath.patch
    Patch7: php-4.3.2-libtool15.patch
    Patch13: php-5.0.2-phpize64.patch
    Patch14: php-5.1.6-ecalloc.patch
    # Fixes for extension modules
    Patch21: php-4.3.1-odbc.patch
    Patch22: php-4.3.11-shutdown.patch
    # Functional changes
    Patch30: php-5.0.4-dlopen.patch
    Patch31: php-5.0.0-easter.patch
    # Fixes for tests
    Patch50: php-5.0.4-tests-dashn.patch
    Patch51: php-5.0.4-tests-wddx.patch
    # Security fixes
    Patch70: php-4.3.9-CVE-2006-5465.patch
    Patch71: php-5.1.6-CVE-2007-0906-imap.patch
    Patch72: php-4.3.9-CVE-2007-0906-strreplace.patch
    Patch73: php-4.3.9-CVE-2007-0907.patch
    Patch74: php-4.3.9-CVE-2007-0908.patch
    Patch75: php-4.3.9-CVE-2007-0909-odbc.patch
    Patch76: php-4.3.9-CVE-2007-0909-printf.patch
    Patch77: php-5.1.6-CVE-2007-0910.patch
    Patch78: php-4.3.9-CVE-2007-0988.patch
    Patch79: php-5.1.6-CVE-2007-1285.patch
    Patch80: php-5.1.6-CVE-2007-1583.patch
    Patch81: php-5.1.6-CVE-2007-0455.patch
    Patch82: php-5.1.6-CVE-2007-1001.patch
    Patch83: php-5.1.6-CVE-2007-1718.patch
    Patch84: php-5.1.6-CVE-2007-1864.patch
    Patch85: php-5.1.6-soapredir.patch
    Patch86: php-5.1.6-ftpcrlf.patch
    Patch87: php-5.1.6-CVE-2007-2872.patch
    Patch88: php-5.1.6-CVE-2007-4658.patch
    Patch89: php-5.1.6-CVE-2007-2756.patch
    Patch90: php-5.1.6-CVE-2007-3799.patch
    Patch91: php-5.1.6-CVE-2007-3996.patch
    Patch92: php-5.1.6-CVE-2007-4670.patch
    Patch93: php-5.1.6-CVE-2007-3998.patch
    BuildRoot: %{_tmppath}/%{name}-root
    BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, expat-devel
    BuildRequires: gmp-devel, aspell-devel >= 0.50.0
    BuildRequires: httpd-devel >= 2.0.46-1, libjpeg-devel, libpng-devel, pam-devel
    BuildRequires: libstdc++-devel, openssl-devel, sqlite-devel >= 3.0.0
    BuildRequires: zlib-devel, pcre-devel >= 4.5, smtpdaemon
    BuildRequires: bzip2, fileutils, file >= 4.0, perl, libtool >= 1.4.3, gcc-c++
    Obsoletes: php-dbg, php3, phpfi, stronghold-php
    # Enforce Apache module ABI compatibility
    Requires: httpd-mmn = %(cat %{_includedir}/httpd/.mmn || echo missing-httpd-devel)
    Requires: file >= 4.0
    Provides: mod_php = %{version}-%{release}
    Requires: php-common = %{version}-%{release}
    # For backwards-compatibility, require php-cli for the time being:
    Requires: php-cli = %{version}-%{release}
    %description
    PHP is an HTML-embedded scripting language. PHP attempts to make it
    easy for developers to write dynamically generated webpages. PHP also
    offers built-in database integration for several commercial and
    non-commercial database management systems, so writing a
    database-enabled webpage with PHP is fairly simple. The most common
    use of PHP coding is probably as a replacement for CGI scripts.
    The php package contains the module which adds support for the PHP
    language to Apache HTTP Server.
    %package cli
    Group: Development/Languages
    Summary: Command-line interface for PHP
    Requires: php-common = %{version}-%{release}
    Provides: php-cgi = %{version}-%{release}
    Provides: php-pcntl
    %description cli
    The php-cli package contains the command-line interface
    executing PHP scripts, /usr/bin/php, and the CGI interface.
    %package common
    Group: Development/Languages
    Summary: Common files for PHP
    Provides: php-api = %{apiver}, php-zend-abi = %{zendver}
    # Provides for all builtin modules:
    Provides: php-bz2, php-calendar, php-ctype, php-curl, php-date, php-exif
    Provides: php-ftp, php-gettext, php-gmp, php-hash, php-iconv, php-libxml
    Provides: php-mime_magic, php-openssl, php-pcre, php-posix, php-pspell
    Provides: php-reflection, php-session, php-shmop, php-simplexml, php-sockets
    Provides: php-spl, php-sysvsem, php-sysvshm, php-sysvmsg, php-tokenizer
    Provides: php-wddx, php-zlib
    #AZ
    Provides: php-oci
    #AZ
    Obsoletes: php-openssl
    %description common
    The php-common package contains files used by both the php
    package and the php-cli package.
    %package devel
    Group: Development/Libraries
    Summary: Files needed for building PHP extensions.
    Requires: php = %{version}-%{release}, autoconf, automake
    Obsoletes: php-pecl-pdo-devel
    %description devel
    The php-devel package contains the files needed for building PHP
    extensions. If you need to compile your own PHP extensions, you will
    need to install this package.
    %package imap
    Summary: A module for PHP applications that use IMAP.
    Group: Development/Languages
    Requires: php-common = %{version}-%{release}
    Obsoletes: mod_php3-imap, stronghold-php-imap
    BuildRequires: krb5-devel, openssl-devel, libc-client-devel
    %description imap
    The php-imap package contains a dynamic shared object (DSO) for the
    Apache Web server. When compiled into Apache, the php-imap module will
    add IMAP (Internet Message Access Protocol) support to PHP. IMAP is a
    protocol for retrieving and uploading e-mail messages on mail
    servers. PHP is an HTML-embedded scripting language. If you need IMAP
    support for PHP applications, you will need to install this package
    and the php package.
    %package ldap
    Summary: A module for PHP applications that use LDAP.
    Group: Development/Languages
    Requires: php-common = %{version}-%{release}
    Obsoletes: mod_php3-ldap, stronghold-php-ldap
    BuildRequires: cyrus-sasl-devel, openldap-devel, openssl-devel
    %description ldap
    The php-ldap package is a dynamic shared object (DSO) for the Apache
    Web server that adds Lightweight Directory Access Protocol (LDAP)
    support to PHP. LDAP is a set of protocols for accessing directory
    services over the Internet. PHP is an HTML-embedded scripting
    language. If you need LDAP support for PHP applications, you will
    need to install this package in addition to the php package.
    %package pdo
    Summary: A database access abstraction module for PHP applications
    Group: Development/Languages
    Requires: php-common = %{version}-%{release}
    Obsoletes: php-pecl-pdo-sqlite, php-pecl-pdo
    Provides: php-pdo-abi = %{pdover}
    %description pdo
    The php-pdo package contains a dynamic shared object that will add
    a database access abstraction layer to PHP.  This module provides
    a common interface for accessing MySQL, PostgreSQL or other
    databases.
    %package mysql
    Summary: A module for PHP applications that use MySQL databases.
    Group: Development/Languages
    Requires: php-common = %{version}-%{release}, php-pdo
    Provides: php_database, php-mysqli
    Obsoletes: mod_php3-mysql, stronghold-php-mysql
    BuildRequires: mysql-devel >= 4.1.0
    %description mysql
    The php-mysql package contains a dynamic shared object that will add
    MySQL database support to PHP. MySQL is an object-relational database
    management system. PHP is an HTML-embeddable scripting language. If
    you need MySQL support for PHP applications, you will need to install
    this package and the php package.
    %package pgsql
    Summary: A PostgreSQL database module for PHP.
    Group: Development/Languages
    Requires: php-common = %{version}-%{release}, php-pdo
    Provides: php_database
    Obsoletes: mod_php3-pgsql, stronghold-php-pgsql
    BuildRequires: krb5-devel, openssl-devel, postgresql-devel
    %description pgsql
    The php-pgsql package includes a dynamic shared object (DSO) that can
    be compiled in to the Apache Web server to add PostgreSQL database
    support to PHP. PostgreSQL is an object-relational database management
    system that supports almost all SQL constructs. PHP is an
    HTML-embedded scripting language. If you need back-end support for
    PostgreSQL, you should install this package in addition to the main
    php package.
    #AZ
    # Added oci8.  [email protected] May 2007
    %package oci8
    Summary: A module for PHP applications using the Oracle database
    Group: Development/Languages
    Requires: php-common = %{version}-%{release}, php-pdo
    #BuildRequires: oracle-instantclient-devel = %{ociver}
    Provides: php_database, php-oci
    AutoReqProv: No
    %description oci8
    The php-oci8 package contains a dynamic shared object (DSO) for the
    Apache Web server. When compiled into Apache, the php-oci8 module will
    add OCI8 support to PHP. OCI8 is an extension for Oracle Database
    access.  PHP is an HTML-embedded scripting language. If you need
    Oracle support for PHP applications, you can install this package and
    the php package.
    This package also contains PDO_OCI for use with the PDO extension.
    #AZ
    %package odbc
    Group: Development/Languages
    Requires: php-common = %{version}-%{release}, php-pdo
    Summary: A module for PHP applications that use ODBC databases.
    Provides: php_database
    Obsoletes: stronghold-php-odbc
    BuildRequires: unixODBC-devel
    %description odbc
    The php-odbc package contains a dynamic shared object that will add
    database support through ODBC to PHP. ODBC is an open specification
    which provides a consistent API for developers to use for accessing
    data sources (which are often, but not always, databases). PHP is an
    HTML-embeddable scripting language. If you need ODBC support for PHP
    applications, you will need to install this package and the php
    package.
    %package soap
    Group: Development/Languages
    Requires: php-common = %{version}-%{release}
    Summary: A module for PHP applications that use the SOAP protocol
    BuildRequires: libxml2-devel
    %description soap
    The php-soap package contains a dynamic shared object that will add
    support to PHP for using the SOAP web services protocol.
    %package snmp
    Summary: A module for PHP applications that query SNMP-managed devices.
    Group: Development/Languages
    Requires: php-common = %{version}-%{release}, net-snmp
    BuildRequires: net-snmp-devel
    %description snmp
    The php-snmp package contains a dynamic shared object that will add
    support for querying SNMP devices to PHP.  PHP is an HTML-embeddable
    scripting language. If you need SNMP support for PHP applications, you
    will need to install this package and the php package.
    %package xml
    Summary: A module for PHP applications which use XML
    Group: Development/Languages
    Requires: php-common = %{version}-%{release}
    Obsoletes: php-domxml, php-dom
    Provides: php-dom, php-xsl, php-domxml
    BuildRequires: libxslt-devel >= 1.0.18-1, libxml2-devel >= 2.4.14-1
    %description xml
    The php-xml package contains dynamic shared objects which add support
    to PHP for manipulating XML documents using the DOM tree,
    and performing XSL transformations on XML documents.
    %package xmlrpc
    Summary: A module for PHP applications which use the XML-RPC protocol
    Group: Development/Languages
    Requires: php-common = %{version}-%{release}
    BuildRequires: expat-devel
    %description xmlrpc
    The php-xmlrpc package contains a dynamic shared object that will add
    support for the XML-RPC protocol to PHP.
    %package mbstring
    Summary: A module for PHP applications which need multi-byte string handling
    Group: Development/Languages
    Requires: php-common = %{version}-%{release}
    %description mbstring
    The php-mbstring package contains a dynamic shared object that will add
    support for multi-byte string handling to PHP.
    %package ncurses
    Summary: A module for PHP applications for using ncurses interfaces
    Group: Development/Languages
    Requires: php-common = %{version}-%{release}
    BuildRequires: ncurses-devel
    %description ncurses
    The php-ncurses package contains a dynamic shared object that will add
    support for using the ncurses terminal output interfaces.
    %package gd
    Summary: A module for PHP applications for using the gd graphics library
    Group: Development/Languages
    Requires: php-common = %{version}-%{release}
    BuildRequires: gd-devel, freetype-devel
    %description gd
    The php-gd package contains a dynamic shared object that will add
    support for using the gd graphics library to PHP.
    %package bcmath
    Summary: A module for PHP applications for using the bcmath library
    Group: Development/Languages
    Requires: php-common = %{version}-%{release}
    %description bcmath
    The php-bcmath package contains a dynamic shared object that will add
    support for using the bcmath library to PHP.
    %package dba
    Summary: A database abstraction layer module for PHP applications
    Group: Development/Languages
    Requires: php-common = %{version}-%{release}
    %description dba
    The php-dba package contains a dynamic shared object that will add
    support for using the DBA database abstraction layer to PHP.
    %prep
    %setup -q
    %patch1 -p1 -b .gnusrc
    %patch2 -p1 -b .warnings
    %patch5 -p1 -b .install
    %patch6 -p1 -b .norpath
    %patch7 -p1 -b .libtool15
    %patch13 -p1 -b .phpize64
    %patch14 -p1 -b .ecalloc
    %patch21 -p1 -b .odbc
    %patch22 -p1 -b .shutdown
    %patch30 -p1 -b .dlopen
    %patch31 -p1 -b .easter
    %patch50 -p1 -b .tests-dashn
    %patch51 -p1 -b .tests-wddx
    %patch70 -p1 -b .cve5465
    %patch71 -p1 -b .cve0906-imap
    %patch72 -p1 -b .cve0906-strreplace
    %patch73 -p1 -b .cve0907
    %patch74 -p1 -b .cve0908
    %patch75 -p1 -b .cve0909-odbc
    %patch76 -p1 -b .cve0909-printf
    %patch77 -p1 -b .cve0910
    %patch78 -p1 -b .cve0988
    %patch79 -p1 -b .cve1285
    %patch80 -p1 -b .cve1583
    %patch81 -p1 -b .cve0455
    %patch82 -p1 -b .cve1001
    %patch83 -p1 -b .cve1718
    %patch84 -p1 -b .cve1864
    %patch85 -p1 -b .soapredir
    %patch86 -p1 -b .ftpcrlf
    %patch87 -p1 -b .cve2872
    %patch88 -p1 -b .cve4658
    %patch89 -p1 -b .cve2756
    %patch90 -p1 -b .cve3799
    %patch91 -p1 -b .cve3996
    %patch92 -p1 -b .cve4670
    %patch93 -p1 -b .cve3998
    # Prevent %%doc confusion over LICENSE files
    cp Zend/LICENSE Zend/ZEND_LICENSE
    cp TSRM/LICENSE TSRM_LICENSE
    cp regex/COPYRIGHT regex_COPYRIGHT
    cp ext/gd/libgd/README gd_README
    # Source is built twice: once for /usr/bin/php, once for the Apache DSO.
    mkdir build-cgi build-apache
    # Remove bogus test; position of read position after fopen(, "a+")
    # is not defined by C standard, so don't presume anything.
    rm -f ext/standard/tests/file/bug21131.phpt
    # Tests that fail.
    rm -f ext/standard/tests/file/bug22414.phpt \
          ext/iconv/tests/bug16069.phpt
    #AZ
    # Tests that fail.
    rm -f ext/oci8/tests/bug27303.phpt \
            ext/oci8/tests/bug27303_2.phpt \
            ext/oci8/tests/bug27303_4.phpt
    # OCI8 config file. [email protected] May 2007
    cat <<EOF > ext/oci8/tests/details.inc
    <?php
    * Please, change user, password and dbase to match your configuration.
    \$user       = "scott";
    \$password   = "%{oci8_test_system_password}";
    \$dbase      = "%{oci8_test_connection_string}";
    /* Set this variable to TRUE if Oracle is installed @ localhost */
    \$oracle_on_localhost = %{oci8_test_local_db};
    ?>
    EOF
    #AZ
    # Safety check for API version change.
    vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h`
    if test "x${vapi}" != "x%{apiver}"; then
       : Error: Upstream API version is now ${vapi}, expecting %{apiver}.
       : Update the apiver macro and rebuild.
       exit 1
    fi
    # Safety check for Zend API version change.
    vzend=`sed -n '/#define ZEND_MODULE_API_NO/{s/^[^0-9]*//;p;}' Zend/zend_modules.h`
    if test "x${vzend}" != "x%{zendver}"; then
       : Error: Upstream Zend module ABI version is now ${vzend}, expecting %{zendver}.
       : Update the zendver macro and rebuild.
       exit 1
    fi
    # Safety check for PDO ABI version change
    vpdo=`sed -n '/#define PDO_DRIVER_API/{s/.*[    ]//;p}' ext/pdo/php_pdo_driver.h`
    if test "x${vpdo}" != "x%{pdover}"; then
       : Error: Upstream PDO ABI version is now ${vpdo}, expecting %{pdover}.
       : Update the pdover macro and rebuild.
       exit 1
    fi
    %build
    # Force use of system libtool:
    libtoolize force copy
    cat `aclocal --print-ac-dir`/libtool.m4 > build/libtool.m4
    # Regenerate configure scripts (patches change config.m4's)
    ./buildconf --force
    CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign"
    CPPFLAGS="-DLDAP_DEPRECATED=1"
    export CFLAGS CPPFLAGS
    # Install extension modules in %{_libdir}/php/modules.
    EXTENSION_DIR=%{_libdir}/php/modules; export EXTENSION_DIR
    # Set PEAR_INSTALLDIR to ensure that the hard-coded include_path
    # includes the PEAR directory even though pear is packaged
    # separately.
    PEAR_INSTALLDIR=%{_datadir}/pear; export PEAR_INSTALLDIR
    # Shell function to configure and build a PHP tree.
    build() {
    # bison-1.875-2 seems to produce a broken parser; workaround.
    mkdir Zend && cp ../Zend/zend_{language,ini}_{parser,scanner}.[ch] Zend
    ln -sf ../configure
    %configure \
            --cache-file=../config.cache \
            --with-libdir=%{_lib} \
            --with-config-file-path=%{_sysconfdir} \
            --with-config-file-scan-dir=%{_sysconfdir}/php.d \
            --disable-debug \
            --with-pic \
            --disable-rpath \
            --without-pear \
            --with-bz2 \
            --with-curl \
            --with-exec-dir=%{_bindir} \
            --with-freetype-dir=%{_prefix} \
            --with-png-dir=%{_prefix} \
            --enable-gd-native-ttf \
            --without-gdbm \
            --with-gettext \
            --with-gmp \
            --with-iconv \
            --with-jpeg-dir=%{_prefix} \
            --with-openssl \
            --with-png \
            --with-pspell \
            --with-expat-dir=%{_prefix} \
            --with-pcre-regex=%{_prefix} \
            --with-zlib \
            --with-layout=GNU \
            --enable-exif \
            --enable-ftp \
            --enable-magic-quotes \
            --enable-sockets \
            enable-sysvsem enable-sysvshm --enable-sysvmsg \
            --enable-track-vars \
            --enable-trans-sid \
            --enable-yp \
            --enable-wddx \
            --with-kerberos \
            --enable-ucd-snmp-hack \
            --with-unixODBC=shared,%{_prefix} \
            --enable-memory-limit \
            --enable-shmop \
            --enable-calendar \
            --enable-dbx \
            --enable-dio \
            --with-mime-magic=%{_sysconfdir}/httpd/conf/magic \
            --without-sqlite \
            --with-libxml-dir=%{_prefix} \
            --with-oci8=$ORACLE_HOME \
            --with-apxs2=/usr/sbin/apxs \
            --with-xml \
            $*
    if test $? != 0; then
      tail -500 config.log
      : configure failed
      exit 1
    fi
    make %{?_smp_mflags}
    # Build /usr/bin/php-cgi with the CGI SAPI, and all the shared extensions
    pushd build-cgi
    build --enable-force-cgi-redirect \
          --enable-pcntl \
          with-imap=shared with-imap-ssl \
          enable-mbstring=shared enable-mbstr-enc-trans \
          --enable-mbregex \
          --with-ncurses=shared \
          --with-gd=shared \
          --enable-bcmath=shared \
          enable-dba=shared with-db4=%{_prefix} \
          --with-xmlrpc=shared \
          --with-ldap=shared \
          --with-mysql=shared,%{_prefix} \
          --with-mysqli=shared,%{_bindir}/mysql_config \
          --enable-dom=shared \
          --with-dom-xslt=%{_prefix} --with-dom-exslt=%{_prefix} \
          --with-pgsql=shared \
          --with-snmp=shared,%{_prefix} \
          --enable-soap=shared \
          --with-xsl=shared,%{_prefix} \
          enable-xmlreader=shared enable-xmlwriter=shared \
          --enable-fastcgi \
          --enable-pdo=shared \
          --with-pdo-odbc=shared,unixODBC,%{_prefix} \
          --with-pdo-mysql=shared,%{_prefix} \
          --with-pdo-pgsql=shared,%{_prefix} \
          --with-pdo-sqlite=shared,%{_prefix} \
    #      --with-pdo-oci=shared,$ORACLE_HOME \
          --with-oci8 \
           --enable-sigchild
    popd
    # Build Apache module, and the CLI SAPI, /usr/bin/php
    pushd build-apache
    build --with-apxs2=%{_sbindir}/apxs \
          without-mysql without-gd \
          without-odbc disable-dom \
          disable-dba without-unixODBC \
          disable-pdo disable-xmlreader --disable-xmlwriter
    popd
    %check
    cd build-apache
    # Run tests, using the CLI SAPI
    export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
    unset TZ LANG LC_ALL
    #AZ
    # Allows PDO_OCI tests to connect.  [email protected] May 2007
    #export PDO_OCI_TEST_DSN=oci:dbname=%{oci8_test_connection_string}
    #export PDO_OCI_TEST_USER=scott
    #export PDO_OCI_TEST_PASS=%{oci8_test_system_password}
    #AZ
    if ! make test; then
      set +x
      for f in `find .. -name \*.diff -type f -print`; do
        echo "TEST FAILURE: $f --"
        cat "$f"
        echo "-- $f result ends."
      done
      set -x
      #exit 1
    fi
    unset NO_INTERACTION REPORT_EXIT_STATUS MALLOC_CHECK_
    %install
    [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
    # Install everything from the CGI SAPI build
    pushd build-cgi
    make install INSTALL_ROOT=$RPM_BUILD_ROOT
    mv $RPM_BUILD_ROOT%{_bindir}/php $RPM_BUILD_ROOT%{_bindir}/php-cgi
    # Install the CLI SAPI as /usr/bin/php
    make install-cli INSTALL_ROOT=$RPM_BUILD_ROOT
    popd
    # Install the Apache module
    pushd build-apache
    make install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT
    popd
    # Install the default configuration file and icons
    install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/
    install -m 644 $RPM_SOURCE_DIR/php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
    install -m 755 -d $RPM_BUILD_ROOT%{contentdir}/icons
    install -m 644    *.gif $RPM_BUILD_ROOT%{contentdir}/icons/
    # For PEAR packaging:
    install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/php/pear
    # Use correct libdir
    sed -i -e 's|%{_prefix}/lib|%{_libdir}|' $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
    # install the DSO
    install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/httpd/modules
    install -m 755 build-apache/libs/libphp5.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules
    # Apache config fragment
    install -m 755 -d $RPM_BUILD_ROOT/etc/httpd/conf.d
    install -m 644 $RPM_SOURCE_DIR/php.conf $RPM_BUILD_ROOT/etc/httpd/conf.d
    install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d
    install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php
    install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/session
    # Generate files lists and stub .ini files for each subpackage
    #AZ
    for mod in oci8 pgsql mysql mysqli odbc ldap snmp xmlrpc imap \
        mbstring ncurses gd dom xsl soap bcmath dba xmlreader xmlwriter \
        pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite; do
    #AZ
        cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${mod}.ini <<EOF
    ; Enable ${mod} extension module
    extension=${mod}.so
    EOF
        cat > files.${mod} <<EOF
    %attr(755,root,root) %{_libdir}/php/modules/${mod}.so
    %config(noreplace) %attr(644,root,root) %{_sysconfdir}/php.d/${mod}.ini
    EOF
    done
    # The dom, xsl and xml* modules are all packaged in php-xml
    cat files.dom files.xsl files.xml{reader,writer} > files.xml
    # The mysql and mysqli modules are both packaged in php-mysql
    cat files.mysqli >> files.mysql
    # Split out the PDO modules
    #AZ
    cat files.pdo_oci >> files.oci8
    #AZ
    cat files.pdo_mysql >> files.mysql
    cat files.pdo_pgsql >> files.pgsql
    cat files.pdo_odbc >> files.odbc
    # Package pdo_sqlite with pdo; isolating the sqlite dependency
    # isn't useful at this time since rpm itself requires sqlite.
    cat files.pdo_sqlite >> files.pdo
    # Remove unpackaged files
    rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \
           $RPM_BUILD_ROOT%{_bindir}/{phptar} \
           $RPM_BUILD_ROOT%{_datadir}/pear
    # Remove irrelevant docs
    rm -f README.{Zeus,QNX,CVS-RULES}
    %clean
    [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
    rm files.*
    %files
    %defattr(-,root,root)
    %{_libdir}/httpd/modules/libphp5.so
    %attr(0770,root,apache) %dir %{_localstatedir}/lib/php/session
    %config %{_sysconfdir}/httpd/conf.d/php.conf
    %{contentdir}/icons/php.gif
    %files common
    %defattr(-,root,root)
    %doc CODING_STANDARDS CREDITS EXTENSIONS INSTALL LICENSE NEWS README*
    %doc Zend/ZEND_* gd_README TSRM_LICENSE regex_COPYRIGHT
    %config %{_sysconfdir}/php.ini
    %dir %{_sysconfdir}/php.d
    %dir %{_libdir}/php
    %dir %{_libdir}/php/modules
    %dir %{_localstatedir}/lib/php
    %dir %{_libdir}/php/pear
    %files cli
    %defattr(-,root,root)
    %{_bindir}/php
    %{_bindir}/php-cgi
    %{_mandir}/man1/php.1*
    %files devel
    %defattr(-,root,root)
    %{_bindir}/php-config
    %{_bindir}/phpize
    %{_includedir}/php
    %{_libdir}/php/build
    %{_mandir}/man1/php-config.1*
    %{_mandir}/man1/phpize.1*
    %files pgsql -f files.pgsql
    %files mysql -f files.mysql
    %files odbc -f files.odbc
    %files imap -f files.imap
    %files ldap -f files.ldap
    %files snmp -f files.snmp
    %files xml -f files.xml
    %files xmlrpc -f files.xmlrpc
    %files mbstring -f files.mbstring
    %files ncurses -f files.ncurses
    %files gd -f files.gd
    %files soap -f files.soap
    %files bcmath -f files.bcmath
    %files dba -f files.dba
    %files pdo -f files.pdo
    #AZ
    %files oci8 -f files.oci8
    #AZ
    %changelog
    * Wed Sep 12 2007 Joe Orton <[email protected]> 5.1.6-15.el5
    - improve fix for CVE-2007-3997 (#278411)
    * Fri Sep  7 2007 Joe Orton <[email protected]> 5.1.6-14.el5
    - fix backport for CVE-2007-3996 (#278411)
    * Thu Sep  6 2007 Joe Orton <[email protected]> 5.1.6-13.el5
    - add security fixes for CVE-2007-2756, CVE-2007-2872,
      CVE-2007-3799, CVE-2007-3996, CVE-2007-3998, CVE-2007-4658,
      CVE-2007-4670 (#278411)
    * Wed Apr  4 2007 Joe Orton <[email protected]> 5.1.6-12.el5
    - add security fix for CVE-2007-1864, SOAP redirect handling issue,
      FTP CRLF injection issue (#235016)
    * Wed Apr  4 2007 Joe Orton <[email protected]> 5.1.6-11.el5
    - add security fix for CVE-2007-1718 (#235016)
    * Tue Apr  3 2007 Joe Orton <[email protected]> 5.1.6-9.el5
    - add security fix for CVE-2007-1583 (#235016)
    - add security fixes for CVE-2007-0455, CVE-2007-1001 (#235036)
    * Fri Mar  9 2007 Joe Orton <[email protected]> 5.1.6-7.el5
    - add security fix for CVE-2007-1285 (#231597)
    * Fri Feb 16 2007 Joe Orton <[email protected]> 5.1.6-6.el5
    - add security fixes for: CVE-2007-0906, CVE-2007-0907,
      CVE-2007-0908, CVE-2007-0909, CVE-2007-0910, CVE-2007-0988 (#229013)
    * Tue Dec 19 2006 Joe Orton <[email protected]> 5.1.6-5.el5
    - fix version for php-zend-abi (#218758)
    * Thu Nov 23 2006 Joe Orton <[email protected]> 5.1.6-4.el5
    - php-xml provides php-domxml (#215656)
    - fix php-pdo-abi provide (#214281)
    - provide php-zend-abi (#212804)
    - don't Obsolete mod_php
    - fix PDO sqlite TEXT extraction truncate-by-one (#217033)
    - package php{ize,-config} man pages in -devel (#199382)
    - change module subpackages to require php-common not php (#177821)
    - add security fix for CVE-2006-5465 (#216114)
    * Wed Oct  4 2006 Joe Orton <[email protected]> 5.1.6-3
    - from upstream: add safety checks against integer overflow in _ecalloc
    * Tue Aug 29 2006 Joe Orton <[email protected]> 5.1.6-2
    - update to 5.1.6 (security fixes)
    - bump default memory_limit to 16M (#196802)
    * Wed Jul 12 2006 Jesse Keating <[email protected]> - 5.1.4-8.1
    - rebuild
    * Fri Jun  9 2006 Joe Orton <[email protected]> 5.1.4-8
    - Provide php-posix (#194583)
    - only provide php-pcntl from -cli subpackage
    - add missing defattr's (thanks to Matthias Saou)
    * Fri Jun  9 2006 Joe Orton <[email protected]> 5.1.4-7
    - move Obsoletes for php-openssl to -common (#194501)
    - Provide: php-cgi from -cli subpackage
    * Fri Jun  2 2006 Joe Orton <[email protected]> 5.1.4-6
    - split out php-cli, php-common subpackages (#177821)
    - add php-pdo-abi version export (#193202)
    * Wed May 24 2006 Radek Vokal <[email protected]> 5.1.4-5.1
    - rebuilt for new libnetsnmp
    * Thu May 18 2006 Joe Orton <[email protected]> 5.1.4-5
    - provide mod_php (#187891)
    - provide php-cli (#192196)
    - use correct LDAP fix (#181518)
    - define GNUSOURCE in php_config.h and leave it defined
    - drop (circular) dependency on php-pear
    * Mon May  8 2006 Joe Orton <[email protected]> 5.1.4-3
    - update to 5.1.4
    * Wed May  3 2006 Joe Orton <[email protected]> 5.1.3-3
    - update to 5.1.3
    * Tue Feb 28 2006 Joe Orton <[email protected]> 5.1.2-5
    - provide php-api (#183227)
    - add provides for all builtin modules (Tim Jackson, #173804)
    - own %%{_libdir}/php/pear for PEAR packages (per #176733)
    - add obsoletes to allow upgrade from FE4 PDO packages (#181863)
    * Fri Feb 10 2006 Jesse Keating <[email protected]> - 5.1.2-4.3
    - bump again for double-long bug on ppc(64)
    * Tue Feb 07 2006 Jesse Keating <[email protected]> - 5.1.2-4.1
    - rebuilt for new gcc4.1 snapshot and glibc changes
    * Tue Jan 31 2006 Joe Orton <[email protected]> 5.1.2-4
    - rebuild for new libc-client soname
    * Mon Jan 16 2006 Joe Orton <[email protected]> 5.1.2-3
    - only build xmlreader and xmlwriter shared (#177810)
    * Fri Jan 13 2006 Joe Orton <[email protected]> 5.1.2-2
    - update to 5.1.2
    * Thu Jan  5 2006 Joe Orton <[email protected]> 5.1.1-8
    - rebuild again
    * Mon Jan  2 2006 Joe Orton <[email protected]> 5.1.1-7
    - rebuild for new net-snmp
    * Mon Dec 12 2005 Joe Orton <[email protected]> 5.1.1-6
    - enable short_open_tag in default php.ini again (#175381)
    * Fri Dec 09 2005 Jesse Keating <[email protected]>
    - rebuilt
    * Thu Dec  8 2005 Joe Orton <[email protected]> 5.1.1-5
    - require net-snmp for php-snmp (#174800)
    * Sun Dec  4 2005 Joe Orton <[email protected]> 5.1.1-4
    - add /usr/share/pear back to hard-coded include_path (#174885)
    * Fri Dec  2 2005 Joe Orton <[email protected]> 5.1.1-3
    - rebuild for httpd 2.2
    * Mon Nov 28 2005 Joe Orton <[email protected]> 5.1.1-2
    - update to 5.1.1
    - remove pear subpackage
    - enable pdo extensions (php-pdo subpackage)
    - remove non-standard conditional module builds
    - enable xmlreader extension
    * Thu Nov 10 2005 Tomas Mraz <[email protected]> 5.0.5-6
    - rebuilt against new openssl
    * Mon Nov  7 2005 Joe Orton <[email protected]> 5.0.5-5
    - pear: update to XML_RPC 1.4.4, XML_Parser 1.2.7, Mail 1.1.9 (#172528)
    * Tue Nov  1 2005 Joe Orton <[email protected]> 5.0.5-4
    - rebuild for new libnetsnmp
    * Wed Sep 14 2005 Joe Orton <[email protected]> 5.0.5-3
    - update to 5.0.5
    - add fix for upstream #34435
    - devel: require autoconf, automake (#159283)
    - pear: update to HTTP-1.3.6, Mail-1.1.8, Net_SMTP-1.2.7, XML_RPC-1.4.1
    - fix imagettftext et al (upstream, #161001)
    * Thu Jun 16 2005 Joe Orton <[email protected]> 5.0.4-11
    - ldap: restore ldap_start_tls() function
    * Fri May  6 2005 Joe Orton <[email protected]> 5.0.4-10
    - disable RPATHs in shared extensions (#156974)
    * Tue May  3 2005 Joe Orton <[email protected]> 5.0.4-9
    - build simplexml_import_dom even with shared dom (#156434)
    - prevent truncation of copied files to ~2Mb (#155916)
    - install /usr/bin/php from CLI build alongside CGI
    - enable sysvmsg extension (#142988)
    * Mon Apr 25 2005 Joe Orton <[email protected]> 5.0.4-8
    - prevent build of builtin dba as well as shared extension
    * Wed Apr 13 2005 Joe Orton <[email protected]> 5.0.4-7
    - split out dba and bcmath extensions into subpackages
    - BuildRequire gcc-c++ to avoid AC_PROG_CXX{,CPP} failure (#155221)
    - pear: update to DB-1.7.6
    - enable FastCGI support in /usr/bin/php-cgi (#149596)
    * Wed Apr 13 2005 Joe Orton <[email protected]> 5.0.4-6
    - build /usr/bin/php with the CLI SAPI, and add /usr/bin/php-cgi,
      built with the CGI SAPI (thanks to Edward Rudd, #137704)
    - add php(1) man page for CLI
    - fix more test cases to use -n when invoking php
    * Wed Apr 13 2005 Joe Orton <[email protected]> 5.0.4-5
    - rebuild for new libpq soname
    * Tue Apr 12 2005 Joe Orton <[email protected]> 5.0.4-4
    - bundle from PEAR: HTTP, Mail, XML_Parser, Net_Socket, Net_SMTP
    - snmp: disable MSHUTDOWN function to prevent error_log noise (#153988)
    - mysqli: add fix for crash on x86_64 (Georg Richter, upstream #32282)
    * Mon Apr 11 2005 Joe Orton <[email protected]> 5.0.4-3
    - build shared objects as PIC (#154195)
    * Mon Apr  4 2005 Joe Orton <[email protected]> 5.0.4-2
    - fix PEAR installation and bundle PEAR DB-1.7.5 package
    * Fri Apr  1 2005 Joe Orton <[email protected]> 5.0.4-1
    - update to 5.0.4 (#153068)
    - add .phps AddType to php.conf (#152973)
    - better gcc4 fix for libxmlrpc
    * Wed Mar 30 2005 Joe Orton <[email protected]> 5.0.3-5
    - BuildRequire mysql-devel >= 4.1
    - don't mark php.ini as noreplace to make upgrades work (#152171)
    - fix subpackage descriptions (#152628)
    - fix memset(,,0) in Zend (thanks to Dave Jones)
    - fix various compiler warnings in Zend
    * Thu Mar 24 2005 Joe Orton <[email protected]> 5.0.3-4
    - package mysqli extension in php-mysql
    - really enable pcntl (#142903)
    - don't build with --enable-safe-mode (#148969)
    - use "Instant Client" libraries for oci8 module (Kai Bolay, #149873)
    * Fri Feb 18 2005 Joe Orton <[email protected]> 5.0.3-3
    - fix build with GCC 4
    * Wed Feb  9 2005 Joe Orton <[email protected]> 5.0.3-2
    - install the ext/gd headers (#145891)
    - enable pcntl extension in /usr/bin/php (#142903)
    - add libmbfl array arithmetic fix ([email protected], #143795)
    - add BuildRequire for recent pcre-devel (#147448)
    * Wed Jan 12 2005 Joe Orton <[email protected]> 5.0.3-1
    - update to 5.0.3 (thanks to Robert Scheck et al, #143101)
    - enable xsl extension (#142174)
    - package both the xsl and dom extensions in php-xml
    - enable soap extension, shared (php-soap package) (#142901)
    - add patches from upstream 5.0 branch:
    * Zend_strtod.c compile fixes
    * correct php_sprintf return value usage
    * Mon Nov 22 2004 Joe Orton <[email protected]> 5.0.2-8
    - update for db4-4.3 (Robert Scheck, #140167)
    - build against mysql-devel
    - run tests in %%check
    * Wed Nov 10 2004 Joe Orton <[email protected]> 5.0.2-7
    - truncate changelog at 4.3.1-1
    - merge from 4.3.x package:
    - enable mime_magic extension and Require: file (#130276)
    * Mon Nov  8 2004 Joe Orton <[email protected]> 5.0.2-6
    - fix dom/sqlite enable/without confusion
    * Mon Nov  8 2004 Joe Orton <[email protected]> 5.0.2-5
    - fix phpize installation for lib64 platforms
    - add fix for segfault in variable parsing introduced in 5.0.2
    * Mon Nov  8 2004 Joe Orton <[email protected]> 5.0.2-4
    - update to 5.0.2 (#127980)
    - build against mysqlclient10-devel
    - use new RTLD_DEEPBIND to load extension modules
    - drop explicit requirement for elfutils-devel
    - use AddHandler in default conf.d/php.conf (#135664)
    - "fix" round() fudging for recent gcc on x86
    - disable sqlite pending audit of warnings and subpackage split
    * Fri Sep 17 2004 Joe Orton <[email protected]> 5.0.1-4
    - don't build dom extension into 2.0 SAPI
    * Fri Sep 17 2004 Joe Orton <[email protected]> 5.0.1-3
    - ExclusiveArch: x86 ppc x86_64 for the moment
    * Fri Sep 17 2004 Joe Orton <[email protected]> 5.0.1-2
    - fix default extension_dir and conf.d/php.conf
    * Thu Sep  9 2004 Joe Orton <[email protected]> 5.0.1-1
    - update to 5.0.1
    - only build shared modules once
    - put dom extension in php-dom subpackage again
    - move extension modules into %%{_libdir}/php/modules
    - don't use --with-regex=system, it's ignored for the apache* SAPIs
    * Wed Aug 11 2004 Tom Callaway <[email protected]>
    - Merge in some spec file changes from Jeff Stern ([email protected])
    * Mon Aug 09 2004 Tom Callaway <[email protected]>
    - bump to 5.0.0
    - add patch to prevent clobbering struct re_registers from regex.h
    - remove domxml references, replaced with dom now built-in
    - fix php.ini to refer to php5 not php4
    * Wed Aug 04 2004 Florian La Roche <[email protected]>
    - rebuild
    * Wed Jul 14 2004 Joe Orton <[email protected]> 4.3.8-3
    - update to 4.3.8
    - catch some fd > FD_SETSIZE vs select() issues (#125258)
    * Mon Jun 21 2004 Joe Orton <[email protected]> 4.3.7-4
    - pick up test failures again
    - have -devel require php of same release
    * Thu Jun 17 2004 Joe Orton <[email protected]> 4.3.7-3
    - add gmp_powm fix (Oskari Saarenmaa, #124318)
    - split mbstring, ncurses, gd, openssl extns into subpackages
    - fix memory leak in apache2handler; use ap_r{write,flush}
      rather than brigade interfaces
    * Tue Jun 15 2004 Elliot Lee <[email protected]>
    - rebuilt
    * Thu Jun  3 2004 Joe Orton <[email protected]> 4.3.7-1
    - update to 4.3.7
    - have -pear subpackage require php of same VR
    * Wed May 26 2004 Joe Orton <[email protected]> 4.3.6-6
    - buildrequire smtpdaemon (#124430)
    - try switching to system libgd again (prevent symbol conflicts
      when e.g. mod_perl loads the system libgd library.)
    * Wed May 19 2004 Joe Orton <[email protected]> 4.3.6-5
    - don't obsolete php-imap (#123580)
    - unconditionally build -imap subpackage
    * Thu May 13 2004 Joe Orton <[email protected]> 4.3.6-4
    - remove trigger
    * Thu Apr 22 2004 Joe Orton <[email protected]> 4.3.6-3
    - fix umask reset "feature" (#121454)
    - don't use DL_GLOBAL when dlopen'ing extension modules
    * Sun Apr 18 2004 Joe Orton <[email protected]> 4.3.6-2
    - fix segfault on httpd SIGHUP (upstream #27810)
    * Fri Apr 16 2004 Joe Orton <[email protected]> 4.3.6-1
    - update to 4.3.6 (Robert Scheck, #121011)
    * Wed Apr  7 2004 Joe Orton <[email protected]> 4.3.4-11
    - add back imap subpackage, using libc-client (#115535)
    * Tue Mar 02 2004 Elliot Lee <[email protected]>
    - rebuilt
    * Wed Feb 18 2004 Joe Orton <[email protected]> 4.3.4-10
    - eliminate /usr/local/lib RPATH in odbc.so
    - really use system pcre library
    * Fri Feb 13 2004 Elliot Lee <[email protected]> 4.3.4-9
    - rebuilt
    * Mon Feb  2 2004 Bill Nottingham <[email protected]> 4.3.4-8
    - obsolete php-imap if we're not building it
    * Wed Jan 28 2004 Joe Orton <[email protected]> 4.3.4-7
    - gd fix for build with recent Freetype2 (from upstream)
    - remove easter egg (Oden Eriksson, Mandrake)
    * Wed Jan 21 2004 Joe Orton <[email protected]> 4.3.4-6
    - php-pear requires php
    - also remove extension=imap from php.ini in upgrade trigger
    - merge from Taroon: allow upgrade from Stronghold 4.0
    * Wed Jan 21 2004 Joe Orton <[email protected]> 4.3.4-5
    - add defattr for php-pear subpackage
    - restore defaults: output_buffering=Off, register_argc_argv=On
    - add trigger to handle php.ini upgrades smoothly (#112470)
    * Tue Jan 13 2004 Joe Orton <[email protected]> 4.3.4-4
    - conditionalize support for imap extension for the time being
    - switch /etc/php.ini to use php.ini-recommended (but leave
      variables_order as EGPCS) (#97765)
    - set session.path to /var/lib/php/session by default (#89975)
    - own /var/lib/php{,/session} and have apache own the latter
    - split off php-pear subpackage (#83771)
    * Sat Dec 13 2003 Jeff Johnson <[email protected]> 4.3.4-3
    - rebuild against db-4.2.52.
    * Mon Dec  1 2003 Joe Orton <[email protected]> 4.3.4-2
    - rebuild for new libxslt (#110658)
    - use --with-{mssql,oci8} for enabling extensions (#110482)
    - fix rebuild issues (Jan Visser, #110274)
    - remove hard-coded LIBS
    - conditional support for mhash (Aleksander Adamowski, #111251)
    * Mon Nov 10 2003 Joe Orton <[email protected]> 4.3.4-1.1
    - rebuild for FC1 updates
    * Mon Nov 10 2003 Joe Orton <[email protected]> 4.3.4-1
    - update to 4.3.4
    - include all licence files
    - libxmlrpc fixes
    * Mon Oct 20 2003 Joe Orton <[email protected]> 4.3.3-6
    - use bundled libgd (#107407)
    - remove manual: up-to-date manual sources are no longer DFSG-free;
      it's too big; it's on the web anyway; #91292, #105804, #107384
    * Wed Oct 15 2003 Joe Orton <[email protected]> 4.3.3-5
    - add php-xmlrpc subpackage (#107138)
    * Mon Oct 13 2003 Joe Orton <[email protected]> 4.3.3-4
    - drop recode support, symbols collide with MySQL
    * Sun Oct 12 2003 Joe Orton <[email protected]> 4.3.3-3
    - split domxml extension into php-domxml subpackage
    - enable xslt and xml support in domxml extension (#106042)
    - fix httpd-devel build requirement (#104341)
    - enable recode extension (#106755)
    - add workaround for #103982
    * Thu Sep 25 2003 Jeff Johnson <[email protected]> 4.3.3-3
    - rebuild against db-4.2.42.
    * Sun Sep  7 2003 Joe Orton <[email protected]> 4.3.3-2
    - don't use --enable-versioning, it depends on libtool being
    broken (#103690)
    * Sun Sep  7 2003 Joe Orton <[email protected]> 4.3.3-1
    - update to 4.3.3
    - add libtool build prereq (#103388)
    - switch to apache2handler
    * Mon Jul 28 2003 Joe Orton <[email protected]> 4.3.2-8
    - rebuild
    * Tue Jul 22 2003 Nalin Dahyabhai <[email protected]> 4.3.2-7
    - rebuild
    * Tue Jul  8 2003 Joe Orton <[email protected]> 4.3.2-6
    - use system pcre library
    * Mon Jun  9 2003 Joe Orton <[email protected]> 4.3.2-5
    - enable mbstring and mbregex (#81336)
    - fix use of libtool 1.5
    * Wed Jun 04 2003 Elliot Lee <[email protected]>
    - rebuilt
    * Tue Jun  3 2003 Joe Orton <[email protected]> 4.3.2-3
    - add lib64 and domxml fixes
    * Tue Jun  3 2003 Frank Dauer <[email protected]>
    - added conditional support for mssql module (#92149)
    * Fri May 30 2003 Joe Orton <[email protected]> 4.3.2-2
    - update the -tests and -lib64 patches
    - fixes for db4 detection
    - require aspell-devel >= 0.50.0 for pspell compatibility
    * Thu May 29 2003 Joe Orton <[email protected]> 4.3.2-1
    - update to 4.3.2
    * Fri May 16 2003 Joe Orton <[email protected]> 4.3.1-3
    - link odbc module correctly
    - patch so that php -n doesn't scan inidir
    - run tests using php -n, avoid loading system modules
    * Wed May 14 2003 Joe Orton <[email protected]> 4.3.1-2
    - workaround broken parser produced by bison-1.875
    * Tue May  6 2003 Joe Orton <[email protected]> 4.3.1-1
    - update to 4.3.1; run test suite
    - open extension modules with RTLD_NOW rather than _LAZYThe error is :
    Build complete.
    (It is safe to ignore warnings about tempnam and tmpnam).
    + with-oci8 enable-sigchild
    /var/tmp/rpm-tmp.3167: line 156: --with-oci8: command not found
    error: Bad exit status from /var/tmp/rpm-tmp.3167 (%build)
    RPM build errors:
        Bad exit status from /var/tmp/rpm-tmp.3167 (%build)If i modify spec like this :
    # Build /usr/bin/php-cgi with the CGI SAPI, and all the shared extensions
    pushd build-cgi
    build --enable-force-cgi-redirect \
          --enable-pcntl \
          with-imap=shared with-imap-ssl \
          enable-mbstring=shared enable-mbstr-enc-trans \
          --enable-mbregex \
          --with-ncurses=shared \
          --with-gd=shared \
          --enable-bcmath=shared \
          enable-dba=shared with-db4=%{_prefix} \
          --with-xmlrpc=shared \
          --with-ldap=shared \
          --with-mysql=shared,%{_prefix} \
          --with-mysqli=shared,%{_bindir}/mysql_config \
          --enable-dom=shared \
          --with-dom-xslt=%{_prefix} --with-dom-exslt=%{_prefix} \
          --with-pgsql=shared \
          --with-snmp=shared,%{_prefix} \
          --enable-soap=shared \
          --with-xsl=shared,%{_prefix} \
          enable-xmlreader=shared enable-xmlwriter=shared \
          --enable-fastcgi \
          --enable-pdo=shared \
          --with-pdo-odbc=shared,unixODBC,%{_prefix} \
          --with-pdo-mysql=shared,%{_prefix} \
          --with-pdo-pgsql=shared,%{_prefix} \
          --with-pdo-sqlite=shared,%{_prefix} \
    #      --with-pdo-oci=shared,$ORACLE_HOME \
          --with-oci8=shared,$ORACLE_HOME/lib \
           --enable-sigchild
    popdI'm getting :
    Build complete.
    (It is safe to ignore warnings about tempnam and tmpnam).
    + with-oci8=shared,/u01/app/oracle/product/10.2.0/db_1/lib enable-sigchild
    /var/tmp/rpm-tmp.11885: line 156: --with-oci8=shared,/u01/app/oracle/product/10.2.0/db_1/lib: No such file or directory
    error: Bad exit status from /var/tmp/rpm-tmp.11885 (%build)
    Please help.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     

    and a bit further :
    diff:
    12,13c12,13
    < %define oci8_test_system_password tiger
    < %define oci8_test_connection_string localhost/lhome
    %define oci8_test_system_password oracle
    %define oci8_test_connection_string localhost/orcl2136,138c136,137
    < Requires: php-common = %{version}-%{release}, php-pdo
    < # oracle-instantclient-basic = %{ociver} php-pdo
    < #BuildRequires: oracle-instantclient-devel = %{ociver}
    Requires: php-common = %{version}-%{release}, oracle-instantclient-basic = %{ociver} php-pdo
    BuildRequires: oracle-instantclient-devel = %{ociver}339c338
    < \$user       = "scott";
    \$user = "system";487c486,487
    <       with-oci8 enable-sigchild
    --with-pdo-oci=shared,instantclient,/usr,%{ociver} \
    --with-oci8=shared,instantclient,/usr/lib/oracle/%{ociver}/client/lib --enable-sigchild496c496
    <       disable-pdo disable-xmlreader --disable-xmlwriter
    disable-pdo disable-xmlreader --disable-xmlwriter506,508c506,508
    < #export PDO_OCI_TEST_DSN=oci:dbname=%{oci8_test_connection_string}
    < #export PDO_OCI_TEST_USER=system
    < #export PDO_OCI_TEST_PASS=%{oci8_test_system_password}
    export PDO_OCI_TEST_DSN=oci:dbname=%{oci8_test_connection_string}
    export PDO_OCI_TEST_USER=system
    export PDO_OCI_TEST_PASS=%{oci8_test_system_password}571c571
    <     pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite; do
    pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite pdo_oci; do589c589
    < #cat files.pdo_oci >> files.oci8
    cat files.pdo_oci >> files.oci8rpmbuild -bi
    + '[' /var/tmp/php-root '!=' / ']'
    + rm -f /var/tmp/php-root/etc/httpd/conf/httpd.conf /var/tmp/php-root/etc/httpd/conf/httpd.conf.bak
    + /usr/lib/rpm/brp-compress
    + /usr/lib/rpm/brp-strip
    + /usr/lib/rpm/brp-strip-static-archive
    + /usr/lib/rpm/brp-strip-comment-note
    Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.40673
    + umask 022
    + cd /usr/src/redhat/BUILD
    + cd php-5.2.3
    + cd build-apache
    + export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
    + NO_INTERACTION=1
    + REPORT_EXIT_STATUS=1
    + MALLOC_CHECK_=2
    + unset TZ LANG LC_ALL
    + make test
    Build complete.
    Don't forget to run 'make test'.
    PHP Warning:  PHP Startup: gd: Unable to initialize module
    Module compiled with module API=20050922, debug=0, thread-safety=0
    PHP    compiled with module API=20060613, debug=0, thread-safety=0
    These options need to match
    in Unknown on line 0
    PHP Warning:  PHP Startup: ldap: Unable to initialize module
    Module compiled with module API=20050922, debug=0, thread-safety=0
    PHP    compiled with module API=20060613, debug=0, thread-safety=0
    These options need to match
    in Unknown on line 0
    PHP Warning:  PHP Startup: gd: Unable to initialize module
    Module compiled with module API=20050922, debug=0, thread-safety=0
    PHP    compiled with module API=20060613, debug=0, thread-safety=0
    These options need to match
    in Unknown on line 0
    PHP Warning:  PHP Startup: ldap: Unable to initialize module
    Module compiled with module API=20050922, debug=0, thread-safety=0
    PHP    compiled with module API=20060613, debug=0, thread-safety=0etc. etc...

  • Dbxml for php: second_arg_force_ref was declared in this scope

    Hi all,
    I'm getting this error after going into the db-4.8.26 folder and running make.
    phpize
    ./configure --with-db4=$PWD/../../install
    make
    I was following this thread here but there's no open solution there now.
    Berkeley DB XML and PHP 5.3
    Here is the output (from the configure onwards)
    *root@projects-test:/tmp/dbxml-2.5.16/db-4.8.26/php_db4# ./configure --with-db4=$PWD/../../install*
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for cc... cc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether cc accepts -g... yes
    checking for cc option to accept ISO C89... none needed
    checking how to run the C preprocessor... cc -E
    checking for icc... no
    checking for suncc... no
    checking whether cc understands -c and -o together... yes
    checking for system library directory... lib
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for PHP prefix... /usr
    checking for PHP 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
    checking for PHP extension directory... /usr/lib/php5/20090626
    checking for PHP installed headers prefix... /usr/include/php5
    checking if debug is enabled... no
    checking if zts is enabled... no
    checking for re2c... no
    configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    checking for gawk... no
    checking for nawk... nawk
    checking if nawk is broken... no
    checking whether to enable db4 support... yes, shared
    checking whether to link against mod_db4... yes, shared
    checking if we really need to link against mod_db4... no
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking how to run the C++ preprocessor... g++ -E
    configure: WARNING: *** A note about pthreads ***
    The db4 c++ library by default tries to link against libpthread on some
    systems (notably Linux). If your PHP install is not linked against
    libpthread, you will need to disable pthread support in db4. This can
    be done by compiling db4 with the flag --with-mutex=x86/gcc-assembly.
    PHP can itself be forced to link against libpthread either by manually editing
    its build files (which some distributions do), or by building it with
    --with-experimental-zts.
    checking how to print strings... printf
    checking for a sed that does not truncate output... (cached) /bin/sed
    checking for fgrep... /bin/grep -F
    checking for ld used by cc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking for gawk... (cached) nawk
    checking command to parse /usr/bin/nm -B output from cc object... ok
    checking for sysroot... no
    checking for mt... mt
    checking if mt is a manifest tool... no
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if cc supports -fno-rtti -fno-exceptions... no
    checking for cc option to produce PIC... -fPIC -DPIC
    checking if cc PIC flag -fPIC -DPIC works... yes
    checking if cc static flag -static works... yes
    checking if cc supports -c -o file.o... yes
    checking if cc supports -c -o file.o... (cached) yes
    checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking how to run the C++ preprocessor... g++ -E
    checking for ld used by g++... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC -DPIC
    checking if g++ PIC flag -fPIC -DPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking if g++ supports -c -o file.o... (cached) yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... (cached) GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    configure: creating ./config.status
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing libtool commands
    root@projects-test:/tmp/dbxml-2.5.16/db-4.8.26/php_db4# make
    /bin/bash /tmp/dbxml-2.5.16/db-4.8.26/php_db4/libtool --mode=compile g++  -I. -I/tmp/dbxml-2.5.16/db-4.8.26/php_db4 -DPHP_ATOM_INC -I/tmp/dbxml-2.5.16/db-4.8.26/php_db4/include -I/tmp/dbxml-2.5.16/db-4.8.26/php_db4/main -I/tmp/dbxml-2.5.16/db-4.8.26/php_db4 -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 -I/tmp/dbxml-2.5.16/db-4.8.26/php_db4/../../install/include  -DHAVE_CONFIG_H  -g -O2   -c /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp -o db4.lo
    libtool: compile: g++ -I. -I/tmp/dbxml-2.5.16/db-4.8.26/php_db4 -DPHP_ATOM_INC -I/tmp/dbxml-2.5.16/db-4.8.26/php_db4/include -I/tmp/dbxml-2.5.16/db-4.8.26/php_db4/main -I/tmp/dbxml-2.5.16/db-4.8.26/php_db4 -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 -I/tmp/dbxml-2.5.16/db-4.8.26/php_db4/../../install/include -DHAVE_CONFIG_H -g -O2 -c /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp -fPIC -DPIC -o .libs/db4.o
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:193:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:342:9: error: 'second_arg_force_ref' was not declared in this scope
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:342:9: error: 'second_arg_force_ref' was not declared in this scope
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'int zm_startup_db4(int, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:406:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:407:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:408:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:409:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:414:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'DB_ENV* php_db4_getDbEnvFromObj(zval*)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:671:104: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'php_DB_ENV* php_db4_getPhpDbEnvFromObj(zval*)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:684:104: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'php_DB* getPhpDbFromObj(zval*)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:719:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'DB* php_db4_getDbFromObj(zval*)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:730:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'DB_TXN* php_db4_getDbTxnFromObj(zval*)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:788:108: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'php_DB_TXN* getPhpDbTxnFromObj(zval*)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:801:108: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'DBC* php_db4_getDbcFromObj(zval*)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:880:103: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'php_DBC* getPhpDbcFromObj(zval*)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:893:103: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_txn_commit(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:969:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_txn_set_timeout(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1026:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_txn_set_name(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1047:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapnew_db4(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1103:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_open(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1143:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_del(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1198:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_get(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1227:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_pget(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1261:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_set_encrypt(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1328:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_stat(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1361:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_join(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1474:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_put(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1514:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_truncate(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1562:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_cursor(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1590:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdbc_close(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1623:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdbc_count(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1642:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdbc_del(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1659:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdbc_dup(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1679:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdbc_get(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1704:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdbc_pget(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1740:99: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdbc_put(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1780:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapnew_DbEnv(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1821:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_env_close(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1849:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_env_dbremove(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1872:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_env_dbrename(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1901:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_env_open(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1932:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_env_remove(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1957:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_env_set_data_dir(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1975:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_env_set_encrypt(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1995:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_env_txn_begin(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:2033:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_env_txn_checkpoint(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:2066:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    make: *** [db4.lo] Error 1
    root@projects-test:/tmp/dbxml-2.5.16/db-4.8.26/php_db4#
    Edited by: user8894150 on Jul 8, 2012 12:42 PM
    Removed configure output from previous command.

    Thanks for the reply, I tried what you suggested and got an error about iostream.h no such file or directory. I did some reading and saw some suggestions that I needed to pass the --enable-cxx flag when doing the main build, so I redid that. I'm not even sure if that was necessary, but I got the dba module to build. How do I build dbxml.so though? I'm not sure what arguments to pass to configure. Do I use with-dbxml, prefix? When I run make I keep getting a no such file or directory error, unable to find ext/db4/php_db4.h I think.
    I extracted db-xml-2.5.16.tar.gz ahd PHP 5.3.15 (tar.gz) into $HOME/tmp. I installed PHP 5.3.15 into $HOME/php5314 (made a mistake with the numbers there).
    These are the steps I followed:
    cd ~/tmp/
    tar -xvf dbxml-2.5.16.tar.gz
    cd dbxml-2.5.16/db-4.8.26/build_unix/
    ../dist/configure prefix=$HOME/tmp/dbxml-2.5.16/db-4.8.26 enable-cxx
    make
    make install
    # build PHP
    cd ~/tmp
    tar -xvf php-5.3.15.tar.gz
    cd php-5.3.15
    ./configure prefix=$HOME/*php5314* disable-all # should have called that 5315... oops
    make install
    cp php.ini-development $HOME/php5314/lib/php.ini
    # Building dba
    cd ext/dba
    export PATH=$PATH:$HOME/php5314/bin
    phpize
    ./configure --with-db4=$HOME/bdb-4.8.26
    sudo make install
    # Now for dbxml
    cd $HOME/tmp/dbxml-2.5.16/dbxml/src/php
    phpize
    *./configure ?????*
    make
    /bin/bash /home/jay/tmp/dbxml-2.5.16/dbxml/src/php/libtool --mode=compile g++  -I. -I/home/jay/tmp/dbxml-2.5.16/dbxml/src/php -DPHP_ATOM_INC -I/home/jay/tmp/dbxml-2.5.16/dbxml/src/php/include -I/home/jay/tmp/dbxml-2.5.16/dbxml/src/php/main -I/home/jay/tmp/dbxml-2.5.16/dbxml/src/php -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 -I/include -I/home/jay/tmp/dbxml-2.5.16/db-4.8.26/php_db4  -DHAVE_CONFIG_H  -g -O2   -c /home/jay/tmp/dbxml-2.5.16/dbxml/src/php/php_dbxml.cpp -o php_dbxml.lo
    libtool: compile: g++ -I. -I/home/jay/tmp/dbxml-2.5.16/dbxml/src/php -DPHP_ATOM_INC -I/home/jay/tmp/dbxml-2.5.16/dbxml/src/php/include -I/home/jay/tmp/dbxml-2.5.16/dbxml/src/php/main -I/home/jay/tmp/dbxml-2.5.16/dbxml/src/php -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 -I/include -I/home/jay/tmp/dbxml-2.5.16/db-4.8.26/php_db4 -DHAVE_CONFIG_H -g -O2 -c /home/jay/tmp/dbxml-2.5.16/dbxml/src/php/php_dbxml.cpp -fPIC -DPIC -o .libs/php_dbxml.o
    In file included from /home/jay/tmp/dbxml-2.5.16/dbxml/src/php/php_dbxml.cpp:10:0:
    */home/jay/tmp/dbxml-2.5.16/dbxml/src/php/php_dbxml_int.hpp:24:29: fatal error: ext/db4/php_db4.h: No such file or directory*
    compilation terminated.
    make: *** [php_dbxml.lo] Error 1

  • PHP5 extensions for Windows

    (Newbie alert)
    Can't seem to find any extensions for PHP5 or instructions for Windows. Are us poor Windows users out of luck.
    I see in the BerkeleyDBXML\dbxml\src\php that you can create a .so for Unix/Linux. Am I able to create the extensions for Windows from these. If so how do I do this?
    Thanks

    I had a positive experience on build of extension dbxml for win32 but it has turned out to collect extension only as a matter of fact. Working capacity of the module has appeared worse than under Linux (under Linux working capacity also not so good ) During build of the module for elimination of mistakes of compilation I had to correct "slightly" db.h (certainly it could not affect positively working capacity) and itself php
    For myself I have solved the module that if very much it would be desirable to use php+dbxml+win32 that easier to use Java_dbxml+phpjavabridge+php+win32 or perl+dbxml+win32 PS Literally right after my "successful" attempt there was a fresh version dbxml
    Russian
    Привет Виталий
    У меня был положительный опыт по сборке расширения dbxml для win32
    но получилось по сути только собрать расширение . Работоспособность модуля оказалась хуже чем под Линуксом ( под Линуксом работоспособность php модуля меня тоже не порадовала)
    Во время сборки модуля для устранения ошибок компиляции мне пришлось "слегка" исправлять db.h ( конечно врядли это могло положительно повлиять на работоспособность ) и сам php модуль
    Для себя я решил что если очень хочется использовать php+dbxml+win32 то проще использовать Java_dbxml+phpjavabridge+php+win32 или perl+dbxml+win32
    Я могу выслать собранную версию php cо статической поддержкой dbxml (Berkeley DB XML 2.2.13 и PHP 5.1.4 cli ) и исправленные исходники модуля
    PS
    Буквально сразу после моей "успешной" попытки вышла свежая версия dbxml

  • Dbxml Core Dump Seg Fault

    Hi - We are currently using dbxml for many years successfully on CentOS and FreeBSD.  Recently,we have been trying to get our dbxml application to run on Joyent's SmartOS platform. 
    Through the help of Joyent, we are able to build sbxml 2.5.16 binaries on smartos.  Build ntes here:
    https://github.com/joyent/smartos-live/issues/236
    However, when we run the application, the java core dumps - both on jdk 7 and jdk 6.  Same code runs find on other platforms.  Core dump is included in the above post.  Not sure if anyone here might have an idea on what is causing this. 

    Hi Lauren,
    Thanks for the response.  Here is what I posted about this on the smartos forums.  They helped me in getting dbxml to compile on smartos.  Including using an xquilla patch:
    OK, so the build problem you're having there appears to be an error in the C++ source for xqilla. This diff appears to fix that:
    --- pristine/dbxml-2.5.16/xqilla/src/items/DatatypeFactoryTemplate.hpp 2009-01-07 11:46:13.000000000 +0000 +++ dbxml-2.5.16/xqilla/src/items/DatatypeFactoryTemplate.hpp 2013-07-11 08:17:00.638395661 +0000 @@ -79,7 +79,7 @@ AnyAtomicType::Ptr createInstance(const XMLCh* value, const DynamicContext* context) const { - return createInstanceNoCheck(DatatypeFactoryTemplate<TYPE>::getPrimitiveTypeURI(), + return this->createInstanceNoCheck(DatatypeFactoryTemplate<TYPE>::getPrimitiveTypeURI(), DatatypeFactoryTemplate<TYPE>::getPrimitiveTypeName(), value, context); }
    Here is the post about the core dump:
    Hi - OK, so apparently, the newly compiled code core dumps the JVM every time I try to call the openContainer method.
    At first, I thought this was a code issue or a jdk 7 issue. However, I've compiled dbxml on smartos via the instructions in above thread using both jdk 6 and jdk 7 and I get the same core dump on the same call.
    Also, tested the code on jdk 7 and jdk 6 on FreeBSD, Linux and Solaris and everything works OK.
    I also thought it was a problem with my data, but I tried this create a fresh container using dbxml shell.
    Same thing. So it seems to be a problem with the dbxml build specific to smartos.
    Anyone have any ideas on where I can start looking for a solution?
    $ /opt/local/java/bin/java -d64 -cp ...
    srv context: java.io.BufferedInputStream@1f2f0ce
    A fatal error has been detected by the Java Runtime Environment:
    SIGSEGV (0xb) at pc=0x000000000028a89d, pid=4151, tid=2
    JRE version: 7.0_25-b15
    Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode solaris-amd64 compressed oops)
    Problematic frame:
    C 0x000000000028a89d
    Core dump written. Default location: /home/nxd/srv/adm/core or core.4151
    An error report file with more information is saved as:
    /home/nxd/srv/adm/hs_err_pid4151.log
    If you would like to submit a bug report, please visit:
    http://bugreport.sun.com/bugreport/crash.jsp
    Abort (core dumped)
    ========CORE DUMP
    A fatal error has been detected by the Java Runtime Environment:
    SIGSEGV (0xb) at pc=0x000000000028a89d, pid=4116, tid=2
    JRE version: 7.0_25-b15
    Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode solaris-amd64 compressed oops)
    Problematic frame:
    C 0x000000000028a89d
    Core dump written. Default location: /home/test/srv/adm/core or core.4116
    If you would like to submit a bug report, please visit:
    http://bugreport.sun.com/bugreport/crash.jsp
    The crash happened outside the Java Virtual Machine in native code.
    See problematic frame for where to report the bug.
    T H R E A D
    Current thread (0x000000000041e000): JavaThread "main" [_thread_in_native, id=2, stack(0xfffffd7ffe800000,0xfffffd7ffea00000)]
    siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x000000000028a89d
    Registers:
    RAX=0x000000000028a89d, RBX=0x0000000000000001, RCX=0x0000000002b27ea0, RDX=0x474e5543432b2b00
    RSP=0xfffffd7ffe9fec88, RBP=0xfffffd7ffe9fee30, RSI=0x0000000000000001, RDI=0x0000000000000001
    R8 =0xfffffd7ffe9fecb0, R9 =0xfffffd7fbfeb8e60, R10=0x0000000000000434, R11=0xfffffd7fff202df0
    R12=0x0000000002b27ec0, R13=0x0000000000000002, R14=0x0000000000000001, R15=0x0000000002b28630
    RIP=0x000000000028a89d, RFLAGS=0x0000000000010286
    Top of Stack: (sp=0xfffffd7ffe9fec88)
    0xfffffd7ffe9fec88: fffffd7fff2a2e50 fffffd7ffe9fecc0
    0xfffffd7ffe9fec98: 00000001ff3fc800 fffffd7ffe9fee50
    0xfffffd7ffe9feca8: 0000000002b27ea0 fffffd7ffe9fefa0
    0xfffffd7ffe9fecb8: fffffd7fff3b1422 0000000002b27ea0
    0xfffffd7ffe9fecc8: 0000000002b9b530 fffffd7fbfeefd90
    0xfffffd7ffe9fecd8: fffffd7ff53b7fb3 fffffd7ffe9ff190
    0xfffffd7ffe9fece8: fffffd7ffe9ff090 0000000000000000
    0xfffffd7ffe9fecf8: 0000000000000001 0000000000000000
    0xfffffd7ffe9fed08: ffffff00000000ff 0000000002b8cf00
    0xfffffd7ffe9fed18: fffffd7ffe9ff110 0000000002b1ea40
    0xfffffd7ffe9fed28: 0000000002582310 0000000000000000
    0xfffffd7ffe9fed38: 0000000000000001 6d2e42494c534f5f
    0xfffffd7ffe9fed48: 0000000002b1ea40 0000000000000000
    0xfffffd7ffe9fed58: 0000000000000000 fffffd7ffe9ff080
    0xfffffd7ffe9fed68: fffffd7ffe9ff000 0000000000000000
    0xfffffd7ffe9fed78: 0000000000000000 697600656e6f6e2d
    0xfffffd7ffe9fed88: 2d65646f6e007765 0000000002b27ec0
    0xfffffd7ffe9fed98: 0000000000000002 0000000000000001
    0xfffffd7ffe9feda8: 0000000002b28630 fffffd7ffe9ff090
    0xfffffd7ffe9fedb8: fffffd7fbfe81442 fffffd7fbfe3be1d
    0xfffffd7ffe9fedc8: fffffd7fbfc51f28 000000000028a89d
    0xfffffd7ffe9fedd8: fffffd7fbfe81108 fffffd7fbfeb8e60
    0xfffffd7ffe9fede8: 0000000000000434 fffffd7ffe9fecb0
    0xfffffd7ffe9fedf8: 0000000100000000 fffffd7fbfc9f120
    0xfffffd7ffe9fee08: 0000000002b1ea40 0000000002b27ec0
    0xfffffd7ffe9fee18: 0000000000000001 fffffd7ffe9fee50
    0xfffffd7ffe9fee28: 0000000002b27ea0 fffffd7ffe9fefb0
    0xfffffd7ffe9fee38: fffffd7fff2a302f 00000000000006c9
    0xfffffd7ffe9fee48: 0000000002b27ea0 fffffd7ffe9fefa0
    0xfffffd7ffe9fee58: fffffd7fff3b1422 0000000002b27ea0
    0xfffffd7ffe9fee68: 0000000002b9b530 fffffd7fbfeefd90
    0xfffffd7ffe9fee78: fffffd7ff53b7fb3 fffffd7ffe9ff190
    Instructions: (pc=0x000000000028a89d)
    0x000000000028a87d:
    [error occurred during error reporting (printing registers, top of stack, instructions near pc), id 0xb]
    Register to memory mapping:
    RAX=0x000000000028a89d is an unknown value
    RBX=0x0000000000000001 is an unknown value
    RCX=0x0000000002b27ea0 is an unknown value
    RDX=0x474e5543432b2b00 is an unknown value
    RSP=0xfffffd7ffe9fec88 is pointing into the stack for thread: 0x000000000041e000
    RBP=0xfffffd7ffe9fee30 is pointing into the stack for thread: 0x000000000041e000
    RSI=0x0000000000000001 is an unknown value
    RDI=0x0000000000000001 is an unknown value
    R8 =0xfffffd7ffe9fecb0 is pointing into the stack for thread: 0x000000000041e000
    R9 =0xfffffd7fbfeb8e60: _ZTSN5DbXml23DbXmlDebugHookDecoratorE+0x13040 in /home/test/srv/bdbxml.smartos_jdk7/lib/libdbxml-2.5.so at 0xfffffd7fbfc00000
    R10=0x0000000000000434 is an unknown value
    R11=0xfffffd7fff202df0: memcpy+0x60 in /lib/amd64/libc.so.1 at 0xfffffd7fff190000
    R12=0x0000000002b27ec0 is an unknown value
    R13=0x0000000000000002 is an unknown value
    R14=0x0000000000000001 is an unknown value
    R15=0x0000000002b28630 is an unknown value
    Stack: [0xfffffd7ffe800000,0xfffffd7ffea00000], sp=0xfffffd7ffe9fec88, free space=2043k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C 0x000000000028a89d
    C [libc.so.1+0x11302f] SUNW_Unwind_RaiseException+0x50
    C [libstdc++.so.6.0.13+0x1380db] __cxa_throw+0x9b
    C [libdbxml-2.5.so+0x281442] DbXml::SyntaxDatabase::SyntaxDatabase(const DbXml::Syntax(_db_env*, DbXml::Transaction(std::basic_string < char, std::char_traits, std::allocator >, bool, const DbXml::ContainerConfig(bool)&)*)*)+0x33a
    C [libdbxml-2.5.so+0x23be1d] DbXml::Container::openIndexDbs(DbXml::Transaction(const DbXml::ContainerConfig&)*)+0x203
    C [libdbxml-2.5.so+0x23c5a5] DbXml::Container::openInternal(DbXml::Transaction(const DbXml::ContainerConfig(bool)&)*)+0x649
    C [libdbxml-2.5.so+0x23ce52] DbXml::Container::Container(DbXml::Manager(std::basic_string < char, std::char_traits, std::allocator >, DbXml::Transaction(const DbXml::ContainerConfig(bool)&)*)&)+0x212
    C [libdbxml-2.5.so+0x26e2f1] DbXml::Manager::ContainerStore::findContainer(void&, std::basic_string < char, std::char_traits, std::allocator >, DbXml::Transaction(const DbXml::ContainerConfig(bool)&)*)+0xb7
    C [libdbxml-2.5.so+0x26e4b9] DbXml::Manager::openContainer(std::basic_string < char, std::char_traits, std::allocator >, DbXml::Transaction(const DbXml::ContainerConfig(bool)&)*)+0x11b
    C [libdbxml-2.5.so+0x28fa45] DbXml::XmlManager::openContainer(std::basic_string < char, std::char_traits, std::allocator >, const DbXml::XmlContainerConfig&)+0x73
    C [libdbxml_java-2.5.so+0x61b68] Java_com_sleepycat_dbxml_dbxml_1javaJNI_XmlManager_1openContainerInternal_1_1SWIG_10+0x106
    j com.sleepycat.dbxml.dbxml_javaJNI.XmlManager_openContainerInternal__SWIG_0(JLcom/sleepycat/dbxml/XmlManager;Ljava/lang/String;[ILjava/lang/String;)J+0
    j com.sleepycat.dbxml.XmlManager.openContainerInternal(Ljava/lang/String;Lcom/sleepycat/dbxml/XmlContainerConfig;)Lcom/sleepycat/dbxml/XmlContainer;+18
    j com.sleepycat.dbxml.XmlManager.openContainer(Ljava/lang/String;Lcom/sleepycat/dbxml/XmlContainerConfig;)Lcom/sleepycat/dbxml/XmlContainer;+3
    j com.lightspoke.dbx.dao.DbxContainerManager.()V+411
    j com.lightspoke.dbx.service.DbxRMIEngine.()V+45
    j com.lightspoke.dbx.service.DbxRMIEngine.main([Ljava/lang/String;)V+29
    v ~StubRoutines::call_stub
    V [libjvm.so+0x54e5d1] void JavaCalls::call_helper(JavaValue*,methodHandle*,JavaCallArguments*,Thread*)+0x5d1
    V [libjvm.so+0x54e81b] void JavaCalls::call(JavaValue*,methodHandle,JavaCallArguments*,Thread*)+0x2b
    V [libjvm.so+0x638695] jni_CallStaticVoidMethod+0x5c1
    C [libjli.so+0x4d83] JavaMain+0x5e7
    C [libc.so.1+0x10cfaa] _thrp_setup+0x8a
    C [libc.so.1+0x10d2c0] _lwp_start+0x0
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j com.sleepycat.dbxml.dbxml_javaJNI.XmlManager_openContainerInternal__SWIG_0(JLcom/sleepycat/dbxml/XmlManager;Ljava/lang/String;[ILjava/lang/String;)J+0
    j com.sleepycat.dbxml.XmlManager.openContainerInternal(Ljava/lang/String;Lcom/sleepycat/dbxml/XmlContainerConfig;)Lcom/sleepycat/dbxml/XmlContainer;+18
    j com.sleepycat.dbxml.XmlManager.openContainer(Ljava/lang/String;Lcom/sleepycat/dbxml/XmlContainerConfig;)Lcom/sleepycat/dbxml/XmlContainer;+3
    j com.lightspoke.dbx.dao.DbxContainerManager.()V+411
    j com.lightspoke.dbx.service.DbxRMIEngine.()V+45
    j com.lightspoke.dbx.service.DbxRMIEngine.main([Ljava/lang/String;)V+29
    v ~StubRoutines::call_stub
    P R O C E S S
    Java Threads: ( => current thread )
    0x0000000002410000 JavaThread "Socket Server Thread-2" [_thread_in_native, id=20, stack(0xfffffd7ff4000000,0xfffffd7ff4200000)]
    0x0000000002405000 JavaThread "KaRMI Object Queue" daemon [_thread_blocked, id=19, stack(0xfffffd7ff4400000,0xfffffd7ff4600000)]
    0x00000000021eb800 JavaThread "Service Thread" daemon [_thread_blocked, id=17, stack(0xfffffd7ff4800000,0xfffffd7ff4a00000)]
    0x00000000021e9800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=16, stack(0xfffffd7ffe6ef000,0xfffffd7ffe7ef000)]
    0x00000000021e6800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=15, stack(0xfffffd7ffec0f000,0xfffffd7ffed0f000)]
    0x00000000021e4800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=14, stack(0xfffffd7ff4c00000,0xfffffd7ff4e00000)]
    0x000000000217b800 JavaThread "Finalizer" daemon [_thread_blocked, id=13, stack(0xfffffd7ff5000000,0xfffffd7ff5200000)]
    0x0000000002174800 JavaThread "Reference Handler" daemon [_thread_blocked, id=12, stack(0xfffffd7ffe000000,0xfffffd7ffe200000)]
    =>0x000000000041e000 JavaThread "main" [_thread_in_native, id=2, stack(0xfffffd7ffe800000,0xfffffd7ffea00000)]
    Other Threads:
    0x000000000216c000 VMThread [stack: 0xfffffd7ffe2af000,0xfffffd7ffe3af000] [id=11]
    0x0000000002205800 WatcherThread [stack: 0xfffffd7ffdeff000,0xfffffd7ffdfff000] [id=18]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    PSYoungGen total 19712K, used 16342K [0x00000000eaa00000, 0x00000000ec000000, 0x0000000100000000)
    eden space 16896K, 96% used [0x00000000eaa00000,0x00000000eb9f5a00,0x00000000eba80000)
    from space 2816K, 0% used [0x00000000ebd40000,0x00000000ebd40000,0x00000000ec000000)
    to space 2816K, 0% used [0x00000000eba80000,0x00000000eba80000,0x00000000ebd40000)
    ParOldGen total 43008K, used 0K [0x00000000c0000000, 0x00000000c2a00000, 0x00000000eaa00000)
    object space 43008K, 0% used [0x00000000c0000000,0x00000000c0000000,0x00000000c2a00000)
    PSPermGen total 22528K, used 7661K [0x00000000bae00000, 0x00000000bc400000, 0x00000000c0000000)
    object space 22528K, 34% used [0x00000000bae00000,0x00000000bb57b450,0x00000000bc400000)
    Card table byte_map: [0xfffffd7ff8c00000,0xfffffd7ff8e2a000] byte_map_base: 0xfffffd7ff8629000
    Polling page: 0xfffffd7fff000000
    Code Cache [0xfffffd7ff9000000, 0xfffffd7ff9400000, 0xfffffd7ffc000000)
    total_blobs=371 nmethods=41 adapters=283 free_code_cache=48554Kb largest_free_block=49715392
    Compilation events (10 events):
    Event: 0.848 Thread 0x00000000021e9800 nmethod 34 0xfffffd7ff9072a90 code [0xfffffd7ff9072be0, 0xfffffd7ff9072c78]
    Event: 0.848 Thread 0x00000000021e9800 35 java.util.ArrayList::get (11 bytes)
    Event: 0.848 Thread 0x00000000021e9800 nmethod 35 0xfffffd7ff90788d0 code [0xfffffd7ff9078a20, 0xfffffd7ff9078ad8]
    Event: 0.854 Thread 0x00000000021e9800 36 ! sun.misc.URLClassPath$JarLoader::getResource (91 bytes)
    Event: 0.894 Thread 0x00000000021e9800 nmethod 36 0xfffffd7ff9080490 code [0xfffffd7ff9080840, 0xfffffd7ff9082128]
    Event: 0.907 Thread 0x00000000021e9800 37 java.io.UnixFileSystem::parentOrNull (118 bytes)
    Event: 0.917 Thread 0x00000000021e9800 nmethod 37 0xfffffd7ff907ddd0 code [0xfffffd7ff907df40, 0xfffffd7ff907e598]
    Event: 0.968 Thread 0x00000000021e6800 nmethod 32 0xfffffd7ff908bf50 code [0xfffffd7ff908c660, 0xfffffd7ff90909c8]
    Event: 1.019 Thread 0x00000000021e9800 38 java.util.Arrays::copyOf (19 bytes)
    Event: 1.021 Thread 0x00000000021e9800 nmethod 38 0xfffffd7ff908a250 code [0xfffffd7ff908a3a0, 0xfffffd7ff908a578]
    GC Heap History (0 events):
    No events
    Deoptimization events (6 events):
    Event: 0.351 Thread 0x000000000041e000 Uncommon trap -34 fr.pc 0xfffffd7ff9062f04
    Event: 0.352 Thread 0x000000000041e000 Uncommon trap -34 fr.pc 0xfffffd7ff9062f04
    Event: 0.438 Thread 0x000000000041e000 Uncommon trap -83 fr.pc 0xfffffd7ff9067068
    Event: 0.638 Thread 0x000000000041e000 Uncommon trap -83 fr.pc 0xfffffd7ff9067908
    Event: 0.668 Thread 0x000000000041e000 Uncommon trap -83 fr.pc 0xfffffd7ff9076094
    Event: 0.669 Thread 0x000000000041e000 Uncommon trap -12 fr.pc 0xfffffd7ff9065848
    Internal exceptions (10 events):
    Event: 1.079 Thread 0x000000000041e000 Threw 0x00000000eb94b5b8 at /export/HUDSON/workspace/jdk7u25-2-build-solaris-amd64-product/jdk7u25/hotspot/src/share/vm/prims/jvm.c
    Event: 1.563 Thread 0x000000000041e000 Threw 0x00000000eb972960 at /export/HUDSON/workspace/jdk7u25-2-build-solaris-amd64-product/jdk7u25/hotspot/src/share/vm/prims/jvm.c
    Event: 1.564 Thread 0x000000000041e000 Threw 0x00000000eb9756c0 at /export/HUDSON/workspace/jdk7u25-2-build-solaris-amd64-product/jdk7u25/hotspot/src/share/vm/prims/jvm.c
    Event: 1.564 Thread 0x000000000041e000 Threw 0x00000000eb97fc60 at /export/HUDSON/workspace/jdk7u25-2-build-solaris-amd64-product/jdk7u25/hotspot/src/share/vm/prims/jvm.c
    Event: 1.565 Thread 0x000000000041e000 Threw 0x00000000eb983ed0 at /export/HUDSON/workspace/jdk7u25-2-build-solaris-amd64-product/jdk7u25/hotspot/src/share/vm/prims/jvm.c
    Event: 1.565 Thread 0x000000000041e000 Threw 0x00000000eb98d390 at /export/HUDSON/workspace/jdk7u25-2-build-solaris-amd64-product/jdk7u25/hotspot/src/share/vm/prims/jvm.c
    Event: 1.566 Thread 0x000000000041e000 Threw 0x00000000eb992830 at /export/HUDSON/workspace/jdk7u25-2-build-solaris-amd64-product/jdk7u25/hotspot/src/share/vm/prims/jvm.c
    Event: 1.566 Thread 0x000000000041e000 Threw 0x00000000eb996070 at /export/HUDSON/workspace/jdk7u25-2-build-solaris-amd64-product/jdk7u25/hotspot/src/share/vm/prims/jvm.c
    Event: 1.567 Thread 0x000000000041e000 Threw 0x00000000eb9a1d10 at /export/HUDSON/workspace/jdk7u25-2-build-solaris-amd64-product/jdk7u25/hotspot/src/share/vm/prims/jvm.c
    Event: 1.738 Thread 0x000000000041e000 Threw 0x00000000eb9a6840 at /export/HUDSON/workspace/jdk7u25-2-build-solaris-amd64-product/jdk7u25/hotspot/src/share/vm/prims/jvm.c
    Events (10 events):
    Event: 1.565 loading class 0x0000000002a678c0
    Event: 1.565 loading class 0x0000000002a678c0 done
    Event: 1.566 loading class 0x0000000002a67960
    Event: 1.566 loading class 0x0000000002a67960 done
    Event: 1.566 loading class 0x00000000022d9f00
    Event: 1.566 loading class 0x00000000022d9f00 done
    Event: 1.567 loading class 0x0000000002a67eb0
    Event: 1.567 loading class 0x0000000002a67eb0 done
    Event: 1.738 loading class 0x00000000022d9d40
    Event: 1.738 loading class 0x00000000022d9d40 done
    Dynamic libraries:
    0x0000000000400000 /opt/local/jdk1.7.0_25/bin/amd64/dbxrmijvm
    0xfffffd7ffd85c000 /usr/lib/amd64/libthread.so.1
    0xfffffd7ffd700000 /opt/local/jdk1.7.0_25/bin/amd64/../../jre/lib/amd64/jli/libjli.so
    0xfffffd7ffe56f000 /usr/lib/amd64/libdl.so.1
    0xfffffd7fff190000 /usr/lib/amd64/libc.so.1
    0xfffffd7ffc1a0000 /opt/local/jdk1.7.0_25/jre/lib/amd64/server/libjvm.so
    0xfffffd7ffea40000 /usr/lib/amd64/libsocket.so.1
    0xfffffd7ffd85b000 /usr/lib/amd64/libsched.so.1
    0xfffffd7ffc180000 /usr/lib/amd64/libm.so.1
    0xfffffd7ffc150000 /usr/lib/amd64/libCrun.so.1
    0xfffffd7ffdaef000 /usr/lib/amd64/libdoor.so.1
    0xfffffd7ffc110000 /usr/lib/amd64/libdemangle.so.1
    0xfffffd7ffeee0000 /usr/lib/amd64/libm.so.2
    0xfffffd7ffed10000 /usr/lib/amd64/libnsl.so.1
    0xfffffd7ffeab0000 /usr/lib/amd64/libmd.so.1
    0xfffffd7ffea90000 /usr/lib/amd64/libmp.so.2
    0xfffffd7ffc0f0000 /opt/local/jdk1.7.0_25/jre/lib/amd64/libverify.so
    0xfffffd7ffc0a0000 /opt/local/jdk1.7.0_25/jre/lib/amd64/libjava.so
    0xfffffd7ffe670000 /usr/lib/amd64/libscf.so.1
    0xfffffd7ffeba0000 /usr/lib/amd64/libuutil.so.1
    0xfffffd7ffead0000 /usr/lib/amd64/libgen.so.1
    0xfffffd7ffedb0000 /usr/lib/amd64/libnvpair.so.1
    0xfffffd7ffe650000 /usr/lib/amd64/libsmbios.so.1
    0xfffffd7ffc070000 /opt/local/jdk1.7.0_25/jre/lib/amd64/libzip.so
    0xfffffd7ffc040000 /opt/local/jdk1.7.0_25/jre/lib/amd64/libnet.so
    0xfffffd7ffc020000 /opt/local/jdk1.7.0_25/jre/lib/amd64/libnio.so
    0xfffffd7ffeb20000 /usr/lib/amd64/librt.so.1
    0xfffffd7ffc000000 /usr/lib/amd64/libsendfile.so.1
    0xfffffd7ffdd30000 /home/test/srv/bdbxml.smartos_jdk7/lib/libdb_java-4.8.so
    0xfffffd7ffdb60000 /usr/lib/amd64/libresolv.so.2
    0xfffffd7ffeacd000 /usr/lib/amd64/libpthread.so.1
    0xfffffd7ffe630000 /usr/lib/amd64/libgcc_s.so.1
    0xfffffd7ffe220000 /home/test/srv/bdbxml.smartos_jdk7/lib/libdbxml_java-2.5.so
    0xfffffd7ffd950000 /home/test/srv/bdbxml/lib/libdb-4.8.so
    0xfffffd7fc0400000 /home/test/srv/bdbxml/lib/libxqilla.so.5
    0xfffffd7fc0000000 /home/test/srv/bdbxml/lib/libxerces-c-3.0.so
    0xfffffd7fbfc00000 /home/test/srv/bdbxml/lib/libdbxml-2.5.so
    0xfffffd7ff5280000 /usr/lib/amd64/libstdc++.so.6
    VM Arguments:
    jvm_args: -Xss2048k -Djava.library.path=/home/test/srv/bdbxml/lib:/home/test/bdb/lib:/usr/lib:/usr/local/lib:/lib:/usr/lib/amd64: -Djava.rmi.server.codebase=/home/test/srv/lib/dbxrmi.jar -Duka.karmi.config=/home/test/srv/adm/.karmi.property -Djava.rmi.server.hostname=test.gaoxiong -Djava.security.policy=/home/test/adm/DbxRMI.policy -Dlog4j.configuration=file:/home/test/adm/log4j.xml
    java_command: com.lightspoke.dbx.service.DbxRMIEngine
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=/opt/local/java
    PATH=/opt/local/java/bin:/home/test/srv/bdbxml/bin:/opt/local/java/bin:/home/test/srv/bdbxml/bin:/opt/local/java/bin:/home/test/srv/bdbxml/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/usr/sbin:/home/test/srv/bdbxml/bin:
    LD_LIBRARY_PATH=/home/test/srv/bdbxml/lib:/home/test/bdb/lib:/usr/lib:/usr/local/lib:/lib:/usr/lib/amd64:
    SHELL=/bin/bash
    Signal Handlers:
    SIGSEGV: [libjvm.so+0x11b37b4], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGBUS: [libjvm.so+0x11b37b4], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGFPE: [libjvm.so+0x53fc78], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGPIPE: [libjvm.so+0x53fc78], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGXFSZ: [libjvm.so+0x53fc78], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGILL: [libjvm.so+0x53fc78], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGUSR2: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGQUIT: [libjvm.so+0xff8ea8], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGHUP: [libjvm.so+0xff8ea8], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGINT: [libjvm.so+0xff8ea8], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGTERM: [libjvm.so+0xff8ea8], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIG39: [libjvm.so+0xffd27c], sa_mask[0]=0x00000000, sa_flags=0x00000008
    SIG40: [libjvm.so+0x53fc78], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    S Y S T E M
    OS: SmartOS x86_64
    Copyright 2010 Sun Microsystems, Inc. All Rights Reserved.
    Copyright 2010-2012 Joyent, Inc. All Rights Reserved.
    Use is subject to license terms.
    See uname -v for assembly date and time.
    uname:SunOS 5.11 joyent_20130530T224720Z i86pc
    (T2 libthread)
    rlimit: STACK 10240k, CORE infinity, NOFILE 65536, AS infinity
    load average:0.01 0.00 0.00
    CPU:total 8 (4 cores per cpu, 1 threads per core) family 6 model 15 stepping 11, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, tsc
    Memory: 4k page, physical 4194304k(4142372k free)
    vm_info: Java HotSpot(TM) 64-Bit Server VM (23.25-b01) for solaris-amd64 JRE (1.7.0_25-b15), built on Jun 5 2013 21:57:39 by "" with Sun Studio 12u1
    time: Tue Aug 6 01:12:44 2013
    elapsed time: 2 seconds

  • Error while running runcluvfy.sh(11g RAC on CentOS 5(RHEL 5))

    Oracle Version: 11G
    Operating System: Centos 5 (RHEL 5) : Linux centos51-rac-1 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:19:18 EDT 2009 i686 i686 i386 GNU/Linux
    Question (including full error messages and setup scripts where applicable):
    I am attempting to install oracle 11g in a RAC configuration with Centos 5 (redhat 5) as the operating system. I get the following error
    ERROR : Cannot Identify the operating system. Ensure that the correct software is being executed for this operating system
    Verification cannot complete
    I get this error message when I run runcluvfy.sh, to verify the my configuration is clusterable. I don't know why.
    I edited the /etc/redhat-release and entered echo "Red Hat Enterprise Linux AS release 4 (Nahant Update 7)" to attempt to fool the installer into thinking its red hat 4.
    But still shows the same message.
    Anyone knows how to fix this ?
    Please help me.

    http://www.idevelopment.info/data/Oracle/DBA_tips/Linux/LINUX_20.shtml
    runcluvfy.sh will not work on centos because the cluster verification utility checks the operating system version using the redhat-release packag and centos do this with his packages, so you must install and use redhat-release package
    Get rpm-build to be able to build rpm’s:
    [root@centos5 ~]# yum install rpm-build
    Get source rpm of redhat-release
    [root@centos5 ~]# wget ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/redhat-release-5Server-5.1.0.2.src.rpm
    Build package:
    [root@centos5 ~]# rpmbuild –rebuild redhat-release-5Server-5.1.0.2.src.rpm
    Install newly generated rpm:
    [root@centos5 ~]# rpm -Uvh –force /usr/src/redhat/RPMS/i386/redhat-release-5Server-5.1.0.2.i386.rpm

  • T440P Dual Boot Windows 8 with Centos 7

    So I have a T440p with Windows 8 installed. I have been trying to dual boot Centos 7 and also have attempted Centos 6.5. I have been using a bottable USB to perform the installation for both Centos 7 and 6.5.
    When I try the Centos 7 install, I set the boot priority to USB first on startup, and it goes to a screen that lists options to install, verify Centos 7 or troubleshoot. Upon selecting any of these options, everytime I get the error message:
    "alua: not attached"
    When attempting the Centos 6.5 Live DVD install, I try to boot into the Live mode, but it freezes in the process each time.
    I have heard about there being issues dual booting Windows 8 in UEFI mode with another Linux Distrobution.
    Has anyone here sucessfully dual-booted Centos or any other Linux Distrobution on a T440P?
    Any help/advice would be much appreciated.
    Thanks

    It's been many, many years since I don't do dual boot anymore. Don't find the reason to do it, either. Different kinds of virtualization should be enough. Anyway...
    dfw1417 wrote:
    It took over 2 days to figure out how to adjust the bios to get my win 7 pro DVD to boot and install dual boot on this GREAT MACHINE!!
    ENJOY! This is the BEST machine I ever had!
    WHICH machine?
    Cheers.
    If I helped you, please give me some kudos! ^^

  • Won't load php_oci8.dll: PHP5.2.1-dev, apache2.2.3, oracle10express on XP

    PROBLEM
    Unable to load php_oci8.dll: PHP5.2.1-dev, apache2.2.3, oracle10express on XP Home Edition with SP2.
    STEPS TO REPRODUCE
    1)
    Follow the procedure here: http://www.oracle.com/technology/tech/php/htdocs/inst_php_apache_windows.html
    using PHP5.2.1-dev, apache2.2.3, and oracle 10g express (the latest versions as of 11-08-06).
    2)
    Rename the PHP directory to C:\PHP5 and rename any references to in in php.ini and httpd.conf accordingly
    3)
    Restart Apache
    4)
    Use the test code for phpinfo.php to see if OCI is loaded (it won't be)
    5)
    Check Apache's error log and it will confirm that it could not load php_oci8.dll
    ADDITIONAL INFORMATION
    PHP.INI
    [PHP]
    ; About php.ini ;
    ; This file controls many aspects of PHP's behavior. In order for PHP to
    ; read it, it must be named 'php.ini'. PHP looks for it in the current
    ; working directory, in the path designated by the environment variable
    ; PHPRC, and in the path that was defined in compile time (in that order).
    ; Under Windows, the compile-time path is the Windows directory. The
    ; path in which the php.ini file is looked for can be overridden using
    ; the -c argument in command line mode.
    ; The syntax of the file is extremely simple. Whitespace and Lines
    ; beginning with a semicolon are silently ignored (as you probably guessed).
    ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ; they might mean something in the future.
    ; Directives are specified using the following syntax:
    ; directive = value
    ; Directive names are case sensitive - foo=bar is different from FOO=bar.
    ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
    ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ; | bitwise OR
    ; & bitwise AND
    ; ~ bitwise NOT
    ; ! boolean NOT
    ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ; They can be turned off using the values 0, Off, False or No.
    ; An empty string can be denoted by simply not writing anything after the equal
    ; sign, or by using the None keyword:
    ; foo = ; sets foo to an empty string
    ; foo = none ; sets foo to an empty string
    ; foo = "none" ; sets foo to the string 'none'
    ; If you use constants in your value, and these constants belong to a
    ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ; you may only use these constants after the line that loads the extension.
    ; About this file ;
    ; This is the recommended, PHP 5-style version of the php.ini-dist file. It
    ; sets some non standard settings, that make PHP more efficient, more secure,
    ; and encourage cleaner coding.
    ; The price is that with these settings, PHP may be incompatible with some
    ; applications, and sometimes, more difficult to develop with. Using this
    ; file is warmly recommended for production sites. As all of the changes from
    ; the standard settings are thoroughly documented, you can go over each one,
    ; and decide whether you want to use it or not.
    ; For general information about the php.ini file, please consult the php.ini-dist
    ; file, included in your PHP distribution.
    ; This file is different from the php.ini-dist file in the fact that it features
    ; different values for several directives, in order to improve performance, while
    ; possibly breaking compatibility with the standard out-of-the-box behavior of
    ; PHP. Please make sure you read what's different, and modify your scripts
    ; accordingly, if you decide to use this file instead.
    ; - register_long_arrays = Off [Performance]
    ; Disables registration of the older (and deprecated) long predefined array
    ; variables ($HTTP__VARS).  Instead, use the superglobals that were
    ; introduced in PHP 4.1.0
    ; - display_errors = Off [Security]
    ; With this directive set to off, errors that occur during the execution of
    ; scripts will no longer be displayed as a part of the script output, and thus,
    ; will no longer be exposed to remote users. With some errors, the error message
    ; content may expose information about your script, web server, or database
    ; server that may be exploitable for hacking. Production sites should have this
    ; directive set to off.
    ; - log_errors = On [Security]
    ; This directive complements the above one. Any errors that occur during the
    ; execution of your script will be logged (typically, to your server's error log,
    ; but can be configured in several ways). Along with setting display_errors to off,
    ; this setup gives you the ability to fully understand what may have gone wrong,
    ; without exposing any sensitive information to remote users.
    ; - output_buffering = 4096 [Performance]
    ; Set a 4KB output buffer. Enabling output buffering typically results in less
    ; writes, and sometimes less packets sent on the wire, which can often lead to
    ; better performance. The gain this directive actually yields greatly depends
    ; on which Web server you're working with, and what kind of scripts you're using.
    ; - register_argc_argv = Off [Performance]
    ; Disables registration of the somewhat redundant $argv and $argc global
    ; variables.
    ; - magic_quotes_gpc = Off [Performance]
    ; Input data is no longer escaped with slashes so that it can be sent into
    ; SQL databases without further manipulation. Instead, you should use the
    ; function addslashes() on each input element you wish to send to a database.
    ; - variables_order = "GPCS" [Performance]
    ; The environment variables are not hashed into the $_ENV. To access
    ; environment variables, you can use getenv() instead.
    ; - error_reporting = E_ALL [Code Cleanliness, Security(?)]
    ; By default, PHP suppresses errors of type E_NOTICE. These error messages
    ; are emitted for non-critical errors, but that could be a symptom of a bigger
    ; problem. Most notably, this will cause error messages about the use
    ; of uninitialized variables to be displayed.
    ; - allow_call_time_pass_reference = Off [Code cleanliness]
    ; It's not possible to decide to force a variable to be passed by reference
    ; when calling a function. The PHP 4 style to do this is by making the
    ; function require the relevant argument by reference.
    ; Language Options ;
    ; Enable the PHP scripting language engine under Apache.
    engine = On
    ; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
    zend.ze1_compatibility_mode = Off
    ; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
    ; NOTE: Using short tags should be avoided when developing applications or
    ; libraries that are meant for redistribution, or deployment on PHP
    ; servers which are not under your control, because short tags may not
    ; be supported on the target server. For portable, redistributable code,
    ; be sure not to use short tags.
    short_open_tag = Off
    ; Allow ASP-style <% %> tags.
    asp_tags = Off
    ; The number of significant digits displayed in floating point numbers.
    precision = 14
    ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
    y2k_compliance = On
    ; Output buffering allows you to send header lines (including cookies) even
    ; after you send body content, at the price of slowing PHP's output layer a
    ; bit. You can enable output buffering during runtime by calling the output
    ; buffering functions. You can also enable output buffering for all files by
    ; setting this directive to On. If you wish to limit the size of the buffer
    ; to a certain size - you can use a maximum number of bytes instead of 'On', as
    ; a value for this directive (e.g., output_buffering=4096).
    output_buffering = 4096
    ; You can redirect all of the output of your scripts to a function. For
    ; example, if you set output_handler to "mb_output_handler", character
    ; encoding will be transparently converted to the specified encoding.
    ; Setting any output handler automatically turns on output buffering.
    ; Note: People who wrote portable scripts should not depend on this ini
    ; directive. Instead, explicitly set the output handler using ob_start().
    ; Using this ini directive may cause problems unless you know what script
    ; is doing.
    ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ; Note: output_handler must be empty if this is set 'On' !!!!
    ; Instead you must use zlib.output_handler.
    ;output_handler =
    ; Transparent output compression using the zlib library
    ; Valid values for this option are 'off', 'on', or a specific buffer size
    ; to be used for compression (default is 4KB)
    ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ; outputs chunks that are few hundreds bytes each as a result of
    ; compression. If you prefer a larger chunk size for better
    ; performance, enable output_buffering in addition.
    ; Note: You need to use zlib.output_handler instead of the standard
    ; output_handler, or otherwise the output will be corrupted.
    zlib.output_compression = Off
    ;zlib.output_compression_level = -1
    ; You cannot specify additional output handlers if zlib.output_compression
    ; is activated here. This setting does the same as output_handler but in
    ; a different order.
    ;zlib.output_handler =
    ; Implicit flush tells PHP to tell the output layer to flush itself
    ; automatically after every output block. This is equivalent to calling the
    ; PHP function flush() after each and every call to print() or echo() and each
    ; and every HTML block. Turning this option on has serious performance
    ; implications and is generally recommended for debugging purposes only.
    implicit_flush = Off
    ; The unserialize callback function will be called (with the undefined class'
    ; name as parameter), if the unserializer finds an undefined class
    ; which should be instantiated.
    ; A warning appears if the specified function is not defined, or if the
    ; function doesn't include/implement the missing class.
    ; So only set this entry, if you really want to implement such a
    ; callback-function.
    unserialize_callback_func=
    ; When floats & doubles are serialized store serialize_precision significant
    ; digits after the floating point. The default value ensures that when floats
    ; are decoded with unserialize, the data will remain the same.
    serialize_precision = 100
    ; Whether to enable the ability to force arguments to be passed by reference
    ; at function call time. This method is deprecated and is likely to be
    ; unsupported in future versions of PHP/Zend. The encouraged method of
    ; specifying which arguments should be passed by reference is in the function
    ; declaration. You're encouraged to try and turn this option Off and make
    ; sure your scripts work properly with it in order to ensure they will work
    ; with future versions of the language (you will receive a warning each time
    ; you use this feature, and the argument will be passed by value instead of by
    ; reference).
    allow_call_time_pass_reference = Off
    ; Safe Mode
    safe_mode = Off
    ; By default, Safe Mode does a UID compare check when
    ; opening files. If you want to relax this to a GID compare,
    ; then turn on safe_mode_gid.
    safe_mode_gid = Off
    ; When safe_mode is on, UID/GID checks are bypassed when
    ; including files from this directory and its subdirectories.
    ; (directory must also be in include_path or full path must
    ; be used when including)
    safe_mode_include_dir =
    ; When safe_mode is on, only executables located in the safe_mode_exec_dir
    ; will be allowed to be executed via the exec family of functions.
    safe_mode_exec_dir =
    ; Setting certain environment variables may be a potential security breach.
    ; This directive contains a comma-delimited list of prefixes. In Safe Mode,
    ; the user may only alter environment variables whose names begin with the
    ; prefixes supplied here. By default, users will only be able to set
    ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
    ; Note: If this directive is empty, PHP will let the user modify ANY
    ; environment variable!
    safe_mode_allowed_env_vars = PHP_
    ; This directive contains a comma-delimited list of environment variables that
    ; the end user won't be able to change using putenv(). These variables will be
    ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
    safe_mode_protected_env_vars = LD_LIBRARY_PATH
    ; open_basedir, if set, limits all file operations to the defined directory
    ; and below. This directive makes most sense if used in a per-directory
    ; or per-virtualhost web server configuration file. This directive is
    ; NOT affected by whether Safe Mode is turned On or Off.
    ;open_basedir =
    ; This directive allows you to disable certain functions for security reasons.
    ; It receives a comma-delimited list of function names. This directive is
    ; NOT affected by whether Safe Mode is turned On or Off.
    disable_functions =
    ; This directive allows you to disable certain classes for security reasons.
    ; It receives a comma-delimited list of class names. This directive is
    ; NOT affected by whether Safe Mode is turned On or Off.
    disable_classes =
    ; Colors for Syntax Highlighting mode. Anything that's acceptable in
    ; <span style="color: ???????"> would work.
    ;highlight.string = #DD0000
    ;highlight.comment = #FF9900
    ;highlight.keyword = #007700
    ;highlight.bg = #FFFFFF
    ;highlight.default = #0000BB
    ;highlight.html = #000000
    ; If enabled, the request will be allowed to complete even if the user aborts
    ; the request. Consider enabling it if executing long request, which may end up
    ; being interrupted by the user or a browser timing out.
    ; ignore_user_abort = On
    ; Determines the size of the realpath cache to be used by PHP. This value should
    ; be increased on systems where PHP opens many files to reflect the quantity of
    ; the file operations performed.
    ; realpath_cache_size=16k
    ; Duration of time, in seconds for which to cache realpath information for a given
    ; file or directory. For systems with rarely changing files, consider increasing this
    ; value.
    ; realpath_cache_ttl=120
    ; Misc
    ; Decides whether PHP may expose the fact that it is installed on the server
    ; (e.g. by adding its signature to the Web server header). It is no security
    ; threat in any way, but it makes it possible to determine whether you use PHP
    ; on your server or not.
    expose_php = On
    ; Resource Limits ;
    max_execution_time = 30 ; Maximum execution time of each script, in seconds
    max_input_time = 60     ; Maximum amount of time each script may spend parsing request data
    memory_limit = 16M ; Maximum amount of memory a script may consume (16MB)
    ; Error handling and logging ;
    ; error_reporting is a bit-field. Or each number up to get desired error
    ; reporting level
    ; E_ALL - All errors and warnings (doesn't include E_STRICT)
    ; E_ERROR - fatal run-time errors
    ; E_RECOVERABLE_ERROR - almost fatal run-time errors
    ; E_WARNING - run-time warnings (non-fatal errors)
    ; E_PARSE - compile-time parse errors
    ; E_NOTICE - run-time notices (these are warnings which often result
    ; from a bug in your code, but it's possible that it was
    ; intentional (e.g., using an uninitialized variable and
    ; relying on the fact it's automatically initialized to an
    ; empty string)
    ; E_STRICT - run-time notices, enable to have PHP suggest changes
    ; to your code which will ensure the best interoperability
    ; and forward compatibility of your code
    ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
    ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
    ; initial startup
    ; E_COMPILE_ERROR - fatal compile-time errors
    ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ; E_USER_ERROR - user-generated error message
    ; E_USER_WARNING - user-generated warning message
    ; E_USER_NOTICE - user-generated notice message
    ; Examples:
    ; - Show all errors, except for notices and coding standards warnings
    ;error_reporting = E_ALL & ~E_NOTICE
    ; - Show all errors, except for notices
    ;error_reporting = E_ALL & ~E_NOTICE | E_STRICT
    ; - Show only errors
    ;error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
    ; - Show all errors, except coding standards warnings
    error_reporting = E_ALL
    ; Print out errors (as a part of the output). For production web sites,
    ; you're strongly encouraged to turn this feature off, and use error logging
    ; instead (see below). Keeping display_errors enabled on a production web site
    ; may reveal security information to end users, such as file paths on your Web
    ; server, your database schema or other information.
    display_errors = On
    ; Even when display_errors is on, errors that occur during PHP's startup
    ; sequence are not displayed. It's strongly recommended to keep
    ; display_startup_errors off, except for when debugging.
    display_startup_errors = Off
    ; Log errors into a log file (server-specific log, stderr, or error_log (below))
    ; As stated above, you're strongly advised to use error logging in place of
    ; error displaying on production web sites.
    log_errors = On
    ; Set maximum length of log_errors. In error_log information about the source is
    ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    log_errors_max_len = 1024
    ; Do not log repeated messages. Repeated errors must occur in same file on same
    ; line until ignore_repeated_source is set true.
    ignore_repeated_errors = Off
    ; Ignore source of message when ignoring repeated messages. When this setting
    ; is On you will not log errors with repeated messages from different files or
    ; source lines.
    ignore_repeated_source = Off
    ; If this parameter is set to Off, then memory leaks will not be shown (on
    ; stdout or in the log). This has only effect in a debug compile, and if
    ; error reporting includes E_WARNING in the allowed list
    report_memleaks = On
    ;report_zend_debug = 0
    ; Store the last error/warning message in $php_errormsg (boolean).
    track_errors = Off
    ; Disable the inclusion of HTML tags in error messages.
    ; Note: Never use this feature for production boxes.
    ;html_errors = Off
    ; If html_errors is set On PHP produces clickable error messages that direct
    ; to a page describing the error or function causing the error in detail.
    ; You can download a copy of the PHP manual from http://www.php.net/docs.php
    ; and change docref_root to the base URL of your local copy including the
    ; leading '/'. You must also specify the file extension being used including
    ; the dot.
    ; Note: Never use this feature for production boxes.
    ;docref_root = "/phpmanual/"
    ;docref_ext = .html
    ; String to output before an error message.
    ;error_prepend_string = "<font color=ff0000>"
    ; String to output after an error message.
    ;error_append_string = "</font>"
    ; Log errors to specified file.
    ;error_log = filename
    ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
    ;error_log = syslog
    ; Data Handling ;
    ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
    ; The separator used in PHP generated URLs to separate arguments.
    ; Default is "&".
    ;arg_separator.output = "&amp;"
    ; List of separator(s) used by PHP to parse input URLs into variables.
    ; Default is "&".
    ; NOTE: Every character in this directive is considered as separator!
    ;arg_separator.input = ";&"
    ; This directive describes the order in which PHP registers GET, POST, Cookie,
    ; Environment and Built-in variables (G, P, C, E & S respectively, often
    ; referred to as EGPCS or GPC). Registration is done from left to right, newer
    ; values override older values.
    variables_order = "GPCS"
    ; Whether or not to register the EGPCS variables as global variables. You may
    ; want to turn this off if you don't want to clutter your scripts' global scope
    ; with user data. This makes most sense when coupled with track_vars - in which
    ; case you can access all of the GPC variables through the $HTTP__VARS[],
    ; variables.
    ; You should do your best to write your scripts so that they do not require
    ; register_globals to be on; Using form variables as globals can easily lead
    ; to possible security problems, if the code is not very well thought of.
    register_globals = Off
    ; Whether or not to register the old-style input arrays, HTTP_GET_VARS
    ; and friends. If you're not using them, it's recommended to turn them off,
    ; for performance reasons.
    register_long_arrays = Off
    ; This directive tells PHP whether to declare the argv&argc variables (that
    ; would contain the GET information). If you don't use these variables, you
    ; should turn it off for increased performance.
    register_argc_argv = Off
    ; When enabled, the SERVER and ENV variables are created when they're first
    ; used (Just In Time) instead of when the script starts. If these variables
    ; are not used within a script, having this directive on will result in a
    ; performance gain. The PHP directives register_globals, register_long_arrays,
    ; and register_argc_argv must be disabled for this directive to have any affect.
    auto_globals_jit = On
    ; Maximum size of POST data that PHP will accept.
    post_max_size = 8M
    ; Magic quotes
    ; Magic quotes for incoming GET/POST/Cookie data.
    magic_quotes_gpc = Off
    ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
    magic_quotes_runtime = Off
    ; Use Sybase-style magic quotes (escape ' with '' instead of \').
    magic_quotes_sybase = Off
    ; Automatically add files before or after any PHP document.
    auto_prepend_file =
    auto_append_file =
    ; As of 4.0b4, PHP always outputs a character encoding by default in
    ; the Content-type: header. To disable sending of the charset, simply
    ; set it to be empty.
    ; PHP's built-in default is text/html
    default_mimetype = "text/html"
    ;default_charset = "iso-8859-1"
    ; Always populate the $HTTP_RAW_POST_DATA variable.
    ;always_populate_raw_post_data = On
    ; Paths and Directories ;
    ; UNIX: "/path1:/path2"
    ;include_path = ".:/php/includes"
    ; Windows: "\path1;\path2"
    ;include_path = ".;c:\php\includes"
    ; The root of the PHP pages, used only if nonempty.
    ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ; if you are running php as a CGI under any web server (other than IIS)
    ; see documentation for security issues. The alternate is to use the
    ; cgi.force_redirect configuration below
    doc_root =
    ; The directory under which PHP opens the script using /~username used only
    ; if nonempty.
    user_dir =
    ; Directory in which the loadable extensions (modules) reside.
    extension_dir = "C:\php5\ext"
    ; Whether or not to enable the dl() function. The dl() function does NOT work
    ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ; disabled on them.
    enable_dl = On
    ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ; most web servers. Left undefined, PHP turns this on by default. You can
    ; turn it off here AT YOUR OWN RISK
    ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ; cgi.force_redirect = 1
    ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ; every request.
    ; cgi.nph = 1
    ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ; will look for to know it is OK to continue execution. Setting this variable MAY
    ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ; cgi.redirect_status_env = ;
    ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ; security tokens of the calling client. This allows IIS to define the
    ; security context that the request runs under. mod_fastcgi under Apache
    ; does not currently support this feature (03/17/2002)
    ; Set to 1 if running under IIS. Default is zero.
    ; fastcgi.impersonate = 1;
    ; Disable logging through FastCGI connection
    ; fastcgi.log = 0
    ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
    ; is supported by Apache. When this option is set to 1 PHP will send
    ; RFC2616 compliant header.
    ; Default is zero.
    ;cgi.rfc2616_headers = 0
    ; File Uploads ;
    ; Whether to allow HTTP file uploads.
    file_uploads = On
    ; Temporary directory for HTTP uploaded files (will use system default if not
    ; specified).
    ;upload_tmp_dir =
    ; Maximum allowed size for uploaded files.
    upload_max_filesize = 2M
    ; Fopen wrappers ;
    ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    allow_url_fopen = On
    ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    allow_url_include = Off
    ; Define the anonymous ftp password (your email address)
    ;from="[email protected]"
    ; Define the User-Agent string
    ; user_agent="PHP"
    ; Default timeout for socket based streams (seconds)
    default_socket_timeout = 60
    ; If your scripts have to deal with files from Macintosh systems,
    ; or you are running on a Mac and need to deal with files from
    ; unix or win32 systems, setting this flag will cause PHP to
    ; automatically detect the EOL character in those files so that
    ; fgets() and file() will work regardless of the source of the file.
    ; auto_detect_line_endings = Off
    ; Dynamic Extensions ;
    ; If you wish to have an extension loaded automatically, use the following
    ; syntax:
    ; extension=modulename.extension
    ; For example, on Windows:
    ; extension=msql.dll
    ; ... or under UNIX:
    ; extension=msql.so
    ; Note that it should be the name of the module only; no directory information
    ; needs to go here. Specify the location of the extension with the
    ; extension_dir directive above.
    ; Windows Extensions
    ; Note that ODBC support is built in, so no dll is needed for it.
    ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    ; extension folders as well as the separate PECL DLL download (PHP 5).
    ; Be sure to appropriately set the extension_dir directive.
    ;extension=php_mbstring.dll
    ;extension=php_bz2.dll
    ;extension=php_curl.dll
    ;extension=php_dba.dll
    ;extension=php_dbase.dll
    ;extension=php_exif.dll
    ;extension=php_fdf.dll
    ;extension=php_filepro.dll
    ;extension=php_gd2.dll
    ;extension=php_gettext.dll
    ;extension=php_ifx.dll
    ;extension=php_imap.dll
    ;extension=php_interbase.dll
    ;extension=php_ldap.dll
    ;extension=php_mcrypt.dll
    ;extension=php_mhash.dll
    ;extension=php_mime_magic.dll
    ;extension=php_ming.dll
    ;extension=php_mssql.dll
    ;extension=php_msql.dll
    ;extension=php_mysql.dll
    extension=php_oci8.dll
    ;extension=php_openssl.dll
    ;extension=php_oracle.dll
    ;extension=php_pgsql.dll
    ;extension=php_shmop.dll
    ;extension=php_snmp.dll
    ;extension=php_sockets.dll
    ;extension=php_sqlite.dll
    ;extension=php_sybase_ct.dll
    ;extension=php_tidy.dll
    ;extension=php_xmlrpc.dll
    ;extension=php_xsl.dll
    ; Module Settings ;
    [Date]
    ; Defines the default timezone used by the date functions
    ;date.timezone =
    ;date.default_latitude = 31.7667
    ;date.default_longitude = 35.2333
    ;date.sunrise_zenith = 90.583333
    ;date.sunset_zenith = 90.583333
    [filter]
    ;filter.default = unsafe_raw
    ;filter.default_flags =
    [iconv]
    ;iconv.input_encoding = ISO-8859-1
    ;iconv.internal_encoding = ISO-8859-1
    ;iconv.output_encoding = ISO-8859-1
    [sqlite]
    ;sqlite.assoc_case = 0
    [xmlrpc]
    ;xmlrpc_error_number = 0
    ;xmlrpc_errors = 0
    [Pcre]
    ;pcre.recursion_limit=100000
    ;pcre.backtrack_limit=100000
    [Syslog]
    ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
    ; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In
    ; runtime, you can define these variables by calling define_syslog_variables().
    define_syslog_variables = Off
    [mail function]
    ; For Win32 only.
    SMTP = localhost
    smtp_port = 25
    ; For Win32 only.
    ;sendmail_from = [email protected]
    ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
    ;sendmail_path =
    ; Force the addition of the specified parameters to be passed as extra parameters
    ; to the sendmail binary. These parameters will always replace the value of
    ; the 5th parameter to mail(), even in safe mode.
    ;mail.force_extra_parameters =
    [SQL]
    sql.safe_mode = Off
    [ODBC]
    ;odbc.default_db = Not yet implemented
    ;odbc.default_user = Not yet implemented
    ;odbc.default_pw = Not yet implemented
    ; Allow or prevent persistent links.
    odbc.allow_persistent = On
    ; Check that a connection is still valid before reuse.
    odbc.check_persistent = On
    ; Maximum number of persistent links. -1 means no limit.
    odbc.max_persistent = -1
    ; Maximum number of links (persistent + non-persistent). -1 means no limit.
    odbc.max_links = -1
    ; Handling of LONG fields. Returns number of bytes to variables. 0 means
    ; passthru.
    odbc.defaultlrl = 4096
    ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
    ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ; of uodbc.defaultlrl and uodbc.defaultbinmode
    odbc.defaultbinmode = 1
    [MySQL]
    ; Allow or prevent persistent links.
    mysql.allow_persistent = On
    ; Maximum number of persistent links. -1 means no limit.
    mysql.max_persistent = -1
    ; Maximum number of links (persistent + non-persistent). -1 means no limit.
    mysql.max_links = -1
    ; Default port number for mysql_connect(). If unset, mysql_connect() will use
    ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
    ; at MYSQL_PORT.
    mysql.default_port =
    ; Default socket name for local MySQL connects. If empty, uses the built-in
    ; MySQL defaults.
    mysql.default_socket =
    ; Default host for mysql_connect() (doesn't apply in safe mode).
    mysql.default_host =
    ; Default user for mysql_connect() (doesn't apply in safe mode).
    mysql.default_user =
    ; Default password for mysql_connect() (doesn't apply in safe mode).
    ; Note that this is generally a bad idea to store passwords in this file.
    ; Any user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    ; and reveal this password! And of course, any users with read access to this
    ; file will be able to reveal the password as well.
    mysql.default_password =
    ; Maximum time (in seconds) for connect timeout. -1 means no limit
    mysql.connect_timeout = 60
    ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    ; SQL-Errors will be displayed.
    mysql.trace_mode = Off
    [MySQLi]
    ; Maximum number of links. -1 means no limit.
    mysqli.max_links = -1
    ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
    ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
    ; at MYSQL_PORT.
    mysqli.default_port = 3306
    ; Default socket name for local MySQL connects. If empty, uses the built-in
    ; MySQL defaults.
    mysqli.default_socket =
    ; Default host for mysql_connect() (doesn't apply in safe mode).
    mysqli.default_host =
    ; Default user for mysql_connect() (doesn't apply in safe mode).
    mysqli.default_user =
    ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ; Note that this is generally a bad idea to store passwords in this file.
    ; Any user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ; and reveal this password! And of course, any users with read access to this
    ; file will be able to reveal the password as well.
    mysqli.default_pw =
    ; Allow or prevent reconnect
    mysqli.reconnect = Off
    [mSQL]
    ; Allow or prevent persistent links.
    msql.allow_persistent = On
    ; Maximum number of persistent links. -1 means no limit.
    msql.max_persistent = -1
    ; Maximum number of links (persistent+non persistent). -1 means no limit.
    msql.max_links = -1
    [PostgresSQL]
    ; Allow or prevent persistent links.
    pgsql.allow_persistent = On
    ; Detect broken persistent links always with pg_pconnect().
    ; Auto reset feature requires a little overheads.
    pgsql.auto_reset_persistent = Off
    ; Maximum number of persistent links. -1 means no limit.
    pgsql.max_persistent = -1
    ; Maximum number of links (persistent+non persistent). -1 means no limit.
    pgsql.max_links = -1
    ; Ignore PostgreSQL backends Notice message or not.
    ; Notice message logging require a little overheads.
    pgsql.ignore_notice = 0
    ; Log PostgreSQL backends Noitce message or not.
    ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    pgsql.log_notice = 0
    [Sybase]
    ; Allow or prevent persistent links.
    sybase.allow_persistent = On
    ; Maximum number of persistent links. -1 means no limit.
    sybase.max_persistent = -1
    ; Maximum number of links (persistent + non-persistent). -1 means no limit.
    sybase.max_links = -1
    ;sybase.interface_file = "/usr/sybase/interfaces"
    ; Minimum error severity to display.
    sybase.min_error_severity = 10
    ; Minimum message severity to display.
    sybase.min_message_severity = 10
    ; Compatibility mode with old versions of PHP 3.0.
    ; If on, this will cause PHP to automatically assign types to results according
    ; to their Sybase type, instead of treating them all as strings. This
    ; compatibility mode will probably not stay around forever, so try applying
    ; whatever necessary changes to your code, and turn it off.
    sybase.compatability_mode = Off
    [Sybase-CT]
    ; Allow or prevent persistent links.
    sybct.allow_persistent = On
    ; Maximum number of persistent links. -1 means no limit.
    sybct.max_persistent = -1
    ; Maximum number of links (persistent + non-persistent). -1 means no limit.
    sybct.max_links = -1
    ; Minimum server message severity to display.
    sybct.min_server_severity = 10
    ; Minimum client message severity to display.
    sybct.min_client_severity = 10
    [bcmath]
    ; Number of decimal digits for all bcmath functions.
    bcmath.scale = 0
    [browscap]
    ;browscap = extra/browscap.ini
    [Informix]
    ; Default host for ifx_connect() (doesn't apply in safe mode).
    ifx.default_host =
    ; Default user for ifx_connect() (doesn't apply in safe mode).
    ifx.default_user =
    ; Default password for ifx_connect() (doesn't apply in safe mode).
    ifx.default_password =
    ; Allow or prevent persistent links.
    ifx.allow_persistent = On
    ; Maximum number of persistent links. -1 means no limit.
    ifx.max_persistent = -1
    ; Maximum number of links (persistent + non-persistent). -1 means no limit.
    ifx.max_links = -1
    ; If on, select statements return the contents of a text blob instead of its id.
    ifx.textasvarchar = 0
    ; If on, select statements return the contents of a byte blob instead of its id.
    ifx.byteasvarchar = 0
    ; Trailing blanks are stripped from fixed-length char columns. May help the
    ; life of Informix SE users.
    ifx.charasvarchar = 0
    ; If on, the contents of text and byte blobs are dumped to a file instead of
    ; keeping them in memory.
    ifx.blobinfile = 0
    ; NULL's are returned as empty strings, unless this is set to 1. In that case,
    ; NULL's are returned as string 'NULL'.
    ifx.nullformat = 0
    [Session]
    ; Handler used to store/retrieve data.
    session.save_handler = files
    ; Argument passed to save_handler. In the case of files, this is the path
    ; where data files are stored. Note: Windows users have to change this
    ; variable in order to use PHP's session functions.
    ; As of PHP 4.0.1, you can define the path as:
    ; session.save_path = "N;/path"
    ; where N is an integer. Instead of storing all the session files in
    ; /path, what this will do is use subdirectories N-levels deep, and
    ; store the session data in those directories. This is useful if you
    ; or your OS have problems with lots of files in one directory, and is
    ; a more efficient layout for servers that handle lots of sessions.
    ; NOTE 1: PHP will not create this directory structure automatically.
    ; You can use the script in the ext/session dir for that purpose.
    ; NOTE 2: See the section on garbage collection below if you choose to
    ; use subdirectories for session storage
    ; The file storage module creates files using mode 600 by default.
    ; You can change that by using
    ; session.save_path = "N;MODE;/path"
    ; where MODE is the octal representation of the mode. Note that this
    ; does not overwrite the process's umask.
    ;session.save_path = "/tmp"
    ; Whether to use cookies.
    session.use_cookies = 1
    ;session.cookie_secure =
    ; This option enables administrators to make their users invulnerable to
    ; attacks which involve passing session ids in URLs; defaults to 0.
    ; session.use_only_cookies = 1
    ; Name of the session (used as cookie name).
    session.name = PHPSESSID
    ; Initialize session on request startup.
    session.auto_start = 0
    ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    session.cookie_lifetime = 0
    ; The path for which the cookie is valid.
    session.cookie_path = /
    ; The domain for which the cookie is valid.
    session.cookie_domain =
    ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    session.cookie_httponly =
    ; Handler used to serialize data. php is the standard serializer of PHP.
    session.serialize_handler = php
    ; Define the probability that the 'garbage collection' process is started
    ; on every session initialization.
    ; The probability is calculated by using gc_probability/gc_divisor,
    ; e.g. 1/100 means there is a 1% chance that the GC process starts
    ; on each request.
    session.gc_probability = 1
    session.gc_divisor = 1000
    ; After this number of seconds, stored data will be seen as 'garbage' and
    ; cleaned up by the garbage collection process.
    session.gc_maxlifetime = 1440
    ; NOTE: If you are using the subdirectory option for storing session files
    ; (see session.save_path above), then garbage collection does not
    ; happen automatically. You will need to do your own garbage
    ; collection through a shell script, cron entry, or some other method.
    ; For example, the following script would is the equivalent of
    ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ; cd /path/to/sessions; find -cmin +24 | xargs rm
    ; PHP 4.2 and less have an undocumented feature/bug that allows you to
    ; to initialize a session variable in the global scope, albeit register_globals
    ; is disabled. PHP 4.3 and later will warn you, if this feature is used.
    ; You can disable the feature and the warning separately. At this time,
    ; the warning is only displayed, if bug_compat_42 is enabled.
    session.bug_compat_42 = 0
    session.bug_compat_warn = 1
    ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ; HTTP_REFERER has to contain this substring for the session to be
    ; considered as valid.
    session.referer_check =
    ; How many bytes to read from the file.
    session.entropy_length = 0
    ; Specified here to create the session id.
    session.entropy_file =
    ;session.entropy_length = 16
    ;session.entropy_file = /dev/urandom
    ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ; or leave this empty to avoid sending anti-caching headers.
    session.cache_limiter = nocache
    ; Document expires after n minutes.
    session.cache_expire = 180
    ; trans sid support is disabled by default.
    ; Use of trans sid may risk your users security.
    ; Use this option with caution.
    ; - User may send URL contains active session ID
    ; to other person via. email/irc/etc.
    ; - URL that contains active session ID may be stored
    ; in publically accessible computer.
    ; - User may access your site with the same session ID
    ; always using URL stored in browser's history or bookmarks.
    session.use_trans_sid = 0
    ; Select a hash function
    ; 0: MD5 (128 bits)
    ; 1: SHA-1 (160 bits)
    session.hash_function = 0
    ; Define how many bits are stored in each character when converting
    ; the binary hash data to something readable.
    ; 4 bits: 0-9, a-f
    ; 5 bits: 0-9, a-v
    ; 6 bits: 0-9, a-z, A-Z, "-", ","
    session.hash_bits_per_character = 5
    ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ; form/fieldset are special; if you include them here, the rewriter will
    ; add a hidden <input> field with the info which is otherwise appended
    ; to URLs. If you want XHTML conformity, remove the form entry.
    ; Note that all valid entries require a "=", even if no value follows.
    url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    [MSSQL]
    ; Allow or prevent persistent links.
    mssql.allow_persistent = On
    ; Maximum number of persistent links. -1 means no limit.
    mssql.max_persistent = -1
    ; Maximum number of links (persistent+non persistent). -1 means no limit.
    mssql.max_links = -1
    ; Minimum error severity to display.
    mssql.min_error_severity = 10
    ; Minimum message severity to display.
    mssql.min_message_severity = 10
    ; Compatibility mode with old versions of PHP 3.0.
    mssql.compatability_mode = Off
    ; Connect timeout
    ;mssql.connect_timeout = 5
    ; Query timeout
    ;mssql.timeout = 60
    ; Valid range 0 - 2147483647. Default = 4096.
    ;mssql.textlimit = 4096
    ; Valid range 0 - 2147483647. Default = 4096.
    ;mssql.textsize = 4096
    ; Limits the number of records in each batch. 0 = all records in one batch.
    ;mssql.batchsize = 0
    ; Specify how datetime and datetim4 columns are returned
    ; On => Returns data converted to SQL server settings
    ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    ;mssql.datetimeconvert = On
    ; Use NT authentication when connecting to the server
    mssql.secure_connection = Off
    ; Specify max number of processes. -1 = library default
    ; msdlib defaults to 25
    ; FreeTDS defaults to 4096
    ;mssql.max_procs = -1
    ; Specify client character set.
    ; If empty or not set the client charset from freetds.comf is used
    ; This is only used when compiled with FreeTDS
    ;mssql.charset = "ISO-8859-1"
    [Assertion]
    ; Assert(expr); active by default.
    ;assert.active = On
    ; Issue a PHP warning for each failed assertion.
    ;assert.warning = On
    ; Don't bail out by default.
    ;assert.bail = Off
    ; User-function to be called if an assertion fails.
    ;assert.callback = 0
    ; Eval the expression with current error_reporting(). Set to true if you want
    ; error_reporting(0) around the eval().
    ;assert.quiet_eval = 0
    [COM]
    ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ;com.typelib_file =
    ; allow Distributed-COM calls
    ;com.allow_dcom = true
    ; autoregister constants of a components typlib on com_load()
    ;com.autoregister_typelib = true
    ; register constants casesensitive
    ;com.autoregister_casesensitive = false
    ; show warnings on duplicate constant registrations
    ;com.autoregister_verbose = true
    [mbstring]
    ; language for internal character representation.
    ;mbstring.language = Japanese
    ; internal/script encoding.
    ; Some encoding cannot work as internal encoding.
    ; (e.g. SJIS, BIG5, ISO-2022-*)
    ;mbstring.internal_encoding = EUC-JP
    ; http input encoding.
    ;mbstring.http_input = auto
    ; http output encoding. mb_output_handler must be
    ; registered as output buffer to function
    ;mbstring.http_output = SJIS
    ; enable automatic encoding translation according to
    ; mbstring.internal_encoding setting. Input chars are
    ; converted to internal encoding by setting this to On.
    ; Note: Do not use automatic encoding translation for
    ; portable libs/applications.
    ;mbstring.encoding_translation = Off
    ; automatic encoding detection order.
    ; auto means
    ;mbstring.detect_order = auto
    ; substitute_character used when character cannot be converted
    ; one from another
    ;mbstring.substitute_character = none;
    ; overload(replace) single byte functions by mbstring functions.
    ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ; etc. Possible values are 0,1,2,4 or combination of them.
    ; For example, 7 for overload everything.
    ; 0: No overload
    ; 1: Overload mail() function
    ; 2: Overload str*() functions
    ; 4: Overload ereg*() functions
    ;mbstring.func_overload = 0
    ; enable strict encoding detection.
    ;mbstring.strict_encoding = Off
    [FrontBase]
    ;fbsql.allow_persistent = On
    ;fbsql.autocommit = On
    ;fbsql.show_timestamp_decimals = Off
    ;fbsql.default_database =
    ;fbsql.default_database_password =
    ;fbsql.default_host =
    ;fbsql.default_password =
    ;fbsql.default_user = "_SYSTEM"
    ;fbsql.generate_warnings = Off
    ;fbsql.max_connections = 128
    ;fbsql.max_links = 128
    ;fbsql.max_persistent = -1
    ;fbsql.max_results = 128
    [gd]
    ; Tell the jpeg decode to libjpeg warnings and try to create
    ; a gd image. The warning will then be displayed as notices
    ; disabled by default
    ;gd.jpeg_ignore_warning = 0
    [exif]
    ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ; With mbstring support this will automatically be converted into the encoding
    ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ; is used. For the decode settings you can distinguish between motorola and
    ; intel byte order. A decode setting cannot be empty.
    ;exif.encode_unicode = ISO-8859-15
    ;exif.decode_unicode_motorola = UCS-2BE
    ;exif.decode_unicode_intel = UCS-2LE
    ;exif.encode_jis =
    ;exif.decode_jis_motorola = JIS
    ;exif.decode_jis_intel = JIS
    [Tidy]
    ; The path to a default tidy configuration file to use when using tidy
    ;tidy.default_config = /usr/local/lib/php/default.tcfg
    ; Should tidy clean and repair output automatically?
    ; WARNING: Do not use this option if you are generating non-html content
    ; such as dynamic images
    tidy.clean_output = Off
    [soap]
    ; Enables or disables WSDL caching feature.
    soap.wsdl_cache_enabled=1
    ; Sets the directory name where SOAP extension will put cache files.
    soap.wsdl_cache_dir="/tmp"
    ; (time to live) Sets the number of second while cached file will be used
    ; instead of original one.
    soap.wsdl_cache_ttl=86400
    ; Local Variables:
    ; tab-width: 4
    ; End:
    HTTPD.CONF
    # This is the main Apache HTTP server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.2/> for detailed information.
    # In particular, see
    # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
    # for a discussion of each configuration directive.
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path. If the filenames do not begin
    # with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
    # with ServerRoot set to "C:/Program Files/Apache Software Foundation/Apache2.2" will be interpreted by the
    # server as "C:/Program Files/Apache Software Foundation/Apache2.2/logs/foo.log".
    # NOTE: Where filenames are specified, you must use forward slashes
    # instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
    # If a drive letter is omitted, the drive on which Apache.exe is located
    # will be used by default. It is recommended that you always supply
    # an explicit drive letter in absolute paths, however, to avoid
    # confusion.
    # ThreadsPerChild: constant number of worker threads in the server process
    # MaxRequestsPerChild: maximum number of requests a server process serves
    ThreadsPerChild 250
    MaxRequestsPerChild 0
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    # Do not add a slash at the end of the directory path. If you point
    # ServerRoot at a non-local disk, be sure to point the LockFile directive
    # at a local disk. If you wish to share the same ServerRoot for multiple
    # httpd daemons, you will need to change at least LockFile and PidFile.
    ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2"
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
    #Listen 12.34.56.78:80
    Listen 80
    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available before they are used.
    # Statically compiled modules (those listed by `httpd -l') do not need
    # to be loaded here.
    # Example:
    # LoadModule foo_module modules/mod_foo.so
    LoadModule actions_module modules/mod_actions.so
    LoadModule alias_module modules/mod_alias.so
    LoadModule asis_module modules/mod_asis.so
    LoadModule auth_basic_module modules/mod_auth_basic.so
    #LoadModule auth_digest_module modules/mod_auth_digest.so
    #LoadModule authn_anon_module modules/mod_authn_anon.so
    #LoadModule authn_dbm_module modules/mod_authn_dbm.so
    LoadModule authn_default_module modules/mod_authn_default.so
    LoadModule authn_file_module modules/mod_authn_file.so
    #LoadModule authz_dbm_module modules/mod_authz_dbm.so
    LoadModule authz_default_module modules/mod_authz_default.so
    LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
    LoadModule authz_host_module modules/mod_authz_host.so
    LoadModule authz_user_module modules/mod_authz_user.so
    LoadModule autoindex_module modules/mod_autoindex.so
    #LoadModule cern_meta_module modules/mod_cern_meta.so
    LoadModule cgi_module modules/mod_cgi.so
    #LoadModule dav_module modules/mod_dav.so
    #LoadModule dav_fs_module modules/mod_dav_fs.so
    #LoadModule deflate_module modules/mod_deflate.so
    LoadModule dir_module modules/mod_dir.so
    LoadModule env_module modules/mod_env.so
    #LoadModule expires_module modules/mod_expires.so
    #LoadModule file_cache_module modules/mod_file_cache.so
    #LoadModule headers_module modules/mod_headers.so
    LoadModule imagemap_module modules/mod_imagemap.so
    LoadModule include_module modules/mod_include.so
    #LoadModule info_module modules/mod_info.so
    LoadModule isapi_module modules/mod_isapi.so
    LoadModule log_config_module modules/mod_log_config.so
    LoadModule mime_module modules/mod_mime.so
    #LoadModule mime_magic_module modules/mod_mime_magic.so
    #LoadModule proxy_module modules/mod_proxy.so
    #LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    #LoadModule proxy_connect_module modules/mod_proxy_connect.so
    #LoadModule proxy_http_module modules/mod_proxy_http.so
    #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    LoadModule negotiation_module modules/mod_negotiation.so
    #LoadModule rewrite_module modules/mod_rewrite.so
    LoadModule setenvif_module modules/mod_setenvif.so
    #LoadModule speling_module modules/mod_speling.so
    #LoadModule status_module modules/mod_status.so
    #LoadModule unique_id_module modules/mod_unique_id.so
    LoadModule userdir_module modules/mod_userdir.so
    #LoadModule usertrack_module modules/mod_usertrack.so
    #LoadModule vhost_alias_module modules/mod_vhost_alias.so
    #LoadModule ssl_module modules/mod_ssl.so
    # 'Main' server configuration
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition. These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed. This address appears on some server-generated pages, such
    # as error documents. e.g. [email protected]
    ServerAdmin admin@local
    # ServerName gives the name and port that the server uses to identify itself.
    # This can often be determined automatically, but we recommend you specify
    # it explicitly to prevent problems during startup.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    ServerName mp-dev.local:80
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    # First, we configure the "default" to be a very restrictive set of
    # features.
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    Satisfy all
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs">
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    # Note that "MultiViews" must be named explicitly --- "Options All"
    # doesn't give it to you.
    # The Options directive is both complicated and important. Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    Options Indexes FollowSymLinks
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    AllowOverride None
    # Controls who can get stuff from this server.
    Order allow,deny
    Allow from all
    </Directory>
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    <IfModule dir_module>
    DirectoryIndex index.html
    </IfModule>
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    <FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    </FilesMatch>
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here. If you do define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    ErrorLog logs/error.log
    # LogLevel: Control the number of messages logged to the error_log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    <IfModule log_config_module>
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    <IfModule logio_module>
    # You need to enable mod_logio.c to use %I and %O
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here. Contrariwise, if you do
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and not in this file.
    CustomLog logs/access.log common
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #CustomLog logs/access.log combined
    </IfModule>
    <IfModule alias_module>
    # Redirect: Allows you to tell clients about documents that used to
    # exist in your server's namespace, but do not anymore. The client
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://mp-dev.local/bar
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL. You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client. The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    ScriptAlias /cgi-bin/ "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/"
    </IfModule>
    # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    <Directory "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    # Apache parses all CGI scripts for the shebang line by default.
    # This comment line, the first line of the script, consists of the symbols
    # pound (#) and exclamation (!) followed by the path of the program that
    # can execute this specific script. For a perl script, with perl.exe in
    # the C:\Program Files\Perl directory, the shebang line should be:
    #!c:/program files/perl/perl
    # Note you mustnot_ indent the actual shebang line, and it must be the
    # first line of the file. Of course, CGI processing must be enabled by
    # the appropriate ScriptAlias or Options ExecCGI directives for the files
    # or directory in question.
    # However, Apache on Windows allows either the Unix behavior above, or can
    # use the Registry to match files by extention. The command to execute
    # a file of this type is retrieved from the registry by the same method as
    # the Windows Explorer would use to handle double-clicking on a file.
    # These script actions can be configured from the Windows Explorer View menu,
    # 'Folder Options', and reviewing the 'File Types' tab. Clicking the Edit
    # button allows you to modify the Actions, of which Apache 1.3 attempts to
    # perform the 'Open' Action, and failing that it will try the shebang line.
    # This behavior is subject to change in Apache release 2.0.
    # Each mechanism has it's own specific security weaknesses, from the means
    # to run a program you didn't intend the website owner to invoke, and the
    # best method is a matter of great debate.
    # To enable the this Windows specific behavior (and therefore -disable-

    Does the ext directory have the php_oci8.dll? In the original steps the PHP dir is renamed. In the given php.in the extension_dir looks like it has been updated correctly. Since PHP distributes php_oci8.dll by default I reckon there would be a very good chance that the problem was somewhere else. Since this is an old thread I don't think we'll get much value from speculation.
    -- cj

  • Can not see the design view nor the java file in CentOS

    Hi all. I've recently installed JSC2 in CentOS. I find this tool really useful. But I have a problem with the design view and the java file view. At the beginning, when I first create a Page1.jsp, I can see the design view and the java view with no problem. I run apps correctly. But after a while, I get a "null pointer exception" error and I am able to see only the jsp view, not the others. I don't even have the option to see the Design and Java views. And the page icon in the project window appears to be darker than a well working page. I'm not really sure what sequence of actions I do to get this error, it just suddenly happens. What I've done so far in JSC2 is to link to pages in the Page Navigation view. It works fine for a while, but after a while I get the error I've described.

    Yes, if I do that It happens the same. I've tried everything. Now I'm using Window$ 2000 and it works properly. Thanks anyway.

  • Application not working on CentOS platform...

    Hi,
    I have created an application in Java1.5. I am also using swingX library for Hyperlink control. I have tested my application on various platform i.e. windows xp, Fedora, Ubantu. Its working fine. But this is not working on CentOS v5 platform. I got the following error.
    [root@localhost MyApplication]# ./MyApplication.sh
    JarClassLoader: Warning: Unable to load native library: java.lang.NullPointerException
    JarClassLoader: Warning: Unable to load native library: java.lang.NullPointerException
    JarClassLoader: Warning: Unable to load native library: java.lang.NullPointerException
    JarClassLoader: Warning: Unable to load native library: java.lang.NullPointerException
    UIDefaults.getUIError: failed to locate UI class:HyperlinkUI
    Any suggestion on this.

    Looks like I'll have to use either an InfoMessage, or a Popup to display a message.

  • SunRay 4.1 installation problem on Centos 5.2

    Dear Expert,
    when i run command utinstall on linux centos 5.2, i got error and cannot proceed. Do you know what is the problem?
    ========================
    +++ SUNWutgsm-4.1-50.i386.rpm
    +++ SUNWutref-4.1-50.i386.rpm
    +++ SUNWlibusbut-4.1-50.i386.rpm
    error: Failed dependencies:
    libglib-1.2.so.0 is needed by SUNWlibusbut-4.1-50.i386
    SunRayCore: error, Sun Ray Server Software not successfully installed
    utinstall: fatal, error in the module M09SunRayCore (event Install).
    =============
    However the glib is installed.
    # rpm -q glib
    glib-1.2.10-20.el5
    Thanks,
    Angus

    Hi,
    It doesn't work. Any hints. Pls hlep . Thanks.
    snippet from /var/log/utinstall.2009_11_04_16:31:27.log
    ============
    Installing Sun Ray Server Software version 4.2 ...
    +++ SUNWuti-4.2-49.i386.rpm
    +++ SUNWuto-4.2-49.i386.rpm
    /var/tmp/rpm-tmp.20465: line 17: print: command not found
    error: %post(SUNWuto-4.2-49.i386) scriptlet failed, exit status 1
    +++ SUNWutfw-4.2-49.i386.rpm
    +++ SUNWutr-4.2-49.i386.rpm
    +++ SUNWutu-4.2-49.i386.rpm
    +++ SUNWuta-4.2-49.i386.rpm
    +++ SUNWutsto-4.2-49.i386.rpm
    +++ SUNWutstr-4.2-49.i386.rpm
    +++ SUNWutps-4.2-49.i386.rpm
    +++ SUNWutkau-4.2-49.i386.rpm
    +++ Making and installing Sun Ray Audio module ...
    rm -rf .tmp_versions *.cmd *.ko *.o *.mod.c .*.cmd
    make -C /lib/modules/2.6.18-92.1.22.el5xen/build SUBDIRS=/usr/src/SUNWut/utadem modules
    make[1]: Entering directory `/usr/src/kernels/2.6.18-92.1.22.el5-xen-x86_64'
    CC [M] /usr/src/SUNWut/utadem/utadem.o
    Building modules, stage 2.
    MODPOST
    CC /usr/src/SUNWut/utadem/utadem.mod.o
    LD [M] /usr/src/SUNWut/utadem/utadem.ko
    make[1]: Leaving directory `/usr/src/kernels/2.6.18-92.1.22.el5-xen-x86_64'
    install -d /lib/modules/2.6.18-92.1.22.el5xen/misc
    install -c utadem.ko /lib/modules/2.6.18-92.1.22.el5xen/misc
    +++ Done.
    +++ SUNWutio-4.2-49.i386.rpm
    +++ Making and installing Sun Ray UTIO module ...
    rm -rf .tmp_versions *.cmd *.ko *.o *.mod.c .*.cmd
    make -C /lib/modules/2.6.18-92.1.22.el5xen/build SUBDIRS=/usr/src/SUNWut/utio modules
    make[1]: Entering directory `/usr/src/kernels/2.6.18-92.1.22.el5-xen-x86_64'
    CC [M] /usr/src/SUNWut/utio/utio.o
    Building modules, stage 2.
    MODPOST
    CC /usr/src/SUNWut/utio/utio.mod.o
    LD [M] /usr/src/SUNWut/utio/utio.ko
    make[1]: Leaving directory `/usr/src/kernels/2.6.18-92.1.22.el5-xen-x86_64'
    install -d /lib/modules/2.6.18-92.1.22.el5xen/misc
    install -c utio.ko /lib/modules/2.6.18-92.1.22.el5xen/misc
    +++ Done.
    +++ SUNWutdsk-4.2-49.i386.rpm
    +++ Making and installing Sun Ray Mass Storage modules ...
    rm -rf .tmp_versions *.cmd *.ko *.o *.mod.c .*.cmd
    make -C /lib/modules/2.6.18-92.1.22.el5xen/build SUBDIRS=/usr/src/SUNWut/utdisk modules
    make[1]: Entering directory `/usr/src/kernels/2.6.18-92.1.22.el5-xen-x86_64'
    CC [M] /usr/src/SUNWut/utdisk/utdisk.o
    CC [M] /usr/src/SUNWut/utdisk/utdiskctl.o
    Building modules, stage 2.
    MODPOST
    CC /usr/src/SUNWut/utdisk/utdisk.mod.o
    LD [M] /usr/src/SUNWut/utdisk/utdisk.ko
    CC /usr/src/SUNWut/utdisk/utdiskctl.mod.o
    LD [M] /usr/src/SUNWut/utdisk/utdiskctl.ko
    make[1]: Leaving directory `/usr/src/kernels/2.6.18-92.1.22.el5-xen-x86_64'
    install -d /lib/modules/2.6.18-92.1.22.el5xen/misc
    install -c utdisk.ko utdiskctl.ko /lib/modules/2.6.18-92.1.22.el5xen/misc
    +++ Done.
    +++ SUNWutgsm-4.2-49.i386.rpm
    +++ SUNWutref-4.2-49.i386.rpm
    +++ SUNWlibusbut-4.2-49.i386.rpm
    SunRayCore: error, Sun Ray Server Software not successfully installed
    utinstall: fatal, error in the module M09SunRayCore (event Install).
    =========

  • CentOS-4.2-x86_64

    I have an installation problem with CentOS-4.2-x86_64 on my Compaq computer. I get an error during installation which means I do get the local-disk driver bundled up with the this release of the OS for my Compaq PC. Here is the error message:
    An error has occurred; no valid devices were found on which to create new file systems. Please check your hardware for the cause of this problem.
    BTW, I don't have this problem when I install Centos4.4 as the drive gets recognized and partitioning gets underway; but I must use Centos4.2 for firewire driver reasons, which Cenots4.4 does not have... so, it's a catch-22 problem...
    Any help or suggestions will be greatly appreciated!
    Vil

    Hi Jer:
    I am not sure how to make a driver disk. Where would be my source for drivers, what would the driver be called, and how would I install the driver?
    I have all four iso images that I burned into a CD and that's all I have (CentOS 4.2 64 bit).
    I know for a fact that because my hardware is brand new and came with a serial hard drive (ATA), and, apparently, VenOS 4.2 supports/has drivers for IDE drives (older drive technology) alone. The question is where to get and incorporate driver for ATA drives
    into 4.2 -- Centos 4.4 has the driver, and I must stick to 4.2.
    Thx,
    Vil

  • Installation Problem on CentOS

    Hello guys,
    i am using an Centos 6.2 linux with installed oracle-xe. I have installed it from an rpm.
    I use always the default settings.
    After that i could start it normal and successful connect to apex.
    Now i want to create an database user.
    I connect as sysdba: sqlplus "sys as sysdba" and enter the password.
    The message: "Connect to an idle instance" comes.
    If i try: "CREATE USER HTS IDENTIFIED BY pw1;" the error ora-01034 occurred.
    If i try: "startup" the error ora-01078 and lrm-00109: could not open parameter file '/u01/app/oracle/prodcut/11.2.0/xe/dbs/initxe.ora' occurred.
    I have read a lot but i don't see the solution for my problem.
    Has anyone an idea?

    bladepit wrote:
    Hello guys,
    i am using an Centos 6.2 linux with installed oracle-xe. I have installed it from an rpm.
    I use always the default settings.
    After that i could start it normal and successful connect to apex.
    Now i want to create an database user.
    I connect as sysdba: sqlplus "sys as sysdba" and enter the password.
    The message: "Connect to an idle instance" comes.this tells that your database is not started.
    If i try: "CREATE USER HTS IDENTIFIED BY pw1;" the error ora-01034 occurred.
    If i try: "startup" the error ora-01078 and lrm-00109: could not open parameter file '/u01/app/oracle/prodcut/11.2.0/xe/dbs/initxe.ora' occurred.Have you checked this path if the parameter file actually exists?
    I have read a lot but i don't see the solution for my problem.
    Has anyone an idea?

  • Php5.2.5 not working with apache2.2.8 on solaris 9

    <html
    <body lang=EN-US style='tab-interval:.5in'>
    <div class=Section1>
    <p class=MsoNormal><span class=GramE>hi !</span><o:p></o:p></p>
    <p class=MsoNormal>I have compiled (without any problems) PHP5.2.5 AND
    apache2.2.8 with oci8 support, and apache shows the php5 module loaded but for
    some reason my <span class=SpellE>php</span> pages are not showing up , can you
    see what I am missing ? <o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=GramE>thanks</span><o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=GramE>all</span> below is done as root<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal>1) <span class=GramE>compile</span> apache2<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=SpellE><span class=GramE>cd</span></span> /opt/<span
    class=SpellE>staging_apache</span><o:p></o:p></p>
    <p class=MsoNormal><span class=SpellE><span class=GramE>untar</span></span>
    http_2.2.80.tar<o:p></o:p></p>
    <p class=MsoNormal><span class=SpellE><span class=GramE>cd</span></span>
    /opt/staging_apache/http_2.2.80<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=GramE>./</span>configure --prefix=/<span
    class=SpellE>usr</span>/local/apache --enable-module=so<span
    style='mso-spacerun:yes'>    </span>&lt;&lt;&lt; no errors<span
    style='mso-spacerun:yes'>  </span>here <o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=GramE>make</span> <o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=GramE>make</span> install<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal>2) <span class=GramE>compile</span> php5<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=SpellE><span class=GramE>cd</span></span> /opt/<span
    class=SpellE>staging_php</span><o:p></o:p></p>
    <p class=MsoNormal><span class=SpellE><span class=GramE>untar</span></span>
    php-5.2.5.tar<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=SpellE><span class=GramE>cd</span></span>
    /opt/staging_php/php-5.2.5<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal>-- define the following <span class=SpellE>logicals</span>. <o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'>       </span><o:p></o:p></p>
    <p class=MsoNormal>ORACLE_HOME=/u03/oracle/10203<o:p></o:p></p>
    <p class=MsoNormal><span class=GramE>export</span> ORACLE_HOME<o:p></o:p></p>
    <p class=MsoNormal>LIBPATH=$LIBPATH<span class=GramE>:$</span>ORACLE_HOME/lib<o:p></o:p></p>
    <p class=MsoNormal><span class=GramE>export</span> LIBPATH<o:p></o:p></p>
    <p class=MsoNormal>LD_LIBRARY_PATH=$ORACLE_HOME/<span class=SpellE>lib<span
    class=GramE>:$</span>ORACLE_HOME/rdbms/lib</span><o:p></o:p></p>
    <p class=MsoNormal><span class=GramE>export</span> LD_LIBRARY_PATH<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal>Invoking <span class=GramE>configure</span>:<o:p></o:p></p>
    <p class=MsoNormal>-------------------<o:p></o:p></p>
    <p class=MsoNormal>CFLAGS=&quot;$CFLAGS -DHAVE_LONG_LONG&quot;<o:p></o:p></p>
    <p class=MsoNormal><span class=GramE>export</span> CFLAGS<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=GramE>./</span>configure<span
    style='mso-spacerun:yes'>  </span>\<o:p></o:p></p>
    <p class=MsoNormal>--with-apxs2=/<span class=SpellE>usr/local/apache/bin/apxs</span>
    \<o:p></o:p></p>
    <p class=MsoNormal>--with-<span class=SpellE>ldap</span> \<o:p></o:p></p>
    <p class=MsoNormal>--with-oracle=/u03/oracle/10203 \<o:p></o:p></p>
    <p class=MsoNormal>--with-oci8=/u03/oracle/10203 \<o:p></o:p></p>
    <p class=MsoNormal>--with-<span class=SpellE>config</span>-file-path=/<span
    class=SpellE>usr/local/apache/php</span> \<o:p></o:p></p>
    <p class=MsoNormal>--prefix=/<span class=SpellE>usr/local/apache/php</span> \<o:p></o:p></p>
    <p class=MsoNormal>--without-<span class=SpellE>mysql</span><o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal>Thank you for using PHP.<span style='mso-spacerun:yes'>    
    </span>&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; <span
    class=SpellE><span class=GramE>php</span></span> compiled fine <o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal>Notice: Following unknown configure options were used:<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal>--with-oracle=/u03/oracle/10203<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal>Check '<span class=GramE>./</span>configure --help' for available
    options<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=GramE>make</span><o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=GramE>make</span> install<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=GramE># ./</span><span class=SpellE>httpd</span>
    -l<o:p></o:p></p>
    <p class=MsoNormal>Compiled in modules:<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'>  </span><span class=SpellE>core.c</span><o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'>  </span><span class=SpellE>prefork.c</span><o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'>  </span><span class=SpellE>http_core.c</span><o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'>  </span><span class=SpellE>mod_so.c</span><o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal>-- <span class=GramE>in</span> case of error otherwise not
    needed.<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal># <span class=SpellE><span class=GramE>httpd</span></span>
    -M<o:p></o:p></p>
    <p class=MsoNormal>Loaded Modules:<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>core_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>authn_file_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>authn_default_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>authz_host_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>authz_groupfile_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>authz_user_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>authz_default_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>auth_basic_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>include_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>filter_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>log_config_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>env_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>setenvif_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>mpm_prefork_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>http_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>mime_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>status_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>autoindex_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>asis_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>cgi_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>negotiation_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>dir_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>actions_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>userdir_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>alias_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span><span class=SpellE>so_module</span>
    (static)<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-spacerun:yes'> </span>php5_module
    (shared)<span style='mso-spacerun:yes'>  
    </span>&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;
    php5 module is loaded<o:p></o:p></p>
    <p class=MsoNormal>Syntax OK<o:p></o:p></p>
    <p class=MsoNormal># <span class=GramE>which</span> <span class=SpellE>httpd</span><o:p></o:p></p>
    <p class=MsoNormal>/<span class=SpellE>usr/local/apache/bin/httpd</span><o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal>&lt;<span class=GramE>html</span>&gt;<o:p></o:p></p>
    <p class=MsoNormal>&lt;<span class=GramE>head</span>&gt;<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:1'>            </span>&lt;<span
    class=GramE>title&gt;</span>PHP Test&lt;/title&gt;<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:1'>            </span>&lt;<span
    class=GramE>meta</span> http-equiv=&quot;Content-Type&quot;
    content=&quot;text/html; <span class=SpellE>charset</span>=ISO-8859-1&quot;&gt;<o:p></o:p></p>
    <p class=MsoNormal>&lt;/head&gt;<o:p></o:p></p>
    <p class=MsoNormal>&lt;<span class=GramE>body</span>&gt;<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:1'>            </span>&lt;h1&gt;PHP
    Test&lt;/h1&gt;<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:1'>            </span>&lt;p&gt;<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:1'>            </span>&lt;b&gt;An
    Example of PHP in Action&lt;/b&gt;&lt;<span class=SpellE>br</span> /&gt;<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:2'>                        </span><span
    class=GramE>&lt;?<span class=SpellE>php</span></span> echo &quot;The Current
    Date and Time is: &lt;<span class=SpellE>br</span>&gt;&quot;;<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:3'>                                    </span><span
    class=GramE>echo</span> date(&quot;<span class=SpellE>g:i</span> A l, F j
    Y.&quot;);?&gt;<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:1'>            </span>&lt;/p&gt;<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:1'>            </span>&lt;h2&gt;PHP
    Information&lt;/h2&gt;<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:1'>            </span>&lt;p&gt;<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:2'>                        </span><span
    class=GramE>&lt;?<span class=SpellE>php</span></span> <span class=SpellE>phpinfo</span>();
    ?&gt;<o:p></o:p></p>
    <p class=MsoNormal><span style='mso-tab-count:1'>            </span>&lt;/p&gt;<o:p></o:p></p>
    <p class=MsoNormal>&lt;/body&gt;<o:p></o:p></p>
    <p class=MsoNormal>&lt;/html&gt;<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=GramE>does</span> not give the <span
    class=SpellE>phpinfo</span> page.</p>
    </div>
    </body>
    </html>

    hi I got the php working and now can see the php pages, after i put the extensions=oci8.so .
    but the oci8 is not enabled still cause phpinfo is not showing it and i cant use oci8 calls and get an error.
    so iam trying to recompile apache with openssl and other options but its failing .
    its looking for files in /opt/apache2 directory where as I am installing it in /usr/local/apache .
    Making all in prefork
    find: cannot open /opt/apache2/httpd-2.2.8/include/ap_compat.h: No such file or
    directory
    find: cannot open /opt/apache2/httpd-2.2.8/include/ap_config_auto.h: No such fil
    e or directory
    find: cannot open /opt/apache2/httpd-2.2.8/include/ap_config.h: No such file or
    directory
    find: cannot open /opt/apache2/httpd-2.2.8/include/ap_config_layout.h: No such f
    ile or directory
    find: cannot open /opt/apache2/httpd-2.2.8/include/ap_listen.h: No such file or
    directory
    find: cannot open /opt/apache2/httpd-2.2.8/include/ap_mmn.h: No such file or dir
    ectory
    find: cannot open /opt/apache2/httpd-2.2.8/include/ap_mpm.h: No such file or dir
    ectory
    find: cannot open /opt/apache2/httpd-2.2.8/include/ap_provider.h: No such file o
    r directory
    find: cannot open /opt/apache2/httpd-2.2.8/include/ap_regex.h: No such file or d
    irectory
    find: cannot open /opt/apache2/httpd-2.2.8/include/ap_regkey.h: No such file or
    directory
    find: cannot open /opt/apache2/httpd-2.2.8/include/ap_release.h: No such file or
    directory
    find: cannot open /opt/apache2/httpd-2.2.8/include/http_config.h: No such file o
    r directory
    find: cannot open /opt/apache2/httpd-2.2.8/include/http_connection.h: No such fi
    le or directory
    find: cannot open /opt/apache2/httpd-2.2.8/include/http_core.h: No such file or
    directory

  • Problem with examples in dbxml 2.4.13

    I downloaded a time ago dbxml 2.4.13 for windows (msi file) I tried to compile the helloworld example. That went fine, but when I run it, I it get always a memory exception problem.
    Unhandled exception at 0x7c812aeb in dbxmltest.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x0012f188..
    It does not matter if I run in debug or release configuration, I alway get this error at the very first call to the lib at line with
    XmlManager mgr;
    Has anyone a clue what I did wrong here? Maybe I build it wrong ?
    My compile flags are :
    /Od /I "C:\Program Files\Oracle\Berkeley DB XML 2.4.13\include" /D "_MBCS" /Gm /EHsc /RTC1 /MDd /Fo"Debug\\" /Fd"Debug\vc90.pdb" /W3 /nologo /c /ZI /TP /errorReport:prompt
    My linking flags are:
    /OUT:"X:\dbxmltest\dbxmltest\Debug\dbxmltest.exe" /NOLOGO /LIBPATH:"C:\Program Files\Oracle\Berkeley DB XML 2.4.13\lib" /MANIFEST /MANIFESTFILE:"Debug\dbxmltest.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"x:\dbxmltest\dbxmltest\Debug\dbxmltest.pdb" /DYNAMICBASE /NXCOMPAT /MACHINE:X86 /ERRORREPORT:PROMPT libdbxml24.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
    The output window is :
    'dbxmltest.exe': Loaded 'X:\dbxmltest\dbxmltest\Debug\dbxmltest.exe', Symbols loaded.
    'dbxmltest.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll'
    'dbxmltest.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll'
    'dbxmltest.exe': Loaded 'C:\Program Files\Oracle\Berkeley DB XML 2.4.13\bin\libdbxml24.dll', Symbols loaded.
    'dbxmltest.exe': Loaded 'C:\Program Files\Oracle\Berkeley DB XML 2.4.13\bin\libdb46.dll', Symbols loaded.
    'dbxmltest.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll'
    'dbxmltest.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll'
    'dbxmltest.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll'
    'dbxmltest.exe': Loaded 'C:\WINDOWS\system32\secur32.dll'
    'dbxmltest.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll'
    'dbxmltest.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll'
    'dbxmltest.exe': Loaded 'C:\WINDOWS\system32\msvcr71.dll'
    'dbxmltest.exe': Loaded 'C:\WINDOWS\system32\msvcp71.dll'
    'dbxmltest.exe': Loaded 'C:\Program Files\Oracle\Berkeley DB XML 2.4.13\bin\xqilla21.dll', Symbols loaded.
    'dbxmltest.exe': Loaded 'C:\Program Files\Oracle\Berkeley DB XML 2.4.13\bin\xerces-c_2_8.dll'
    'dbxmltest.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_f863c71f\msvcp90d.dll'
    'dbxmltest.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_f863c71f\msvcr90d.dll'
    'dbxmltest.exe': Loaded 'C:\Norman\Nvc\Bin\Niphk.dll', Binary was not built with debug information.
    'dbxmltest.exe': Loaded 'C:\WINDOWS\system32\user32.dll'
    'dbxmltest.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll'
    'dbxmltest.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll'
    'dbxmltest.exe': Loaded 'C:\WINDOWS\system32\ole32.dll'
    'dbxmltest.exe': Loaded 'C:\WINDOWS\system32\imm32.dll'
    'dbxmltest.exe': Loaded 'C:\WINDOWS\system32\ntmarta.dll'
    'dbxmltest.exe': Loaded 'C:\WINDOWS\system32\samlib.dll'
    'dbxmltest.exe': Loaded 'C:\WINDOWS\system32\wldap32.dll'
    'dbxmltest.exe': Loaded 'C:\WINDOWS\system32\winsta.dll'
    'dbxmltest.exe': Loaded 'C:\WINDOWS\system32\netapi32.dll'
    HEAP[dbxmltest.exe]: Invalid Address specified to RtlFreeHeap( 003E0000, 100D5740 )
    Windows has triggered a breakpoint in dbxmltest.exe.
    This may be due to a corruption of the heap, which indicates a bug in dbxmltest.exe or any of the DLLs it has loaded.
    This may also be due to the user pressing F12 while dbxmltest.exe has focus.
    The output window may have more diagnostic information.
    I hope anyone can help me, thanks

    Thanks for the quick reply.
    I am already in the building process. But I have another problem now. I took the latest source files from the site (2.4.16) and followed the instructions at http://www.oracle.com/technology/documentation/berkeley-db/xml/ref_xml/xml_win/intro.html
    I follow the instructions in section : Building with Microsoft Visual Studio 2008 and Visual C++ 2008 Express Edition because I use the express edition.
    But when compiling XercesLib There is a strange error which I cannot find a solution for.
    1>Base64.cpp
    1>Generating Code...
    1>Compiling resources...
    1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
    1>Copyright (C) Microsoft Corporation. All rights reserved.
    1>..\..\..\..\..\src\xercesc\util\Platforms\Win32\Version.rc(10) : fatal error RC1015: cannot open include file 'winres.h'.
    1>Build log was saved at "file://x:\dbxml-2.4.16\xerces-c-src\Build\Win32\VC8\Debug\obj\BuildLog.htm"
    1>XercesLib - 1 error(s), 9 warning(s)
    ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
    Is it not possible to compile the latest version with Visual C++ 2008 Express Edition ?

Maybe you are looking for

  • Error while rendering: Export file not found - what to do?

    Hi, I have been editing my video in four different premiere pro projects (as I got adviced to do from these forums because it's AVCHD clips). I have rendered these four projects and burned to four DVD's (total playtime is around 1.5hours) - which is

  • OEM - do I need a license for home use?

    Guys I installed Oracle 10.1 on Solaris 10 x86. Whenever I try to load http://localhost:5500/em, I get a permission denied error. 01. This is for home use (learning). Do I need a license? Thanks in advance

  • ALE Conversion rules not processed

    Hi all, I defined some conversion rules for an inbound IDoc with trascation BD79 in my backend system. If I send an IDoc from XI to the backend system the rules are ignored: Status 64 No filters , <b>No conversion</b> , No version change . If I try t

  • Compiler installation

    Hi I'm quite new to solaris and I need to generate some executables on my Solaris 9 box using make files. In the make file I've the compiler set as follow "CC = cc" I tried to use /usr/ucb/cc but doesn't work then I've installed gcc 3.3.2 and use it

  • Users are not importing from BW to bobj

    Hi Experts, I am working on bobj 4.0 and bw 7.0 i am facing an issue while importing users from bw .i can import roles but i can not  see the users .In Bw the roles have users but when i import them to bobj  i can see only roles but not users ?????