FC4 And PHP5.0.4

Date: 06/26/05

  • Next message: AG: "Re: SCSI Tape Drive - Power On Swap"
    Date: 26 Jun 2005 03:03:34 -0700

    Hey everyone. I have serveral questions concerning my current
    installation of FC4. Specifically they relate to the installation of
    PHP (5.0.4). Previous to FC4 I was running Mandrake 10.1. While using
    Mandrake I developed several PHP scripts, which at the time appeared to
    work correctly (with the exception of my own programming errors). Now
    however I find that these scripts do not work.

    When I look within my /etc/httpd/error_log file I see the following

    [client] PHP Notice: Undefined index: page in
    /var/www/html/HockeyStats/game_entry.php on line 24
    [client] PHP Notice: Undefined index: team in
    /var/www/html/HockeyStats/game_entry.php on line 28
    [client] PHP Fatal error: Class 'DomDocument' not found in
    /var/www/html/HockeyStats/game_entry.php on line 55

    After having seen the error concerning the DomDocument object I quickly
    checked my php_info() and found the following configure information :

    './configure' '--build=i386-redhat-linux' '--host=i386-redhat-linux'
    '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr'
    '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
    '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include'
    '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var'
    '--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
    '--infodir=/usr/share/info' '--cache-file=../config.cache'
    '--with-libdir=lib' '--with-config-file-path=/etc'
    '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic'
    '--disable-rpath' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin'
    '--with-freetype-dir=/usr' '--with-png-dir=/usr'
    '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp'
    '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png'
    '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr'
    '--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-pear=/usr/share/pear' '--with-kerberos'
    '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr'
    '--enable-memory-limit' '--enable-shmop' '--enable-calendar'
    '--enable-dbx' '--enable-dio'
    '--with-mime-magic=/usr/share/file/magic.mime' '--without-sqlite'
    '--with-libxml-dir=/usr' '--with-xml' '--with-apxs2=/usr/sbin/apxs'
    '--without-mysql' '--without-gd' '--without-odbc' '--disable-dom'

    So, my questions are:

    1) Does the '--disable-dom' indicate that the xml's DomDocument object
    was not compiled into this "default" rpm?

    2) If so what is the best way to go about making my php installation
    DomDocument-able? Compile from source? Compile a new rpm (of which I
    have no idea how to do)?

    Thank you in advance for your help.


  • Next message: AG: "Re: SCSI Tape Drive - Power On Swap"