FC4 And PHP5.0.4

shaun_bramley_at_videotron.ca
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
    lines:

    [client 192.168.1.5] PHP Notice: Undefined index: page in
    /var/www/html/HockeyStats/game_entry.php on line 24
    [client 192.168.1.5] PHP Notice: Undefined index: team in
    /var/www/html/HockeyStats/game_entry.php on line 28
    [client 192.168.1.5] 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'
    '--disable-dba'

    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.

    Shaun


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

    Relevant Pages

    • php-4.3.4-Win + Apache2 + XP
      ... I am completely new to PHP and am finding installation the most ... I am doing a manualinstall of PHP. ... I have put DLLs in various places so that they "can ... Is it the Apache2 server? ...
      (alt.php)
    • php-4.3.4-Win + Apache2 + XP
      ... I am completely new to PHP and am finding installation the most ... I am doing a manualinstall of PHP. ... I have put DLLs in various places so that they "can ... Is it the Apache2 server? ...
      (comp.lang.php)
    • Re: [PHP] Is the GD module standard?
      ... I have been using the imagepng() function in my local testing ... I hadn't done any customization to my PHP set ... I went with the default set of installation options that Ubuntu ... Recently, I uploaded my site to a web hosting server, and the CAPTCHA ...
      (php.general)
    • Re: Problems with a new install
      ... I can get pages to be served by the installation, but what I'd also like to do is get PHPMyAdmin working. ... When I try to login to the PMA using a user/pass defined in the MySQL database, I get no error messages, but it just reloads the login page. ... When I try to run through the various buttons for the setup utility, it creates a zero-byte config.inc.php file in the config folder, and never shows anything more than the buttons on the page. ... I've given the IUSR_machinename account privileges to all the PHP folders, as well as the temp folder. ...
      (comp.lang.php)
    • Is the GD module standard?
      ... At first, I didn't understand that it was a module issue, because I thought the imagepng() function was standard in PHP. ... So my assumption that imagepngwill be available on any standard installation of PHP is wrong. ... Is it that my web hosting server is lacking in what can be expected for standard PHP features? ...
      (php.general)